A reference to 'mscorlib' cannot be added
-
Hi, I am working .net 3.5 version. I am developing windows application. I need to add reference the mscorlib dll from the microsoft reference , but i cannot able to do that instead of i got this error as follows, "A reference to 'mscorlib' could not be added' this component is automatically added by the project system and cannot be referenced directly". So how to resolve this problem.. Can u please explain me... Thanks & regards, kannak......
kannak
sekannak wrote:
I need to add reference the mscorlib dll
why is that?? I never felt a need to add it, as it is always present. It is the core of .NET (you could check with Reflector). :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
-
Hi, I am working .net 3.5 version. I am developing windows application. I need to add reference the mscorlib dll from the microsoft reference , but i cannot able to do that instead of i got this error as follows, "A reference to 'mscorlib' could not be added' this component is automatically added by the project system and cannot be referenced directly". So how to resolve this problem.. Can u please explain me... Thanks & regards, kannak......
kannak
sekannak wrote:
instead of i got this error as follows, "A reference to 'mscorlib' could not be added' this component is automatically added by the project system and cannot be referenced directly".
Just like the error says, it's self explanatory. Besides, why do you want to reference it? tell me exactly what you want to do with thi dll, Morg
-
Hi, I am working .net 3.5 version. I am developing windows application. I need to add reference the mscorlib dll from the microsoft reference , but i cannot able to do that instead of i got this error as follows, "A reference to 'mscorlib' could not be added' this component is automatically added by the project system and cannot be referenced directly". So how to resolve this problem.. Can u please explain me... Thanks & regards, kannak......
kannak
-
Well huh? If it is not present, that means you explicitly checked that one checkbox in the advanced build settings that says "Do not reference mscorlib.dll" - just uncheck that
-
Hi, I am working .net 3.5 version. I am developing windows application. I need to add reference the mscorlib dll from the microsoft reference , but i cannot able to do that instead of i got this error as follows, "A reference to 'mscorlib' could not be added' this component is automatically added by the project system and cannot be referenced directly". So how to resolve this problem.. Can u please explain me... Thanks & regards, kannak......
kannak
-
Hi, I need to use password Encryption file, the file is below "unix_md5_crypt" I am not sure, for that i need to reference the mscorlib dll. can u explain me plz...
kannak
-
Hi, I am working .net 3.5 version. I am developing windows application. I need to add reference the mscorlib dll from the microsoft reference , but i cannot able to do that instead of i got this error as follows, "A reference to 'mscorlib' could not be added' this component is automatically added by the project system and cannot be referenced directly". So how to resolve this problem.. Can u please explain me... Thanks & regards, kannak......
kannak
-
Hi, I need to use password Encryption file, the file is below unix_md5_crypt Fot that i came to know, to include the the reference , am not sure. Can u please explain ...
kannak
You don't need to add a reference to mscorlib. All you do is import the System.Cryptography namespace and the classes will be available to you without having to specify the entire namespace path to it. DId you also realize that MD5 is considered to be broken by the entire industry? It's easily cracked now.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009... -
Well huh? If it is not present, that means you explicitly checked that one checkbox in the advanced build settings that says "Do not reference mscorlib.dll" - just uncheck that
-
Hi, I am working .net 3.5 version. I am developing windows application. I need to add reference the mscorlib dll from the microsoft reference , but i cannot able to do that instead of i got this error as follows, "A reference to 'mscorlib' could not be added' this component is automatically added by the project system and cannot be referenced directly". So how to resolve this problem.. Can u please explain me... Thanks & regards, kannak......
kannak
sekannak wrote:
I need to add reference the mscorlib dll
No you don't. Core.dll, maybe, but not mscorlib dll.