Go to Tools|Options and open the Projects|VC++ Directories page. Set the combo box to "Library Files" and make sure you have an entry "$(FrameworkSDKDir)lib". On my system it was second from last, but that shouldn't matter.
If it isn't there you probably also need to add "$(FrameworkSDKDir)include
If it is there, or you can't find the dialog I am talking about, make sure you are making a managed C++ project since unmanaged projects will not link to .NET dlls. If this is not VS.NET or VS.NET 2003 you cannot link to .NET dlls.
Hope this helps.
Main Topics
Browse All Topics





by: lakshman_cePosted on 2004-04-01 at 07:19:49ID: 10732707
Is this in Visual Studio.NET? I guess System.NET dll belongs to .NET..
-Lakshman