Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit fc01829

Browse files
authored
net8/WorkloadManifest.targets: import only for tfm=net8.0, and not tfm>=net8.0 (emscripten-core#510)
Fixes: `/root/helix/work/workitem/e/dotnet-latest/sdk-manifests/9.0.100-alpha.1/microsoft.net.workload.emscripten.net8/WorkloadManifest.targets(4,5): warning MSB4011: "/root/helix/work/workitem/e/dotnet-latest/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Node.linux-x64/9.0.0-alpha.1.23469.6/Sdk/Sdk.props" cannot be imported again. It was already imported at "/root/helix/work/workitem/e/dotnet-latest/sdk-manifests/9.0.100-alpha.1/microsoft.net.workload.emscripten.current/WorkloadManifest.targets (23,5)". This is most likely a build authoring error. This subsequent import will be ignored. `
1 parent 7df3561 commit fc01829

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eng/nuget/Microsoft.NET.Workload.Emscripten.net8.Manifest/WorkloadManifest.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project>
2-
<ImportGroup Condition="'$(RuntimeIdentifier)' == 'browser-wasm' and '$(UsingBrowserRuntimeWorkload)' == 'true' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals('$(TargetFrameworkVersion)', '8.0'))">
2+
<ImportGroup Condition="'$(RuntimeIdentifier)' == 'browser-wasm' and '$(UsingBrowserRuntimeWorkload)' == 'true' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionEquals('$(TargetFrameworkVersion)', '8.0'))">
33
<Import Project="Sdk.props" Sdk="Microsoft.NET.Runtime.Emscripten.Python.net8" Condition="!$([MSBuild]::IsOsPlatform('Linux'))" />
44
<Import Project="Sdk.props" Sdk="Microsoft.NET.Runtime.Emscripten.Node.net8" />
55
<Import Project="Sdk.props" Sdk="Microsoft.NET.Runtime.Emscripten.Sdk.net8" />

0 commit comments

Comments
 (0)