|
|
b8d0d9 |
diff --git a/src/mono/nuget/Microsoft.NET.Runtime.MonoTargets.Sdk/Microsoft.NET.Runtime.MonoTargets.Sdk.pkgproj b/src/mono/nuget/Microsoft.NET.Runtime.MonoTargets.Sdk/Microsoft.NET.Runtime.MonoTargets.Sdk.pkgproj
|
|
|
b8d0d9 |
index 724b704f864..3dabdc81dae 100644
|
|
|
b8d0d9 |
--- a/src/mono/nuget/Microsoft.NET.Runtime.MonoTargets.Sdk/Microsoft.NET.Runtime.MonoTargets.Sdk.pkgproj
|
|
|
b8d0d9 |
+++ b/src/mono/nuget/Microsoft.NET.Runtime.MonoTargets.Sdk/Microsoft.NET.Runtime.MonoTargets.Sdk.pkgproj
|
|
|
b8d0d9 |
@@ -6,7 +6,7 @@
|
|
|
b8d0d9 |
</PropertyGroup>
|
|
|
b8d0d9 |
|
|
|
b8d0d9 |
<ItemGroup>
|
|
|
b8d0d9 |
- <ProjectReference Include="$(RepoTasksDir)ILStripTask\ILStrip.csproj" />
|
|
|
b8d0d9 |
+ <ProjectReference Include="$(RepoTasksDir)ILStripTask\ILStrip.csproj" Condition="'$(DotNetBuildFromSource)' != 'true'" />
|
|
|
b8d0d9 |
<ProjectReference Include="$(RepoTasksDir)RuntimeConfigParser\RuntimeConfigParser.csproj" />
|
|
|
b8d0d9 |
<ProjectReference Include="$(RepoTasksDir)JsonToItemsTaskFactory\JsonToItemsTaskFactory.csproj" />
|
|
|
b8d0d9 |
</ItemGroup>
|
|
|
b8d0d9 |
@@ -15,7 +15,7 @@
|
|
|
b8d0d9 |
<PackageFile Include="Sdk\Sdk.props" TargetPath="Sdk" />
|
|
|
b8d0d9 |
<PackageFile Include="Sdk\Sdk.targets" TargetPath="Sdk" />
|
|
|
b8d0d9 |
<PackageFile Include="build\$(MSBuildProjectName).props" TargetPath="build" />
|
|
|
b8d0d9 |
- <PackageFile Include="Sdk\ILStripTask.props" TargetPath="Sdk" />
|
|
|
b8d0d9 |
+ <PackageFile Include="Sdk\ILStripTask.props" TargetPath="Sdk" Condition="'$(DotNetBuildFromSource)' != 'true'" />
|
|
|
b8d0d9 |
<PackageFile Include="Sdk\RuntimeConfigParserTask.props" TargetPath="Sdk" />
|
|
|
b8d0d9 |
<PackageFile Include="Sdk\RuntimeComponentManifest.props" TargetPath="Sdk" />
|
|
|
b8d0d9 |
<PackageFile Include="Sdk\RuntimeComponentManifest.targets" TargetPath="Sdk" />
|
|
|
b8d0d9 |
diff --git a/src/mono/nuget/Microsoft.NET.Runtime.MonoTargets.Sdk/Sdk/Sdk.props b/src/mono/nuget/Microsoft.NET.Runtime.MonoTargets.Sdk/Sdk/Sdk.props
|
|
|
b8d0d9 |
index 8a7ede79242..cfd515eeca9 100644
|
|
|
b8d0d9 |
--- a/src/mono/nuget/Microsoft.NET.Runtime.MonoTargets.Sdk/Sdk/Sdk.props
|
|
|
b8d0d9 |
+++ b/src/mono/nuget/Microsoft.NET.Runtime.MonoTargets.Sdk/Sdk/Sdk.props
|
|
|
b8d0d9 |
@@ -1,5 +1,5 @@
|
|
|
b8d0d9 |
<Project>
|
|
|
b8d0d9 |
- <Import Project="$(MSBuildThisFileDirectory)\ILStripTask.props" />
|
|
|
b8d0d9 |
+ <Import Project="$(MSBuildThisFileDirectory)\ILStripTask.props" Condition="'$(DotNetBuildFromSource)' != 'true'" />
|
|
|
b8d0d9 |
<Import Project="$(MSBuildThisFileDirectory)\RuntimeConfigParserTask.props" />
|
|
|
b8d0d9 |
<Import Project="$(MSBuildThisFileDirectory)\RuntimeComponentManifest.props" />
|
|
|
b8d0d9 |
</Project>
|