New Uno Net7.0 Project from template displays "There were deployment issues" when building as "(Package)" because Net6.0 DLL not found #12154
ToddGlodek
started this conversation in
General
Replies: 1 comment 1 reply
-
So two things:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I just upgraded to Visual Studio Version 17.5.5. I feel like I was able to do this before the upgrade - but since the upgrade I see this build error.
When creating the a new project using the project templates, I experience a "There were deployment issues" when running in "packaged" mode. The error reported is "Cannot copy file" and the file referenced is a Net6.0 file - even though it is a Net7.0 project.
This is what I did :
First run the Update templates - "dotnet new install Uno.Templates" and observe "Success: Uno.Templates::4.8.11 installed the following templates:"
Create a new project :

Do not modify the project in any way.
Then, run the project in "(Package)" mode and observer the following :

NOTE: If you try to run this as "(Unpackaged)" - it will build, but it displays a different error at runtime. I will document that separately (#12155).
Beta Was this translation helpful? Give feedback.
All reactions