I have recently taken up development of C# code. I come from a C/C++ and Java background. The language is not an issue... at least not yet. My problems lies within the command line interface provided by Microsoft. Namely csc.exe.
The target system has the .Net 1.0, 2.0, 3.0, and 3.5 frameworks installed. It also has the .Net 2.0 SDK and the "Windows SDK for Windows Server 2008 and .NET Framework 3.5". I need to compile under the .Net 3.5 framework to take advantage of the System.DirectoryServices.AccountManagement namespace.
I launch the SDK command line utility and attempt to compile my *.cs file. No matter which command line utility I use I am still compiling under the .Net 2.0 framework. As such I receive an error to the effect of, "AccountManagement" is not a member of the "System.DirectoryServices" namespace. The exact error wording eludes me as it is produced on my work system. (Yes I am working from home currently...)
Please kindly provide me with some insight as to what I am doing wrong. I will update this post with further information from work tomorrow unless some brilliant soul can solve my issue before I get in in the morning!
**Edit** Not to be a new D.I.C. Head... If there is a searchable solution to this I cannot find it.
Thanks for reading about my troubles!
This post has been edited by Billzum: 25 August 2011 - 05:51 PM