当前位置:网站首页>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>边栏推荐
- Zhuhai laboratory ventilation system construction and installation instructions
- Huawei Hrbrid interface and VLAN division based on IP
- [day 30] given an integer n, find the sum of its factors
- Leetcode1961. Check whether the string is an array prefix
- [Yu Yue education] Liaoning Vocational College of Architecture Web server application development reference
- Who knows how to modify the data type accuracy of the columns in the database table of Damon
- Code review concerns
- 网易智企逆势进场,游戏工业化有了新可能
- Code Review关注点
- Ordinary people end up in Global trade, and a new round of structural opportunities emerge
猜你喜欢

晶振是如何起振的?

Hcip---ipv6 experiment

Recommended areas - ways to explore users' future interests

Vulhub vulnerability recurrence 75_ XStream

Mlsys 2020 | fedprox: Federation optimization of heterogeneous networks

Fibonacci number

Four dimensional matrix, flip (including mirror image), rotation, world coordinates and local coordinates

Unity | 实现面部驱动的两种方式

Finding the nearest common ancestor of binary search tree by recursion
![[技术发展-28]:信息通信网大全、新的技术形态、信息通信行业高质量发展概览](/img/94/05b2ff62a8a11340cc94c69645db73.png)
[技术发展-28]:信息通信网大全、新的技术形态、信息通信行业高质量发展概览
随机推荐
[day 30] given an integer n, find the sum of its factors
How to get all sequences in Oracle database- How can I get all sequences in an Oracle database?
DOM introduction
VMware Tools安装报错:无法自动安装VSock驱动程序
Four commonly used techniques for anti aliasing
Some features of ECMAScript
Leetcode 208. Implement trie (prefix tree)
Modify the ssh server access port number
Zhuhai laboratory ventilation system construction and installation instructions
3D vision - 4 Getting started with gesture recognition - using mediapipe includes single frame and real time video
Leetcode1961. 检查字符串是否为数组前缀
3D视觉——4.手势识别(Gesture Recognition)入门——使用MediaPipe含单帧(Singel Frame)和实时视频(Real-Time Video)
XSS learning XSS lab problem solution
Five challenges of ads-npu chip architecture design
Recursive method converts ordered array into binary search tree
Zhuhai's waste gas treatment scheme was exposed
Distributed base theory
有谁知道 达梦数据库表的列的数据类型 精度怎么修改呀
Live video source code, realize local storage of search history
1791. Find the central node of the star diagram / 1790 Can two strings be equal by performing string exchange only once