C# 无法在Visual studio 2015上发布CefSharp.minimal示例
我希望通过以下方式使用visual studio 2015发布示例应用程序(生成.exe文件):Debug-cefsharpmiminal.Example.WinForm properties-publish now,但仍然会出现以下错误: 找不到文件“Microsoft.Windows.Common-Controls,Version=6.0.0.0,Culture=,PublicKeyToken=6595b64144ccf1df,ProcessorArchitecture=,Type=Win32” 由于我没有编辑示例应用程序提供的源代码中的任何内容,所以我不明白哪里出了问题C# 无法在Visual studio 2015上发布CefSharp.minimal示例,c#,visual-studio,visual-studio-2015,cefsharp,C#,Visual Studio,Visual Studio 2015,Cefsharp,我希望通过以下方式使用visual studio 2015发布示例应用程序(生成.exe文件):Debug-cefsharpmiminal.Example.WinForm properties-publish now,但仍然会出现以下错误: 找不到文件“Microsoft.Windows.Common-Controls,Version=6.0.0.0,Culture=,PublicKeyToken=6595b64144ccf1df,ProcessorArchitecture=,Type=Win3
我也遇到了同样的问题,我通过删除或注释文件app.mainfiest中的这一行来修复它(在您看到错误的项目中):
该错误与电脑中找不到的参考文件有关,但Win32处理器体系结构看起来不是有效的体系结构。不管怎么说,似乎有人已经拥有了与您相同的功能。如果可以,请避免使用clickonce。试试squirrel Windows安装程序。如果删除该应用程序清单条目,工具提示将不起作用。
<!-- Enable themes for Windows common controls and dialogs (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>-->