Build .NET MAUI Windows project using Cake #3799
-
DotNetCoreAliases.DotNetCoreBuild(Context, @"..\xxx.csproj", Im getting the issue C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\microsoft.windows.sdk.buildtools\10.0.22000.194\build\Microsoft.Windows.SDK.BuildTools.props(4,37): error MSB4185: The function "Is64BitProcess" on type "System.Environment" is not available for execution as an MSBuild property function. [D:\Github\xxx.csproj] Android, ios getting succeeded. Any help |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Windows App SDK currently doesn't support using the dotnet build command, you have to use the msbuild command instead. - see: microsoft/WindowsAppSDK#1652 |
Beta Was this translation helpful? Give feedback.
-
There is also this answer, in discussion 3348: "How to build the MAUI project using Cake plugin?" that could probably give a hint. |
Beta Was this translation helpful? Give feedback.
Windows App SDK currently doesn't support using the dotnet build command, you have to use the msbuild command instead. - see: microsoft/WindowsAppSDK#1652
There is a possibility to vote for the feature
dotnet build