C# WINDOWS MAUI專案 不用打包(Unpackaged)/直接EXE可執行
C# WINDOWS MAUI專案 不用打包(Unpackaged)/直接EXE可執行
資料來源:
Enable Unpackaged Distribution of your .NET MAUI Windows App
https://www.youtube.com/watch?v=bluImEvcJNw
No MSIX ? Distribute Your .NET MAUI Windows App Unpackaged
https://www.youtube.com/watch?v=GgU4ulGYQEk
步驟:
01.專案設定檔案[*.csproj(xml格式)]下[<PropertyGroup>之下]
<WindowsPackageType>None</WindowsPackageType> <WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
02.資料夾Properties 下[launchSettings.json]
"commandName": "MsixPackage", -> "commandName": "Project",
One thought on “C# WINDOWS MAUI專案 不用打包(Unpackaged)/直接EXE可執行”
C# WINDOWS MAUI專案 不用打包(UNPACKAGED)/安裝(Install) ~ 可以直接EXE可執行