Visual Studio 2005
Hi,
Background: I'm a Java programmer new to c# and Visual Studio.
Problem: When I compile in Visual Studio 2005, the compiler complains,
that it can not find several different namespaces. Examples:
Error 1 The type or namespace name 'Soap' does not exist in the
namespace 'System.Runtime.Serialization.Formatters' (are you missing an
assembly reference?)
Error 2 The type or namespace name 'Drawing' does not exist in the
namespace 'System' (are you missing an assembly reference?)
When I compile from the command prompt there are no problems.
What can be wrong? It seems like Visual Studio is somehow not including
the full API.
Kind regards,
Mads Peter Nymand
.
Relevant Pages
- Re: custom namespaces
... and for which I think I must need to compile ... it so that the code behind can actually see/find reference to the custom ... I'm trying to create custom a namespace for use ... (microsoft.public.dotnet.framework.aspnet) - Re: Property of Custom Control
... Visual Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows ... You must add a reference to assembly ... TextBoxEx.cs: error CS0234: The type or namespace name ... When I am using Desktop assemblies I have no problem ... (microsoft.public.dotnet.framework.compactframework) - Re: Where is System.Collections when using csc.exe
... Namespaces are not required to have their types completely contained within an assembly, so asking where the types for a namespace are located doesn't make much sense. ... By default, csc should make a reference to mscorlib.dll automatically, so it seems like it should work to me. ... If you compile this from the command line yourself, ... Visual Studio C# Express 2005 doesn't have a problem with them though, and can compile my code without errors. ... (microsoft.public.dotnet.languages.csharp) - Re: Old website mix with asp.net 2
... I tried to create the new website in VS 2005, then add my new aspx pages, it fine, I can compile and run. ... I want to include the "Employee" namespace in the using clause but the compilar did not find that. ... When you want to use classes defined in an external assembly, you must add a reference to it in your project. ... (microsoft.public.dotnet.framework.aspnet) - Re: Creating a custom class/Namespace
... >> How then would I reference this in a new Web Application ... To compile a single source code file, ... If you need to reference a .Net Framework assembly or assemblies, ... I get the message in the compiler output that my namespace ... (microsoft.public.dotnet.framework.aspnet) |
|