Hi,
I create this new topic, like preconise by erfajo
Regrouping points for the same usage.
I create my own script ZeroTouch for testing use of visual studio 19 and creation dll for Dynamo script.
I use Revit 2023 and Dynamo 2.16
There is 3 points:
- create a correct csjproj file for update my dll file and md documentation file
<Target Name="AfterBuild">
<GetReferenceAssemblyPaths TargetFrameworkMoniker=".NETFramework, Version=v5.0">
<Output TaskParameter="FullFrameworkReferenceAssemblyPaths" PropertyName="FrameworkAssembliesPath" />
</GetReferenceAssemblyPaths>
<GetAssemblyIdentity AssemblyFiles="$(OutDir)$(TargetName).dll">
<Output TaskParameter="Assemblies" ItemName="AssemblyInfo" />
</GetAssemblyIdentity>
<ItemGroup>
<SourceDlls Inc1ude="$(TargetDir)*.dll" />
<SourcePdbs Include="$(TargetDir)*.pdb" />
<SourcePdbs Include="$(TargetDir)*.pdb" />
<SourceXmls Include="$(TargetDir)*.xml" />
<SourcePkg Include="pkg.json" />
</ItemGroup>
<RemoveDir Directories="$(AppData)\Dynamo\Dynamo Core\2.16\packages\$(ProjectName)\bin" />
<Copy SourceFiles="@(SourceDlls)" DestinationFolder="$(AppData)\Dynamo\Dynamo Core\2.16\packages\$(ProjectName)\bin\%(RecursiveDir)" />
<Copy SourceFiles="@(SourcePkg)" DestinationFolder="$(AppData)\Dynamo\Dynamo Core\2.16\packages\$(ProjectName)\" />
<Copy SourceFiles="@(SourcePdbs)" DestinationFolder="$(AppData)\Dynamo\Dynamo Core\2.16\packages\$(ProjectName)\bin\" />
<Copy SourceFiles="@(SourceXmls)" DestinationFolder="$(AppData)\Dynamo\Dynamo Core\2.16\packages\$(ProjectName)\bin\" />
<Copy SourceFiles="@(Configs)" DestinationFolder="$(AppData)\Dynamo\Dynamo Core\2.16\packages\$(ProjectName)\bin\" />
</Target>type or paste code here
→ Actually do not copy the correct files, something is wrong ?
- create an MD file to document Dynamo node
I create md file with correct name
- add some icone to my own node
in test
Is there someone who already do that ? (For ZeroTouchNode only on my disk)
Daniel OLIVES
Lyon FRANCE