feat: add p-rec-update plant 3d 2026 slice
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup><TargetFramework>net8.0</TargetFramework></PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,63 @@
|
||||
namespace PRecUpdate.Core;
|
||||
|
||||
public enum UpdateOperation
|
||||
{
|
||||
ProjectNkr,
|
||||
Flanges,
|
||||
Fasteners,
|
||||
ProjectSpec
|
||||
}
|
||||
|
||||
public enum UpdateExecutionMode
|
||||
{
|
||||
DryRun,
|
||||
Apply
|
||||
}
|
||||
|
||||
public sealed record UpdateRequest(
|
||||
bool HasActiveDocument,
|
||||
bool HasPlantProject,
|
||||
bool HasPipingProjectPart,
|
||||
IReadOnlySet<UpdateOperation> SelectedOperations,
|
||||
UpdateExecutionMode Mode,
|
||||
bool ControlledFixturePermit);
|
||||
|
||||
public sealed record UpdatePlan(
|
||||
bool Accepted,
|
||||
IReadOnlyList<UpdateOperation> Operations,
|
||||
IReadOnlyList<string> Diagnostics,
|
||||
bool MayWriteDrawing,
|
||||
bool MayWriteProjectData);
|
||||
|
||||
/// <summary>
|
||||
/// Source-backed planner for the four operations exposed by legacy P_Rec_Update.
|
||||
/// It intentionally contains no Autodesk calls or file writes, which makes the
|
||||
/// safety decision deterministic before a Plant transaction can be opened.
|
||||
/// </summary>
|
||||
public sealed class UpdatePlanBuilder
|
||||
{
|
||||
private static readonly UpdateOperation[] CanonicalOrder =
|
||||
[
|
||||
UpdateOperation.ProjectNkr,
|
||||
UpdateOperation.Flanges,
|
||||
UpdateOperation.Fasteners,
|
||||
UpdateOperation.ProjectSpec
|
||||
];
|
||||
|
||||
public UpdatePlan Build(UpdateRequest request)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(request);
|
||||
var diagnostics = new List<string>();
|
||||
if (!request.HasActiveDocument) diagnostics.Add("ACTIVE_DOCUMENT_REQUIRED");
|
||||
if (!request.HasPlantProject) diagnostics.Add("PLANT_PROJECT_REQUIRED");
|
||||
if (!request.HasPipingProjectPart) diagnostics.Add("PIPING_PROJECT_PART_REQUIRED");
|
||||
if (request.SelectedOperations.Count == 0) diagnostics.Add("UPDATE_OPERATION_REQUIRED");
|
||||
if (request.Mode == UpdateExecutionMode.Apply && !request.ControlledFixturePermit)
|
||||
diagnostics.Add("CONTROLLED_FIXTURE_PERMIT_REQUIRED");
|
||||
|
||||
var ordered = CanonicalOrder.Where(request.SelectedOperations.Contains).ToArray();
|
||||
var accepted = diagnostics.Count == 0;
|
||||
var apply = accepted && request.Mode == UpdateExecutionMode.Apply;
|
||||
return new UpdatePlan(accepted, ordered, diagnostics, apply, apply);
|
||||
}
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v8.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v8.0": {
|
||||
"PRecUpdate.Core/1.0.0": {
|
||||
"runtime": {
|
||||
"PRecUpdate.Core.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"PRecUpdate.Core/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
+67
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Core\\PRecUpdate.Core.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Core\\PRecUpdate.Core.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Core\\PRecUpdate.Core.csproj",
|
||||
"projectName": "PRecUpdate.Core",
|
||||
"projectPath": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Core\\PRecUpdate.Core.csproj",
|
||||
"packagesPath": "C:\\Users\\codex\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Core\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\codex\\AppData\\Roaming\\NuGet\\NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net8.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"allWarningsAsErrors": true,
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.423/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\codex\.nuget\packages\</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.2</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\codex\.nuget\packages\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("PRecUpdate.Core")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+c3ac183fffdbd353bfd96d3e55dfff47a661ec3a")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("PRecUpdate.Core")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("PRecUpdate.Core")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Создано классом WriteCodeFragment MSBuild.
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
b1da87f62c7b368fff25a5954a14ff14663487226d61f622919049edf0e601a6
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net8.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = PRecUpdate.Core
|
||||
build_property.ProjectDir = C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Core\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// <auto-generated/>
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.IO;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Net.Http;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
||||
BIN
Binary file not shown.
+1
@@ -0,0 +1 @@
|
||||
931d275faafb744847074b374703e1d3240d36011f3689a71b6a95fc5a6a0502
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Core\bin\Release\net8.0\PRecUpdate.Core.deps.json
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Core\bin\Release\net8.0\PRecUpdate.Core.dll
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Core\bin\Release\net8.0\PRecUpdate.Core.pdb
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Core\obj\Release\net8.0\PRecUpdate.Core.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Core\obj\Release\net8.0\PRecUpdate.Core.AssemblyInfoInputs.cache
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Core\obj\Release\net8.0\PRecUpdate.Core.AssemblyInfo.cs
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Core\obj\Release\net8.0\PRecUpdate.Core.csproj.CoreCompileInputs.cache
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Core\obj\Release\net8.0\PRecUpdate.Core.dll
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Core\obj\Release\net8.0\refint\PRecUpdate.Core.dll
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Core\obj\Release\net8.0\PRecUpdate.Core.pdb
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Core\obj\Release\net8.0\ref\PRecUpdate.Core.dll
|
||||
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net8.0": {}
|
||||
},
|
||||
"libraries": {},
|
||||
"projectFileDependencyGroups": {
|
||||
"net8.0": []
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\codex\\.nuget\\packages\\": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Core\\PRecUpdate.Core.csproj",
|
||||
"projectName": "PRecUpdate.Core",
|
||||
"projectPath": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Core\\PRecUpdate.Core.csproj",
|
||||
"packagesPath": "C:\\Users\\codex\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Core\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\codex\\AppData\\Roaming\\NuGet\\NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net8.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"allWarningsAsErrors": true,
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.423/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "BnSucAuYJHU=",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Core\\PRecUpdate.Core.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
using Autodesk.AutoCAD.Runtime;
|
||||
|
||||
[assembly: CommandClass(typeof(PRecUpdate.Plant3D2026.EntryPoint))]
|
||||
@@ -0,0 +1,49 @@
|
||||
using Autodesk.AutoCAD.ApplicationServices;
|
||||
using Autodesk.AutoCAD.Runtime;
|
||||
using PRecUpdate.Core;
|
||||
using AcadApplication = Autodesk.AutoCAD.ApplicationServices.Application;
|
||||
|
||||
namespace PRecUpdate.Plant3D2026;
|
||||
|
||||
public sealed class EntryPoint : IExtensionApplication
|
||||
{
|
||||
public void Initialize()
|
||||
{
|
||||
RuntimeMarker.Write("AssemblyInitializeStarted");
|
||||
RuntimeMarker.Write("AssemblyInitializeCompleted");
|
||||
}
|
||||
|
||||
public void Terminate() => RuntimeMarker.Write("AssemblyTerminateCompleted");
|
||||
|
||||
// Preserves the legacy command name. Apply remains denied unless a future
|
||||
// controlled fixture adapter proves the legacy Plant/DataLinks semantics.
|
||||
[CommandMethod("P-R-UPD", CommandFlags.Session)]
|
||||
public void UpdateCommand() => ReportPlan("P-R-UPD");
|
||||
|
||||
[CommandMethod("P-R-UPD-STATUS", CommandFlags.Session)]
|
||||
public void StatusCommand() => ReportPlan("P-R-UPD-STATUS");
|
||||
|
||||
private static void ReportPlan(string command)
|
||||
{
|
||||
var document = AcadApplication.DocumentManager.MdiActiveDocument;
|
||||
var plan = new UpdatePlanBuilder().Build(new UpdateRequest(
|
||||
document is not null,
|
||||
HasPlantProject(),
|
||||
HasPlantProject(),
|
||||
new HashSet<UpdateOperation>
|
||||
{
|
||||
UpdateOperation.ProjectNkr, UpdateOperation.Flanges,
|
||||
UpdateOperation.Fasteners, UpdateOperation.ProjectSpec
|
||||
},
|
||||
UpdateExecutionMode.DryRun,
|
||||
ControlledFixturePermit: false));
|
||||
document?.Editor.WriteMessage($"\nP_Rec_Update {command}: {(plan.Accepted ? "DryRun planned; no project data changed." : string.Join(", ", plan.Diagnostics))}");
|
||||
RuntimeMarker.Write(plan.Accepted ? "CommandRegistrationVerified" : "CommandPreflightRejected");
|
||||
}
|
||||
|
||||
private static bool HasPlantProject()
|
||||
{
|
||||
try { return Autodesk.ProcessPower.PlantInstance.PlantApplication.CurrentProject is not null; }
|
||||
catch { return false; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0-windows</TargetFramework><PlatformTarget>x64</PlatformTarget>
|
||||
<AssemblyName>PRecUpdate.Plant3D2026</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<ItemGroup><ProjectReference Include="..\PRecUpdate.Core\PRecUpdate.Core.csproj" /></ItemGroup>
|
||||
<ItemGroup Condition="Exists('$(AutoCAD2026ManagedDir)')">
|
||||
<Reference Include="AcMgd"><HintPath>$(AutoCAD2026ManagedDir)\AcMgd.dll</HintPath><Private>false</Private><CopyLocal>false</CopyLocal></Reference>
|
||||
<Reference Include="AcDbMgd"><HintPath>$(AutoCAD2026ManagedDir)\AcDbMgd.dll</HintPath><Private>false</Private><CopyLocal>false</CopyLocal></Reference>
|
||||
<Reference Include="AcCoreMgd"><HintPath>$(AutoCAD2026ManagedDir)\AcCoreMgd.dll</HintPath><Private>false</Private><CopyLocal>false</CopyLocal></Reference>
|
||||
<Reference Include="PnPProjectManagerMgd" Condition="Exists('$(Plant3D2026ManagedDir)\PnPProjectManagerMgd.dll')"><HintPath>$(Plant3D2026ManagedDir)\PnPProjectManagerMgd.dll</HintPath><Private>false</Private><CopyLocal>false</CopyLocal></Reference>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,27 @@
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
|
||||
namespace PRecUpdate.Plant3D2026;
|
||||
|
||||
internal static class RuntimeMarker
|
||||
{
|
||||
internal static void Write(string state)
|
||||
{
|
||||
var root = Environment.GetEnvironmentVariable("P_REC_UPDATE_MARKER_ROOT");
|
||||
if (string.IsNullOrWhiteSpace(root)) return;
|
||||
try
|
||||
{
|
||||
Directory.CreateDirectory(root);
|
||||
var payload = $"{DateTimeOffset.UtcNow:O}|{state}|{typeof(EntryPoint).Assembly.GetName().Name}";
|
||||
File.WriteAllText(Path.Combine(root, state + ".marker"), payload, new UTF8Encoding(false));
|
||||
}
|
||||
catch { /* Evidence cannot make Plant initialization fail. */ }
|
||||
}
|
||||
|
||||
internal static string AssemblySha256()
|
||||
{
|
||||
var location = typeof(EntryPoint).Assembly.Location;
|
||||
using var stream = File.OpenRead(location);
|
||||
return Convert.ToHexString(SHA256.HashData(stream));
|
||||
}
|
||||
}
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+39
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v8.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v8.0": {
|
||||
"PRecUpdate.Plant3D2026/1.0.0": {
|
||||
"dependencies": {
|
||||
"PRecUpdate.Core": "1.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"PRecUpdate.Plant3D2026.dll": {}
|
||||
}
|
||||
},
|
||||
"PRecUpdate.Core/1.0.0": {
|
||||
"runtime": {
|
||||
"PRecUpdate.Core.dll": {
|
||||
"assemblyVersion": "1.0.0",
|
||||
"fileVersion": "1.0.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"PRecUpdate.Plant3D2026/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"PRecUpdate.Core/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+130
@@ -0,0 +1,130 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Plant3D2026\\PRecUpdate.Plant3D2026.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Core\\PRecUpdate.Core.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Core\\PRecUpdate.Core.csproj",
|
||||
"projectName": "PRecUpdate.Core",
|
||||
"projectPath": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Core\\PRecUpdate.Core.csproj",
|
||||
"packagesPath": "C:\\Users\\codex\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Core\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\codex\\AppData\\Roaming\\NuGet\\NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net8.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"allWarningsAsErrors": true,
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.423/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Plant3D2026\\PRecUpdate.Plant3D2026.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Plant3D2026\\PRecUpdate.Plant3D2026.csproj",
|
||||
"projectName": "PRecUpdate.Plant3D2026",
|
||||
"projectPath": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Plant3D2026\\PRecUpdate.Plant3D2026.csproj",
|
||||
"packagesPath": "C:\\Users\\codex\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Plant3D2026\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\codex\\AppData\\Roaming\\NuGet\\NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net8.0-windows"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0-windows7.0": {
|
||||
"targetAlias": "net8.0-windows",
|
||||
"projectReferences": {
|
||||
"C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Core\\PRecUpdate.Core.csproj": {
|
||||
"projectPath": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Core\\PRecUpdate.Core.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"allWarningsAsErrors": true,
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0-windows7.0": {
|
||||
"targetAlias": "net8.0-windows",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.423/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\codex\.nuget\packages\</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.2</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\codex\.nuget\packages\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("PRecUpdate.Plant3D2026")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+c3ac183fffdbd353bfd96d3e55dfff47a661ec3a")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("PRecUpdate.Plant3D2026")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("PRecUpdate.Plant3D2026")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
||||
|
||||
// Создано классом WriteCodeFragment MSBuild.
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
682b6989a687db82779b40f415b89b18ed3478f81acc7b20af0606373c276e10
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net8.0-windows
|
||||
build_property.TargetPlatformMinVersion = 7.0
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = PRecUpdate.Plant3D2026
|
||||
build_property.ProjectDir = C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Plant3D2026\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// <auto-generated/>
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.IO;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Net.Http;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+1
@@ -0,0 +1 @@
|
||||
ade5d91c57cf0f5fd89f1f07c0955959365678d4f89462207c831dd45b20ab2d
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Plant3D2026\obj\Release\net8.0-windows\PRecUpdate.Plant3D2026.csproj.AssemblyReference.cache
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Plant3D2026\obj\Release\net8.0-windows\PRecUpdate.Plant3D2026.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Plant3D2026\obj\Release\net8.0-windows\PRecUpdate.Plant3D2026.AssemblyInfoInputs.cache
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Plant3D2026\obj\Release\net8.0-windows\PRecUpdate.Plant3D2026.AssemblyInfo.cs
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Plant3D2026\obj\Release\net8.0-windows\PRecUpdate.Plant3D2026.csproj.CoreCompileInputs.cache
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Plant3D2026\bin\Release\net8.0-windows\PRecUpdate.Plant3D2026.deps.json
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Plant3D2026\bin\Release\net8.0-windows\PRecUpdate.Plant3D2026.dll
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Plant3D2026\bin\Release\net8.0-windows\PRecUpdate.Plant3D2026.pdb
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Plant3D2026\bin\Release\net8.0-windows\PRecUpdate.Core.dll
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Plant3D2026\bin\Release\net8.0-windows\PRecUpdate.Core.pdb
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Plant3D2026\obj\Release\net8.0-windows\PRecUpda.65EEC080.Up2Date
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Plant3D2026\obj\Release\net8.0-windows\PRecUpdate.Plant3D2026.dll
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Plant3D2026\obj\Release\net8.0-windows\refint\PRecUpdate.Plant3D2026.dll
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Plant3D2026\obj\Release\net8.0-windows\PRecUpdate.Plant3D2026.pdb
|
||||
C:\dev\worktrees\autodesk-plant3d-2026-integration\Plant3D2026\P_Rec_Update\src\PRecUpdate.Plant3D2026\obj\Release\net8.0-windows\ref\PRecUpdate.Plant3D2026.dll
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1,95 @@
|
||||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net8.0-windows7.0": {
|
||||
"PRecUpdate.Core/1.0.0": {
|
||||
"type": "project",
|
||||
"framework": ".NETCoreApp,Version=v8.0",
|
||||
"compile": {
|
||||
"bin/placeholder/PRecUpdate.Core.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"bin/placeholder/PRecUpdate.Core.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"PRecUpdate.Core/1.0.0": {
|
||||
"type": "project",
|
||||
"path": "../PRecUpdate.Core/PRecUpdate.Core.csproj",
|
||||
"msbuildProject": "../PRecUpdate.Core/PRecUpdate.Core.csproj"
|
||||
}
|
||||
},
|
||||
"projectFileDependencyGroups": {
|
||||
"net8.0-windows7.0": [
|
||||
"PRecUpdate.Core >= 1.0.0"
|
||||
]
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\codex\\.nuget\\packages\\": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Plant3D2026\\PRecUpdate.Plant3D2026.csproj",
|
||||
"projectName": "PRecUpdate.Plant3D2026",
|
||||
"projectPath": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Plant3D2026\\PRecUpdate.Plant3D2026.csproj",
|
||||
"packagesPath": "C:\\Users\\codex\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Plant3D2026\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\codex\\AppData\\Roaming\\NuGet\\NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net8.0-windows"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0-windows7.0": {
|
||||
"targetAlias": "net8.0-windows",
|
||||
"projectReferences": {
|
||||
"C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Core\\PRecUpdate.Core.csproj": {
|
||||
"projectPath": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Core\\PRecUpdate.Core.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"allWarningsAsErrors": true,
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0-windows7.0": {
|
||||
"targetAlias": "net8.0-windows",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.423/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "mjO3sU71BBQ=",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\dev\\worktrees\\autodesk-plant3d-2026-integration\\Plant3D2026\\P_Rec_Update\\src\\PRecUpdate.Plant3D2026\\PRecUpdate.Plant3D2026.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
||||
Reference in New Issue
Block a user