Workarounds.props 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!-- Use this file to workaround issues. List the issue tracking the item to fix so we can remove the workaround when the issue is resolved. -->
  2. <Project>
  3. <PropertyGroup>
  4. <!-- Reset this to the Microsoft.NET.Sdk default to workaround Arcade's defaults, which sets IsPackable=false by default. -->
  5. <IsPackable />
  6. <!-- Ensure symbols type is 'portable'. Arcade attempts to embed symbols in local and CI builds. -->
  7. <DebugType>portable</DebugType>
  8. </PropertyGroup>
  9. <!-- Prevent pdb2pdb.exe from running because it is currently causing build failures in Blazor. -->
  10. <PropertyGroup>
  11. <PublishWindowsPdb>false</PublishWindowsPdb>
  12. </PropertyGroup>
  13. <PropertyGroup>
  14. <!-- Xunit output is piped into a file anyways, so color codes aren't useful. -->
  15. <TestRunnerAdditionalArguments>$(TestRunnerAdditionalArguments) -nocolor</TestRunnerAdditionalArguments>
  16. </PropertyGroup>
  17. <PropertyGroup>
  18. <!-- Working around https://github.com/NuGet/Home/issues/8467 -->
  19. <NoWarn>$(NoWarn);NU5131</NoWarn>
  20. <!-- Workaround until https://github.com/aspnet/AspNetCore-Internal/issues/3103 is resolved -->
  21. <NoWarn>$(NoWarn);NU5048</NoWarn>
  22. </PropertyGroup>
  23. <!-- Workaround https://github.com/dotnet/roslyn/issues/27975 -->
  24. <PropertyGroup>
  25. <!-- We use the compiler toolset that comes from NuGet Packages rather than the SDK built-in.
  26. This one sets UseSharedCompilation to false by default. -->
  27. <UseSharedCompilation>true</UseSharedCompilation>
  28. </PropertyGroup>
  29. <PropertyGroup>
  30. <!-- Ignore warning about calling the Pack target on Web SDK projects. Our build scripts call /t:pack on everything in this repo. -->
  31. <WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
  32. </PropertyGroup>
  33. </Project>