csc error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • CSharper

    csc error

    When I try to compile a C# application using the command line code I
    am getting the following error;

    App.xaml.cs(lin e,column): error cs0246: The type or namespace name
    'Application' could not be found

    I tried looking for System.* under c:\windows\micr osoft.net\frame work
    \v3.5 and there are no system.* dlls found, on the other hand I can
    find them in v2.0

    Am I suppose to use command line reference /r and specify all the dlls
    required for this project against v2.0 or am I looking at wrong places
    for v3.5?

    Thanks.
  • Ben Voigt [C++ MVP]

    #2
    Re: csc error

    CSharper wrote:
    When I try to compile a C# application using the command line code I
    am getting the following error;
    >
    App.xaml.cs(lin e,column): error cs0246: The type or namespace name
    'Application' could not be found
    >
    I tried looking for System.* under c:\windows\micr osoft.net\frame work
    \v3.5 and there are no system.* dlls found, on the other hand I can
    find them in v2.0
    >
    Am I suppose to use command line reference /r and specify all the dlls
    required for this project against v2.0 or am I looking at wrong places
    for v3.5?
    ..NET 3.x uses the .NET 2.0 dlls plus some more (WCF, WPF, and so on).
    >
    Thanks.

    Comment

    Working...