-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid restoring net45 targeting pack in Traversal SDK #430
Conversation
The NoTargets SDK already sets the AutomaticallyUseReferenceAssemblyPackages property to false but the Traversal SDK didn't. As the Traversal SDK defines a default TFM (net45), the reference assembly pack is being downloaded automatically. This shows us as a prebuild in dotnet/runtime and other repositories that build from source.
@jeffkl @AndyGerlicher any idea why CI is failing? Unsure if that's related to my change as it complains about a file not found. I wouldn't expect the current Traversal tests to depend on the .NET Framework reference assemblies. EDIT: Looks like CI just passed after a retry (?). |
Yeah sorry that's a weird error that MSBuild throws occasionally, I haven't had time to root cause it. |
… is imported so the default value is respected.
Omg, sorry for that, I should have tested it locally... Thanks for the fix. After merging the change in, can we please publish a new version to nuget.org? |
Yes absolutely, I usually publish a package for every change |
Avoids net45 prebuilds in Traversal projects: microsoft/MSBuildSdks#430
Avoids net45 prebuilds in Traversal projects: microsoft/MSBuildSdks#430
The NoTargets SDK already sets the AutomaticallyUseReferenceAssemblyPackages property to false but the Traversal SDK didn't. As the Traversal SDK defines a default TFM (net45), the reference assembly pack is being downloaded automatically. This shows us as a prebuild in dotnet/runtime and other repositories that build from source.
cc @NikolaMilosavljevic