You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue while trying to build my project using the command line instead of Visual Studio. I receive the following error:
C:\Users\leon.spors\.nuget\.nuget\packages\microsoft.windowsappsdk\1.3.230724000\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.interop.targets(760,9): error MSB3073: The command""C:\Users\leon.spors\.nuget\packages\microsoft.windowsappsdk\1.3.230724000\buildTransitive\..\tools\net5.0\..\net472\XamlCompiler.exe""obj\x64\Release\net7.0-windows10.0.19041.0\win-x64\\input.json""obj\x64\Release\net7.0-windows10.0.19041.0\win-x64\\output.json"" exited with code 1.
It is weird that it uses the net472 xaml compiler. Is it a fallback? Did I miss something?
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
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: