In Microsoft Visual Web Developer 2005 Express Edition, I can't find the type System.Guid
. Is there problem with my version or do I have another problem? System.Guid
is not recognized in IntelliSense.
views:
33answers:
3
+2
A:
You need to import the proper assemblies, and reference the correct namespaces. Make sure have a reference to mscorlib.dll
in your project, and that the System
namespace is imported in the code file (or type System.Guid
instead of just Guid
).
To add a reference to a C# project, right click "References", choose "Add reference..." and pick the assembly in the list (or browse, or reference another one of your projects, or whatever you need to do).
In VB.NET, you instead open the project properties (double-click "My Properties") and choose the tab "References" on the left.
Tomas Lycken
2010-07-16 11:49:50
yes i did as u said bro but now also same problem
2010-07-16 12:01:34
Then, as Chris pointed out, do you have a class named `System` somewhere in your project?
Tomas Lycken
2010-07-16 12:17:55
A:
I've seen a issue like this before. Have you defined a class called System
?
Failing that check your references as directed in Tomas's post.
Chris Diver
2010-07-16 11:52:05