Skip to content

Commit 4e15779

Browse files
Merge pull request #773 from jimmylewis/fixBuildTargets
Fix build targets
2 parents e639b87 + 8ae77d2 commit 4e15779

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/LibraryManager.Build/Microsoft.Web.LibraryManager.Build.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<PackageReference Include="Microsoft.Build.Framework" PrivateAssets="all" />
1717
<PackageReference Include="Microsoft.Build.Tasks.Core" PrivateAssets="all" />
1818
<PackageReference Include="Microsoft.Build.Utilities.Core" PrivateAssets="all" />
19-
<PackageReference Include="System.Runtime.Loader" Condition="'$(TargetFramework)' == '$(NetCoreTFM)'" />
19+
<PackageReference Include="System.Runtime.Loader" Condition="'$(TargetFramework)' == '$(NetCoreTFM)'" PrivateAssets="all" />
2020
</ItemGroup>
2121

2222
<ItemGroup>

src/LibraryManager.Build/Microsoft.Web.LibraryManager.Build.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33

44
<PropertyGroup>
5-
<_LibraryTaskAssembly Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\netstandard2.0\Microsoft.Web.LibraryManager.Build.dll</_LibraryTaskAssembly>
6-
<_LibraryTaskAssembly Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\$(NetFxTFM)\Microsoft.Web.LibraryManager.Build.dll</_LibraryTaskAssembly>
5+
<_LibraryTaskAssembly Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.Web.LibraryManager.Build.dll</_LibraryTaskAssembly>
6+
<_LibraryTaskAssembly Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net481\Microsoft.Web.LibraryManager.Build.dll</_LibraryTaskAssembly>
77
</PropertyGroup>
88

99
<PropertyGroup>

0 commit comments

Comments
 (0)