A core feature of Visual Studio that allows developers to inspect, analyze, and troubleshoot code during execution.
Thanks for reaching out. The issue you are encountering is specifically the Nui015 , the “Msix Package” command failure and and brain deployment loop are known regressions affecting MAUI blazor hybrid projects in this specific build.
Below are the official guidance and technical resolution for each issue.
- Resolving the NU1015 error ($(Maui Version) missing) In version 18.3.3, the $(Maui Version) MSbuild The party is no longer automatically populated by the MAUI workload. This results in the property resolving to an empty string breaking your NuGet package references.
- Officially fix: manually specify the version number in your .csproj file
- action: locate your <PackageReference> tags and update them as follows:
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)"/> <PackageReference Include="Microsoft.Maui.Controls" Version="10.0.30" />
- **Fixing **** ****“MsixPackage” **** **Command and Profile Errors The error “the project does not know how to run the profile.… command ‘Msix Package’” Occurs because the newer windows app SDK 1.7 plus defaults windowspackageType to none which conflicts with GenerateAppxPackageOnBuild = true.
- Option A (Recommended for Debugging) Disable automatic package generation to allow the “windows machine” target to run normally In you .csproj, set:
<GenerateAppxPackageOnBuild>false</GenerateAppxPackageOnBuild> - Option B (for packaging): if you must build an MSIX, you must explicitly define the package type in your Windows-specific PropertyGroup:
<WindowsPackageType>MSIX</WindowsPackageType> - Reference: https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/release-notes/windows-app-sdk-1-7?pivots=stable
- Option A (Recommended for Debugging) Disable automatic package generation to allow the “windows machine” target to run normally In you .csproj, set:
- Stopping” Android Deployment” on Windows targets If the build logs show “deploy failed” for Android while you are targeting windows, the IDE is incorrectly attempting to initialize the Android environment (ADB).
- Workaround: Ensure your Solution Platforms (next to start button) is set to x64 or arm64 instead of Any CPU as “ Any CPU” can trigger multi-platform deployment checks that fail if no emulator is present.
- Check : verify the your launchSettings.json (found in the Properties folder) does not have a rogue Android profile set as the default.
- How to revert to version 18.3.1 If these manual fixes do not resolve your workflow issues, we recommend rolling back to the stable 18.3.1 build.
- Open the visual studio installer
- Click the more dropdown next to your VS 2026 Enterprise instance.
- Select Rollback to previous version. This will restore version 18.3.1.
- Reference:https://learn.microsoft.com/en-us/visualstudio/releases/2026/release-history
Next Steps
To ensure the fix is applied correctly, please perform a Clean Solution and delete the bin and obj folders after editing your .csproj.
Please let us know if you require any further assistance we’re happy to help. If you found this information useful, kindly mark this as "Accept Answer".