Unable to build the solution #16758
-
From the addin Q&A Hi, I tried to create the project via command line but I get errors, it is as if it did not find the necessary dependencies of Uno. I have checked the extensions and Uno Platform is found. What I could find is that the problem seems to be with the implementation with .Net 8, because I did a test with Uno Platform App (.Net 6, UWP) and I created it, I updated some packages, and the Xamarin SDK, I also enabled the Developer Mode on my PC and I could compile without problems. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 16 replies
-
Could you post the errors you're getting from the command line? Thanks! |
Beta Was this translation helpful? Give feedback.
-
This is the command I'm running: dotnet : Error: Opción u opciones no válidas:
-preset |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi, I followed the steps to create a binlog. Honestly it is the first time that I see files of this type, from what I can understand there are some tools that are being used that are being omitted, for practical purposes I attach the zip file with the solution that I generated through VS 2022 including the binlog file. Something that I could notice digging in the files that are in the folder Solution Items, is that in the global.json file the value of "Uno.Sdk" is in the version 5.2.132 the extension is in the version 5.2.49. |
Beta Was this translation helpful? Give feedback.
-
I followed the steps to update Uno but didn't have much luck fixing the reference to the Uno Sdk. Install dotnet-outdated, run the command in the folder where the .sln file is and in the subfolder where the .csproj file is. I also ran the dotnet new update command but it tells me that the packages are updated. I attach the results of the console in the txt file. |
Beta Was this translation helpful? Give feedback.
Thanks. The global
nuget.config
that you have for your system is very complex, and it feels like there's something wrong with its contents.The default one when installing a new machine should look like this: