当前位置:网站首页>ClickOnce does not support request execution level 'requireAdministrator'
ClickOnce does not support request execution level 'requireAdministrator'
2022-07-06 01:24:00 【_ oP_ i】
<PropertyGroup>
<PublishWizardCompleted>true</PublishWizardCompleted></PropertyGroup>
<PropertyGroup>
<ManifestCertificateThumbprint>xxx (some value) xxx </ManifestCertificateThumbprint>
</PropertyGroup>
<PropertyGroup>
<ManifestKeyFile>SomeFile_TemporaryKey.pfx</ManifestKeyFile>
</PropertyGroup>
<PropertyGroup>
<GenerateManifests>true</GenerateManifests>
</PropertyGroup>
<PropertyGroup>
<SignManifests>true</SignManifests>
<ItemGroup>
<None Include="SomeFile_TemporaryKey.pfx" />
</ItemGroup>Delete Project documents .csproj , Don't click publish
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app" />
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC List Options
If you want to change Windows User account control level , Please use
Replace one of the following nodes requestedExecutionLevel node .n
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
Appoint requestedExecutionLevel Element will disable file and registry virtualization .
If your application needs this virtualization for backward compatibility , Delete this
Elements .
-->
The most important sentence
<requestedPrivileges>
<requestedExecutionLevel
level="highestAvailable"
uiAccess="true" />
</requestedPrivileges>
</requestedPrivileges>
<applicationRequestMinimum>
<defaultAssemblyRequest permissionSetReference="Custom" />
<PermissionSet ID="Custom" SameSite="site" Unrestricted="true" />
</applicationRequestMinimum>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Designed to work with and have been tested for this application
Windows List of versions . Remove the appropriate elements of the comment ,
Windows The most compatible environment will be automatically selected . -->
<!-- Windows Vista -->
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
<!-- Windows 7 -->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
<!-- Windows 8 -->
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
<!-- Windows 8.1 -->
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
<!-- Windows 10 -->
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
</application>
</compatibility>
<!-- Indicates that the application can sense DPI And Windows stay DPI It will not be
Automatic scaling .Windows Presentation Foundation (WPF) Application auto awareness DPI, There is no need to
Choose to join . Select the Windows Forms application ( The goal is .NET Framework 4.6 ) And
In its app.config Lieutenant general "EnableWindowsFormsHighDpiAutoResizing" Set to "true".-->
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
-->
<!-- Enable Windows Topics for common controls and dialog boxes (Windows XP And later ) -->
<!--
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
-->
</assembly>边栏推荐
- FFT learning notes (I think it is detailed)
- Mobilenet series (5): use pytorch to build mobilenetv3 and learn and train based on migration
- 3D vision - 4 Getting started with gesture recognition - using mediapipe includes single frame and real time video
- Code Review关注点
- After 95, the CV engineer posted the payroll and made up this. It's really fragrant
- The growth path of test / development programmers, the problem of thinking about the overall situation
- Mathematical modeling learning from scratch (2): Tools
- Interview must brush algorithm top101 backtracking article top34
- 【全网最全】 |MySQL EXPLAIN 完全解读
- [机缘参悟-39]:鬼谷子-第五飞箝篇 - 警示之二:赞美的六种类型,谨防享受赞美快感如同鱼儿享受诱饵。
猜你喜欢

leetcode刷题_验证回文字符串 Ⅱ

3D vision - 4 Getting started with gesture recognition - using mediapipe includes single frame and real time video

伦敦银走势中的假突破

About error 2003 (HY000): can't connect to MySQL server on 'localhost' (10061)

MySQL learning notes 2

Yii console method call, Yii console scheduled task

关于softmax函数的见解

Leetcode study - day 35

Daily practice - February 13, 2022

Unity | two ways to realize facial drive
随机推荐
Mysql--- query the top 5 students
JVM_ 15_ Concepts related to garbage collection
【全網最全】 |MySQL EXPLAIN 完全解讀
ORA-00030
Mobilenet series (5): use pytorch to build mobilenetv3 and learn and train based on migration
VMware Tools installation error: unable to automatically install vsock driver
Remember that a version of @nestjs/typeorm^8.1.4 cannot be obtained Env option problem
1791. Find the central node of the star diagram / 1790 Can two strings be equal by performing string exchange only once
How to extract MP3 audio from MP4 video files?
[day 30] given an integer n, find the sum of its factors
Gartner发布2022-2023年八大网络安全趋势预测,零信任是起点,法规覆盖更广
CocoaPods could not find compatible versions for pod 'Firebase/CoreOnly'
Spir - V premier aperçu
Format code_ What does formatting code mean
MUX VLAN configuration
[pat (basic level) practice] - [simple mathematics] 1062 simplest fraction
SCM Chinese data distribution
Code review concerns
FFT 学习笔记(自认为详细)
The growth path of test / development programmers, the problem of thinking about the overall situation