Within a <PropertyGroup />
, existing or create a new one add the following.
<!--Do not create package for windows-->
<WindowsPackageType Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">None</WindowsPackageType>
Save and close.
Change commandName from "MSIX" to "Project"
{
"profiles": {
"Windows Machine": {
"commandName": "Project",
"nativeDebugging": false
}
}
}
Save and Close.