简体   繁体   English

在Windows XP上使用sha256RSA算法签名的Visual Studio 2013(更新5)中内置的应用程序

[英]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.

相关问题 Visual Studio 2013:适用于Windows XP的Build - Visual Studio 2013: Build for Windows XP 适用于 Windows XP 的 Visual Studio 2013 安装程序 - visual studio 2013 installer for windows xp Windows XP中的Visual Studio 2013远程调试过程 - Visual Studio 2013 remote debug process in Windows XP Visual Studio 2013 Windows窗体应用程序无法在Windows 7上运行 - Visual Studio 2013 Windows forms application not working on windows 7 是否可以在visual studio 2013 update 2中创建一个新的Windows Phone 8项目? - Is it possible to create a new windows phone 8 project in visual studio 2013 update 2? 最新的Windows 10更新后Visual Studio 2013发布崩溃 - Visual Studio 2013 publish crash after newest windows 10 update 在 Unity3D 中使用 OAEP 和 SHA256 哈希算法的 RSA 加密 - RSA encryption using OAEP with SHA256 hash algorithm in Unity3D Windows XP SP2中的System.Security.Cryptography.CryptographicException(签名算法)-Visual Studio 13项目 - System.Security.Cryptography.CryptographicException (signature algorithm) in Windows XP SP2 - visual studio 13 project 验证使用RSA 2048位密钥,SHA256算法和PKCSv1.5填充生成的签名 - Verify signature generated with RSA 2048-bit key, SHA256 algorithm and PKCSv1.5 padding 使用 SHA-256 哈希算法使用 PSS 填充和 MGF1 掩码的 C# RSA 签名 - C# RSA signing with PSS padding and a MGF1 mask using a SHA-256 hash algorithm
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM