We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f736c6e commit bcadb41Copy full SHA for bcadb41
1 file changed
src/MainSlnCommon.props
@@ -51,7 +51,7 @@
51
<Compile Remove="$(MSBuildProjectDirectory)/debug/**/*" />
52
</ItemGroup>
53
<Target Name="UbuntuMispackagedSDKCheck" BeforeTargets="Build">
54
- <Error Condition=" !Exists('$(MSBuildSDKsPath)/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets') "
+ <Error Condition=" '$(OS)' != 'Windows_NT' && !Exists('$(MSBuildSDKsPath)/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets') "
55
Text="Microsoft.NET.Sdk.WindowsDesktop is missing—if you're on Ubuntu, DON'T install the .NET SDK from the official repos" />
56
</Target>
57
</Project>
0 commit comments