Commit 59f2dc8 1 parent ef9bacc commit 59f2dc8 Copy full SHA for 59f2dc8
File tree 1 file changed +6
-6
lines changed
src/Libraries/DynamoUnits
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 38
38
</Compile >
39
39
</ItemGroup >
40
40
<Target Name =" CopyFiles" BeforeTargets =" Build" >
41
+ <ItemGroup >
42
+ <UnitSchemas Include =" $(PkgForgeUnits_Schemas)\Content\unit\**\*.*" />
43
+ </ItemGroup >
44
+ <Copy SourceFiles =" @(UnitSchemas)" DestinationFolder =" $(OutDir)unit\%(RecursiveDir)" />
41
45
<Copy SourceFiles =" $(ProjectDir)DynamoUnits_DynamoCustomization.xml" DestinationFolder =" $(OutputPath)" />
42
- <Copy SourceFiles =" $(PkgForgeUnits_NET)\lib\net6.0\ForgeUnitsManaged.dll" DestinationFolder =" $(OutputPath)" />
43
- <Copy SourceFiles =" $(PkgForgeUnits_NET)\runtimes\win10-x64\native\Units.dll" DestinationFolder =" $(OutputPath)" />
46
+ <Copy Condition = " $(RuntimeIdentifier.Contains('win')) " SourceFiles =" $(PkgForgeUnits_NET)\lib\net6.0\ForgeUnitsManaged.dll" DestinationFolder =" $(OutputPath)" />
47
+ <Copy Condition = " $(RuntimeIdentifier.Contains('win')) " SourceFiles =" $(PkgForgeUnits_NET)\runtimes\win10-x64\native\Units.dll" DestinationFolder =" $(OutputPath)" />
44
48
</Target >
45
49
<Target Name =" GenerateFiles" AfterTargets =" ResolveSateliteResDeps" Condition =" $(RuntimeIdentifier.Contains('win')) " >
46
50
<!-- Generate customization dll -->
47
51
<GenerateResource SdkToolsPath =" $(TargetFrameworkSDKToolsDirectory)" UseSourcePath =" true" Sources =" $(ProjectDir)DynamoUnitsImages.resx" OutputResources =" $(ProjectDir)DynamoUnitsImages.resources" />
48
52
<AL SdkToolsPath =" $(TargetFrameworkSDKToolsDirectory)" TargetType =" library" EmbedResources =" $(ProjectDir)DynamoUnitsImages.resources" OutputAssembly =" $(OutDir)DynamoUnits.customization.dll" Version =" %(AssemblyInfo.Version)" />
49
- <ItemGroup >
50
- <UnitSchemas Include =" $(PkgForgeUnits_Schemas)\Content\unit\**\*.*" />
51
- </ItemGroup >
52
- <Copy SourceFiles =" @(UnitSchemas)" DestinationFolder =" $(OutDir)unit\%(RecursiveDir)" />
53
53
</Target >
54
54
</Project >
You can’t perform that action at this time.
0 commit comments