Share via


Where is aspnet_regiis ?

Question

Sunday, September 9, 2007 12:34 AM

I just installed the .NET Framework 3.5 Beta 2 on a Windows 2003 web server to publish a project there, but the installation didn't turn on asp.net 3.5.

I can't find a version of aspnet_regiis for .NET 3.5, so how to I install asp.net 3.5? I don't have to install all of visual studio 2008 to get it, right?

All replies (3)

Tuesday, September 11, 2007 7:11 PM âś…Answered

It turns out that ASP.NET 3.5 runs on top of ASP.NET 2.0, almost like a service pack. The following needs to be added to your web.config before .NET 3.5 language features will compile:

<system.codedom>

<compilers>

<compiler language="c#;cs;csharp" extension=".cs" compilerOptions="/warnaserror-" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

<providerOption name="CompilerVersion" value="v3.5"/>

</compiler>

<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" compilerOptions="/optioninfer+ /optionstrict+" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

<providerOption name="CompilerVersion" value="v3.5"/>

</compiler>

</compilers>

</system.codedom>


Sunday, September 9, 2007 3:42 AM

i do not know if you are looking for the location of aspnet_regiis, but if yes it is as below;

 %windows root directory%\Microsoft.NET\Framework\version

and read this article about vs 2008

http://weblogs.asp.net/scottgu/archive/2007/07/26/vs-2008-and-net-3-5-beta-2-released.aspx

http://msdn.microsoft.com/en-us/library/k6h9cz8h.aspx


Tuesday, September 11, 2007 3:08 PM

.NET 1.1 and .NET 2.0 have a version of aspnet_regiis located there, but .NET 3.5 does not.

 How do I enable .NET 3.5 on IIS 6? I tried simply installing .NET 3.5, but I can't find the option to enable .NET 3.5 on my web sites. (The ones that are trying to use it don't work).