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