Open LeonSpors opened 1 year ago
+1
I am facing the same issue. My project packs successfully from the Visual Studio UI (pack option). It also works perfectly if I use the command "dotnet pack {csproj}". But the problem is that restoring the packages in my specific folder throws the error.
respective command - "dotnet pack {csproj} --packages packages"
Hitting the same issue. xamlcompiler.exe needs better logging.
Describe the bug
I'm encountering an issue while trying to build my project using the command line instead of Visual Studio. I receive the following error:
It is weird that it uses the net472 xaml compiler. Is it a fallback? Did I miss something?
csproj
Steps to reproduce the bug
Clear your project obj/bin folders. Use the following command
Expected behavior
It should publish like Visual Studio does but it seems there is a difference.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.4.0: 1.4.230822000
Windows version
Windows 11 (22H2): Build 22621, Windows 11 (21H2): Build 22000, Windows 10 (21H2): Build 19044, Windows 10 (21H1): Build 19043, Windows 10 (20H2): Build 19042, Windows 10 (1809): Build 17763
Additional context
No response