[英]Application built in Visual studio 2013(update 5) signed with sha256RSA algorithm on windows XP
We are working on an windows form application (target framework - 3.5) which is built in visual studio 2013 update 5 and signing algorithm is sha256RSA . 我们正在开发在Visual Studio 2013 Update 5中构建的Windows窗体应用程序(目标框架-3.5) ,签名算法为sha256RSA 。
Before when we were on visual studio 2008, It was being installed in windows XP with same signing algorithm, but after migrating on visual studio 2013, our application needs minimum .NET framework 4.5 to be installed (which is not possible for windows xp) 在使用Visual Studio 2008之前,它已使用相同的签名算法安装在Windows XP中,但是在Visual Studio 2013上进行迁移之后,我们的应用程序需要安装的最低.NET Framework 4.5(对于Windows XP无法实现)
I m building click once deployment using msbuild in Nant script and by doing so I m getting Error saying "MyApp.application : manifest may not be valid or file could not be opened". 我在Nant脚本中使用msbuild构建一次部署 ,然后这样做,我收到错误消息,提示“ MyApp.application:清单可能无效或无法打开文件”。 but if I try to publish the same project with same signing algorithm from visual studio itself it is all fine even in widows XP. 但是,如果我尝试从Visual Studio本身使用相同的签名算法发布相同的项目,即使在Windows XP中也可以。
I came to know that sha256RSA is suppoted in .NET 4.5 or above and for lower version I should use sha1 algorithm. 我知道sha256RSA在.NET 4.5或更高版本中受支持,对于较低版本,我应该使用sha1算法。
But if it is so, how can Visual studio can build such installation which can be successfully installed in an environment with .NET framework 3.5 (EG in windows XP) 但是,如果是这样的话,Visual Studio如何构建可以在.NET Framework 3.5(Windows XP中为EG)的环境中成功安装的安装。
For me, Problem was " mage.exe ". 对我来说,问题是“ mage.exe ”。
Before when we were on visual studio 2008 and while building click once setup we were using mage.exe 3.5.30729.1 在使用Visual Studio 2008和构建单击一次设置之前,我们使用的是mage.exe 3.5.30729.1
while we moved to visual studio 2013, we were using advanced version of mage. 当我们移至Visual Studio 2013时,我们使用的是高级版本的法师。
when I replaced that mage with mage '3.5.30729.1', it worked fine. 当我用“ 3.5.30729.1”代替那位法师时,它可以正常工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.