Leaving net8.0-android target in the TargetFrameworks causes ResolvePackageAssets task to fail #18047
-
My teammate created a new project in VS 2022. He added our old uno project to it and began moving files into the new project (the old project had an issue where if we tried to change the Application Display Version, it wouldn't build). He then committed and pushed, and then I pulled the changes down. I opened the new solution, and was immediately faced with these errors. If I remove it net8.0-android from the TargetFrameworks in the new project, all of those errors go away and packages are successfully restored for the other targets. The project then runs successfully. This also seems to be an issue that's local to my environment. I've tried deleting the .nuget/packages cache in my user directory, I've re-cloned the code. Same problem. It still builds and runs on my teammates pc. In the obj/project.assets.json file, there's a null in the projectFileDependencyGroups.net8.0-android34.0 list.
Anyone have any ideas? I'm at a loss. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Can you please run |
Beta Was this translation helpful? Give feedback.
Can you please run
uno-check
to verify everything is passing? Are you and your teammate both using the same version of .NET (dotnet --version
)? Is it possible that there are some files that weren't pushed into the repository, but are present on your teammate's PC - it may be worth trying if they are able to clone the repo into a separate folder as well and then open successfully