設定: アプリ起動時に常に管理者権限を要求するマニフェストを追加
app.manifest を新規作成して requestedExecutionLevel に requireAdministrator を指定し、GameLauncher.csproj にマニフェストを組み込みました。
This commit is contained in:
1 parent
dc03f5284a
commit
ee9eeb3118
2 files changed
+27
No files matched your search
@@ -14,6 +14,7 @@
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
||||
<DebugType>embedded</DebugType>
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in new issue
Block a user