问题描述
Hi ,
语言:C#
.NET 4.0框架
Windows应用程序.
Windows application.
VS2012
我从Microsoft.Common获取了'OSVersion'的无效值.vs2012中的Targets构建错误
I am getting a Invalid value for 'OSVersion' from Microsoft.Common.Targets build error in vs2012
http://social .msdn.microsoft.com/Forums/zh-CN/msbuild/thread/d1117ffb-de40-4c4f-88c3-77214208ac9f
添加
< PropertyGroup>
< OSVersion></OSVersion>
</PropertyGroup>
<PropertyGroup>
<OSVersion></OSVersion>
</PropertyGroup>
抑制构建解决方案时的错误.但是在发布解决方案时,
suppress the error when you build solution .But while publising it gives
签名时发生错误:密钥在指定状态下无效."-它来自Microsoft.Common.Targets文件.
"An error occurred while signing: Key not valid for use in specified state."--It is orginating from Microsoft.Common.Targets file.
.过去的6个月中,我一直没有出现此问题.今天浮出水面.
.I have been working on last 6 months without this issue .It surfaced today.
我尝试了以上解决方案中,我打开文件并查找属性.但是我找不到.
I tried the above solution, i opened the file and looked for the attributes .but I could not able to find .
它不存在.请让我知道其他处理问题的方法.
It dosen't exist .Please let me know other way to handel issue.
Harishankar
Harishankar
推荐答案
谢谢您的发帖.
我们有一个针对此问题的MSBuild论坛.为了提供更好的支持,我将移动此线程.
最诚挚的问候,
这篇关于来自的"OSVersion"的值无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!