Problem with: 'DirectoryServices' does not exist in the namespace 'System'

  • Thread starter Thread starter Gaab
  • Start date Start date
G

Gaab

Hi Folks,

After the weekend I wanted to start working on my c#/asp.net project, but
when I tried to open it on my machine i got the following error:

Compilation Error

Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.

Compiler Error Message: CS0234: The type or namespace name
'DirectoryServices' does not exist in the namespace 'System' (are you
missing an assembly reference?)

Source Error:



Line 1: using System;
Line 2: using System.DirectoryServices;
Line 3: using ASPNET.StarterKit.IssueTracker.DataAccessLayer;
Line 4:


Source File: c:\(...)\Software.cs Line: 2

The System.DirectoryServices is included in the project references, even
tried to remove and add it again, but keeps giving the same error when I try
to reach the project via the browsers, it builds & rebuilds without problems
in vs.net.

Any suggestions?

Greets,
Gab
 
Hi Folks,

Problem solved: I installed some Express applications of the dot.net 2.0
previews, which made 2.0 the default version to use on iis.

Greet,
Gab
 
Back
Top