2012-12-08 57 views
-3

我正在使用聯機IDE(http://www.frosthawk.net/)運行我的C#代碼,編譯後出現錯誤錯誤ID:CS0234,錯誤:類型或名稱空間名稱'Xml'不存在於命名空間'System.Security.Cryptography'中

錯誤ID:CS0234,錯誤:名稱空間System.Security.Cryptography中不存在類型或名稱空間名稱'Xml'(缺少程序集引用?),行:26,列:36

誰能告訴我如何將此引用添加到我的代碼whicle使用在線IDE,因爲我不能右擊並補充說,我們用通常做

參考10
using System; 
    using System.Security.Cryptography; 
    using System.Security.Cryptography.X509Certificates; 
    using System.Security.Cryptography.Xml; 
    using System.Text; 
    using System.Xml; 

    public class SignVerifyEnvelope 
    { 

    public static void Main(String[] args) 
    { 
    try 
    { 

    ...... 
+2

在你原來的標題中有什麼與這個鏈接? http://stackoverflow.com/questions/4410258/c-sharp-visual-studio-adding-references-programmatically – BoltClock

回答

0

也許你錯過了這一點:

// IMPORTANT How-To-Use:

// # Add/Manage References by clicking the 'References' link

// # Manage Your Build Settings by clicking the 'Settings' link

單擊引用,並解決您參考。

如果您不確定需要哪種引用,則可能需要瀏覽MSDN尋求幫助。這裏的參考是 System.Security命名空間。

相關問題