File tree Expand file tree Collapse file tree 2 files changed +22
-22
lines changed Expand file tree Collapse file tree 2 files changed +22
-22
lines changed Original file line number Diff line number Diff line change 14
14
<RepositoryReference Include =" roslyn" />
15
15
</ItemGroup >
16
16
17
+ <Target Name =" CopyTools"
18
+ AfterTargets =" Package" >
19
+ <PropertyGroup >
20
+ <CoreClrDestinationDir >$(ToolPackageExtractDir)coreclr-tools</CoreClrDestinationDir >
21
+ <AssemblyExtension Condition =" '$(TargetOS)' == 'Linux'" >so</AssemblyExtension >
22
+ <AssemblyExtension Condition =" '$(TargetOS)' == 'FreeBSD'" >so</AssemblyExtension >
23
+ <AssemblyExtension Condition =" '$(TargetOS)' == 'OSX'" >dylib</AssemblyExtension >
24
+ <AssemblyExtension Condition =" '$(AssemblyExtension)' == ''" >please define AssemblyExtension for $(TargetOS)</AssemblyExtension >
25
+ </PropertyGroup >
26
+
27
+ <ItemGroup >
28
+ <CoreClrTools Include =" $(ProjectDirectory)bin/Product/$(TargetOS).$(Platform).$(Configuration)/ilasm" />
29
+ <CoreClrTools Include =" $(ProjectDirectory)bin/Product/$(TargetOS).$(Platform).$(Configuration)/ildasm" />
30
+ <CoreClrTools Include =" $(ProjectDirectory)bin/Product/$(TargetOS).$(Platform).$(Configuration)/libcoreclr.$(AssemblyExtension)" />
31
+ <CoreClrTools Include =" $(ProjectDirectory)bin/Product/$(TargetOS).$(Platform).$(Configuration)/System.Private.CoreLib.dll" />
32
+ </ItemGroup >
33
+
34
+ <Message Importance =" High" Text =" Copying source-built ILAsm and ILDasm '@(CoreClrTools)' to '$(CoreClrDestinationDir)'" />
35
+
36
+ <Copy SourceFiles =" @(CoreClrTools)" DestinationFolder =" $(CoreClrDestinationDir)" />
37
+ </Target >
38
+
17
39
<Target Name =" CleanupRepoForNonPortableBuild" AfterTargets =" RemoveBuiltPackagesFromCache" >
18
40
<ItemGroup >
19
41
<DirsToDelete Include =" $(ProjectDirectory)artifacts" Condition =" Exists('$(ProjectDirectory)artifacts')" />
Original file line number Diff line number Diff line change 12
12
<BuiltSdkPackageOverride Include =" @(ILSdkOverride)" />
13
13
</ItemGroup >
14
14
15
- <Target Name =" CopyTools"
16
- AfterTargets =" Package" >
17
- <PropertyGroup >
18
- <CoreClrDestinationDir >$(ToolPackageExtractDir)coreclr-tools</CoreClrDestinationDir >
19
- <AssemblyExtension Condition =" '$(TargetOS)' == 'Linux'" >so</AssemblyExtension >
20
- <AssemblyExtension Condition =" '$(TargetOS)' == 'FreeBSD'" >so</AssemblyExtension >
21
- <AssemblyExtension Condition =" '$(TargetOS)' == 'OSX'" >dylib</AssemblyExtension >
22
- <AssemblyExtension Condition =" '$(AssemblyExtension)' == ''" >please define AssemblyExtension for $(TargetOS)</AssemblyExtension >
23
- </PropertyGroup >
24
-
25
- <ItemGroup >
26
- <CoreClrTools Include =" $(ProjectDirectory)bin/Product/$(TargetOS).$(Platform).$(Configuration)/ilasm" />
27
- <CoreClrTools Include =" $(ProjectDirectory)bin/Product/$(TargetOS).$(Platform).$(Configuration)/ildasm" />
28
- <CoreClrTools Include =" $(ProjectDirectory)bin/Product/$(TargetOS).$(Platform).$(Configuration)/libcoreclr.$(AssemblyExtension)" />
29
- <CoreClrTools Include =" $(ProjectDirectory)bin/Product/$(TargetOS).$(Platform).$(Configuration)/System.Private.CoreLib.dll" />
30
- </ItemGroup >
31
-
32
- <Message Importance =" High" Text =" Copying source-built ILAsm and ILDasm '@(CoreClrTools)' to '$(CoreClrDestinationDir)'" />
33
-
34
- <Copy SourceFiles =" @(CoreClrTools)" DestinationFolder =" $(CoreClrDestinationDir)" />
35
- </Target >
36
-
37
15
<Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))/dir.targets" />
38
16
</Project >
You can’t perform that action at this time.
0 commit comments