Jeff,
The .NET Framework SDK is actually installed as part of Visual Studio. You
will see it as an installation option in the Visual Studio setup program.
Because the SDK and VS are tied together you are not given an option at
install time to choose the installation directory. The install path is set
based on your VS install path. Even so, I am suprised to hear that after
installing the SDK you could not compile your application with Visual
Studio. You actually don't need the SDK to compile from the command line.
Just set your path to include the framework directory. Then you can use csc
from the command prompt.
Example:
set path=%path%;%windir%\Microsoft.NET\Framework\v1.1.4322
If you did not make any changes to your application and it does not compile
after installing the SDK it is likely do the SDK changing your environment
settings. Type "set" at the command prompt to see your current environment
variables and see if anything looks incorrect. If your environment looks
correct I would try removing the SDK via Add/Remove programs in the Windows
Control Panel. After that if VS still fails to work properly you should try
repairing your Visual Studio installation via Add/Remove programs.
Jason [MS-SDK]
--------------------
[quoted text, click to view] >Thread-Topic: How to uninstall .NET Framework SDK?
>thread-index: AcPmpL5G3wxGtqKwSf6IWBkofgcOUw==
>X-Tomcat-NG: microsoft.public.dotnet.framework.sdk
>From: "=?Utf-8?B?UnlweXI=?=" <anonymous@discussions.microsoft.com>
>Subject: How to uninstall .NET Framework SDK?
>Date: Thu, 29 Jan 2004 12:16:13 -0800
>Lines: 18
>Message-ID: <E37F644B-BE57-4F4B-A0E6-F876C9E9F167@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.dotnet.framework.sdk
>Path: cpmsftngxa07.phx.gbl
>Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.sdk:8624
>NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
>X-Tomcat-NG: microsoft.public.dotnet.framework.sdk
>
>Please Help!
Last night I was coding away in VC .NET 2003 to my hearts content. Then I
thought I would install the .NET Framework SDK (1.1) so I could play with
C# from the command line. I noticed that I didn't have a choice as to
where I wanted to install it (although the installer says choose directory,
it was hard-coded and I could not see it all because the path was too long.
After doing so, I can no longer build anything in Visual Studio. I create
a new Win32 Console application, click "Build" and I get an error upon
building:
Build log was saved at "file://c:\ld\perf\testy\Debug\BuildLog.htm"
testy - 1 error(s), 0 warning(s)
I checked BuildLog.htm and no information is given about this error. No
information at all. Nada.
1) How to uninstall the framework and (hopefully) repair the damage to VS?
2) How to compile C# programs from teh command-line without installing the
framework? I was able to build C# programs from VS but couldn't find the
csc.exe compiler.
Thanks!
Jeff
[quoted text, click to view] >