Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version=2.0.50727.0' 问题
来源:互联网 发布:mac win10镜像免激活 编辑:程序博客网 时间:2024/06/14 18:35
今天Publish Solution的时候遇到了这个错误:Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version=2.0.50727.0' 感到很诧异,CLR都找不到了,还混个P啊~!
后来查查资料,网上说这是因为Solution有多个入口程序而导致的。个人组织了三种解决方案:
1.Solution中保证只有一个Project编译为Windows Application,其他的编译为Class Library。(Project右键Property,Application选项卡,Output type选项)
2.如果确实需要生成多个exe文件,确保取消Enable ClickOne Security Settings复选框。(Project右键Property,Security选项卡)
3.如果需要保留此安全选项,可以把exe的项目引用删掉,改为exe文件的引用。
后来查查资料,网上说这是因为Solution有多个入口程序而导致的。个人组织了三种解决方案:
1.Solution中保证只有一个Project编译为Windows Application,其他的编译为Class Library。(Project右键Property,Application选项卡,Output type选项)
2.如果确实需要生成多个exe文件,确保取消Enable ClickOne Security Settings复选框。(Project右键Property,Security选项卡)
3.如果需要保留此安全选项,可以把exe的项目引用删掉,改为exe文件的引用。
0 0
- Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version=2.0.50727.0' 问题
- Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version=2.0.50727.0' 问题
- 找不到文件 ' Microsoft.Windows.CommonLanguageRuntime, Version = 2.0.50727.0 '
- 错误 MSB3113: 找不到文件 ' Microsoft.Windows.CommonLanguageRuntime, Version = 2.0.50727.0 '
- VS2015解决问题 Could not load file or assembly 'Microsoft.VisualStudio.ConnectedServices, Version=2.0.0.
- 屏保 问题 could not find the file
- Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutra...
- Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=11.0.0.0, Culture=n
- FileNotFoundException, Could not find file 'C:\WINDOWS\TEMP\wpbzwlwo.dll'.
- Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=11.0.0.0 系统找不到指定的文件
- SAP3.0相关问题,Could not load file or assembly 'sapnco, Version=3.0.0.42
- CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64\Temporary ASP.NET File
- Could not load file or assembly 'vjscor, Version=2.0.0.0, Culture=neutral, 问题解决方法
- Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e94
- Asp.Net 关于Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e
- Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e94
- Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e94
- Visual Studio2015 publish Could not find file *****
- Python *与** 参数问题
- STM32软件复位(基于库文件V3.5)
- linux uevent分析
- django log问题
- linux如何运行.bin文件
- Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version=2.0.50727.0' 问题
- 关于java文件下载文件名乱码问题解决方案
- 一个点击背景变色的JAVA小程序
- HDU4630(树状数组,离线)
- IOS 加载地图
- 第九周 项目2 对称矩阵压缩存储的实现与应用(相加、相乘)
- C++ STL queue化繁为简介绍
- Spring事务管理-回滚
- Java Web开发中前后端分离的技术方案和优缺点