MAUI, C#, XAML - @(Content) build action is not supported
When I run the program on visual studio, the app can be opened. But when I try to open the program outside Visual Studio, I always get kicked out of the app before it loads
I think the warnings are the reason for it but I don't know how to fix it
15 Replies
I changed App Icon
I only modified some things here:
To replace the default .NET icon and loading screen
I didn't change anything else in there
Nope
It says something about WebView2Loader.dll
i have this file
but
nothing about WebView2Loader in the csproj file
i can make new project and check the csproj file there, if everything is the same
Maybe i removed something by accident
might be
It's part of maui i think
when i created the project it was already there
i have this multiple times
in every folder is a WebViewLoader2
bin\Debug\net8.0-android\runtimes\win-x64\native\WebView2Loader.dll
I heard i need AndroidAsset, instead of Content
But how to include gives me also a question
Stack Overflow
Xamarin: @(Content) build action is not supported
I'm developing a Android App in VS Pro 2015(Xamarin). Everything worked fine until this morning when I updated my Android device. I'm able to build my application but while deploying to my device I...
I found this, but for Xamarin
I only have this
It says "not supported" it means i need to update something
Or change
I will create new project and transfer the code
Now its just a chaos
I changed something in Build action and now my xaml file disappeared etc
But thanks anyway