How to build Xamarin Forms project with UWP on Macos? #3403
-
I have a Xamarin forms project that has UWP project in it (iOS, Android, and UWP) I created a configuration that excludes UWP from the build. I did this to avoid building UWP, since it fails on MacOS. But, when I run "NuGetRestore(BuildParameters.SolutionFile.ToString());" Which does a restore on the solution which has about 10 different projects, how can I exclude the project "myproject.UWP.csproj"? Is there a way, via a cake extension, that I can remove the project from the build? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
UWP will only build and work on Windows. For cross platform UWP you could take a look at UNO To exclude I would have a build configuration that only builds subset of projects. Some docs about that here |
Beta Was this translation helpful? Give feedback.
UWP will only build and work on Windows.
For cross platform UWP you could take a look at UNO
https://platform.uno/
To exclude I would have a build configuration that only builds subset of projects.
Some docs about that here
https://docs.microsoft.com/en-us/visualstudio/mac/create-and-edit-configurations?view=vsmac-2019