Starting from a clean repository fixed it for me. Close visual studio, delete all files generated by visual studio, bin folder, obj folder, .vs folder, BundleArtifacts folder, AppPackages folder. Open your solution again, compiling, building and publishing should work now.
The "CompileXaml" task returned false but did not log an error?
Markus Schertler
41
Reputation points
Hello,
i have a UWP Project with 2 DLLs. This did compile without problems. Now i copied the code to reuse it for a new project. But wenn i try to compile the message The "CompileXaml" task returned false but did not log an error comes. What can be the reason?
2 answers
Sort by: Most helpful
-
-
Jussi Palo 6 Reputation points
2021-03-12T13:35:52.877+00:00 Just deleting the bin and obj folders was enough for me. No need to restart anything.