2016-04-26 51 views
0

我正在爲個人開發編寫一些nuget包,而且我有一些依賴關係的問題。我正在編寫一個安全包,我需要System.Security.Cryptography,並且我可以添加使用語句(當導航欄位於Framework而不是Client時),但是隻要我嘗試構建,我會收到很多錯誤,告訴我CryptographySystem.Security命名空間中不存在。難道Nuget軟件包不支持System.Security?或者我錯過了什麼?Nuget包沒有找到和/或使用System.Security.Cryptography

回答

1

首先添加參考System.Security到您的解決方案,並建立解決方案然後添加System.Security.Cryptography您solutions..Its爲我的作品...

enter image description here

enter image description here

+0

謝謝爲你的答案,但它不適合我。我剛剛結束了使用一個庫,然後包裝的DLL。 – RhysO

相關問題