-
Notifications
You must be signed in to change notification settings - Fork 104
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
Update TFM from .netcoreapp5.0 -> .net5.0 #223
Comments
@AdamBraden, is this safe now? For what version(s) of .NET 5 SDK and Visual Studio? |
It should be safe:
|
Turns out it's not safe, quite yet. Latest public nuget.exe, v.5.5.1, results in 5 build breaks like this: The latest pre-release nuget.exe, v5.6.0-preview2, reduces that number of breaks to 2. Per .NET team, using 'msbuild /t:restore' from VS 16.6 p2 or later is required. But that doesn't work for packages.config-based vcxproj. The workaround is to split out restores based on project type: msbuild for csproj, and nuget for vcxproj. In VS, the nuget console reports these versions: Until VS 16.6 is deployed to hosted build agents, or the nuget client supports net5.0 TFM, in a holding pattern. Update: turns out nuget v5.6 is necessary but not sufficient. The build breaks reference VS 16.6 targets files. |
VS 16.6 rollout on Azure Devops has been very nearly complete (~99%) for several days. I'll go ahead and complete the PR now so dependents can start to move forward. |
Need to move to the updated TFM for .net5.0
The text was updated successfully, but these errors were encountered: