Installing .NET application missing Microsoft.Cryptography.DKM in GAC

久未见 提交于 2019-12-11 13:19:57

问题


I have developed a Console app for Lync 2013 in VS 2012, targeting .NET 4.0. I have successfully installed the application on my own machine, but now I need to run it on another client, and I get this strange error. I have Googled the error, but have not found anything useful.

The error is in danish, but tells me that I am missing Microsoft.Cryptography.DKM version 1.11.0.0 in GAC.

I have not seen this error before, and it seems like it is not a common error, as it is hard to find any information about this on the internet.

Any advise any suggestions are very welcome.


回答1:


I solved the issue by including all the assemblies from the UMCA 4.0 api, that was used in the project, which solved the issue. I was confused by this for me unknown assembly Microsoft.Cryptography.DKM.

Thank you Csaba Toth, for pointing me in the right direction. If you will write your comment as a reply to my question, I will mark it as the correct solution.




回答2:


Since I just had the same problem and this answer is not really clear: Go to Project->xxxProperties In the Publish tab click "Application files" Change "Publish status" from "Prerequisite" to "Include"



来源:https://stackoverflow.com/questions/18133471/installing-net-application-missing-microsoft-cryptography-dkm-in-gac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!