Skip to content
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

Switch to net5.0 TFM - requires VS 16.6 or updated nuget.exe #234

Merged
merged 5 commits into from
Jun 11, 2020

Conversation

Scottj1s
Copy link
Member

fixes #223

This PR enables the switch to the new net5.0, which in turn requires either VS 16.6, or an updated nuget.exe, to be installed on the hosted build agents. Holding off check-in until one of these occurs.

@Scottj1s
Copy link
Member Author

VS 16.6 deployment to hosted agents now nearly complete

@Scottj1s Scottj1s changed the title [NO MERGE] Switch to net5.0 TFM - requires VS 16.6 or updated nuget.exe Switch to net5.0 TFM - requires VS 16.6 or updated nuget.exe Jun 10, 2020
@Scottj1s
Copy link
Member Author

Scottj1s commented Jun 10, 2020

With this change, a clean rebuild will be needed. Remove all project.assets.json files and nuget restore, to address these:

error NETSDK1005: Assets file 'D:\git\cswinrt2\WinUI\WinUIProjection\obj\project.assets.json' doesn't have a target for '.NETCoreApp,Version=v5.0'. Ensure that restore has run and that you have included 'net5.0' in the TargetFrameworks for your project. [

@Scottj1s Scottj1s merged commit 1e33cad into master Jun 11, 2020
@Scottj1s Scottj1s deleted the scottj1s/net5_tfm branch June 11, 2020 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update TFM from .netcoreapp5.0 -> .net5.0
1 participant