I'm using some automated deployment scripts to precompile, merge and upload my ASP.NET 2.0 websites. Until my upgrade to v3.5 Beta2 I simply used the aspnet_compiler application to precompile my webs: "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe"
-v %1 -f -fixednames %1
With the 3.5 Version of the Framework there's no more aspnet_compiler.exe - at least not where it used to be. With Visual Studio 2008 I'm still able to precompile, though, but I want to be able to deploy my webs without Visual Studio. Does anyone know where
I can find the "new" aspnet_compiler file or how I can automatically precompile (if possible without msbuild, I want to keep it as simple and lightweight as possible).
When you open the Visual Studio 2008 Beta 2 Command prompt you can run aspnet_compiler.exe
When you have asked a question, remember to click "Mark as answered" for a reply that answered your question. This ensures the right forum member gets credits (and it makes search more relevant too).
Thanks for your suggestion, but I think it opens the "old" aspnet_compiler there. I've the german version of the 2.0 framework installe, but the english one of the 3.5b2 - and aspnet_compiler greets me in german.
There is no aspnet_compiler in .NET 3.5 because .NET 3.5 does not include ASP.NET. The latest version of ASP.NET was released as a part of the .NET Framework 2.0; howerver, since .NET 2.0 is a subset of the .NET Framework 3.5, you will find the aspnet_compiler
in the same directory (%WINDIR%\Microsoft.NET\Framework\v2.0.50727\).
SAXsucks
Member
284 Points
67 Posts
Where is aspnet_compiler.exe in .NET 3.5?
Sep 03, 2007 11:06 AM|LINK
Hi,
I'm using some automated deployment scripts to precompile, merge and upload my ASP.NET 2.0 websites. Until my upgrade to v3.5 Beta2 I simply used the aspnet_compiler application to precompile my webs: "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe" -v %1 -f -fixednames %1
With the 3.5 Version of the Framework there's no more aspnet_compiler.exe - at least not where it used to be. With Visual Studio 2008 I'm still able to precompile, though, but I want to be able to deploy my webs without Visual Studio. Does anyone know where I can find the "new" aspnet_compiler file or how I can automatically precompile (if possible without msbuild, I want to keep it as simple and lightweight as possible).
Thanks
~ Hannes
michielvoo
Participant
1256 Points
175 Posts
Re: Where is aspnet_compiler.exe in .NET 3.5?
Sep 04, 2007 07:59 AM|LINK
When you open the Visual Studio 2008 Beta 2 Command prompt you can run aspnet_compiler.exe
SAXsucks
Member
284 Points
67 Posts
Re: Where is aspnet_compiler.exe in .NET 3.5?
Sep 04, 2007 09:48 AM|LINK
Thanks for your suggestion, but I think it opens the "old" aspnet_compiler there. I've the german version of the 2.0 framework installe, but the english one of the 3.5b2 - and aspnet_compiler greets me in german.
~ Hannes
MetalJon
Member
28 Points
11 Posts
Re: Where is aspnet_compiler.exe in .NET 3.5?
Sep 04, 2007 05:06 PM|LINK
There is no aspnet_compiler in .NET 3.5 because .NET 3.5 does not include ASP.NET. The latest version of ASP.NET was released as a part of the .NET Framework 2.0; howerver, since .NET 2.0 is a subset of the .NET Framework 3.5, you will find the aspnet_compiler in the same directory (%WINDIR%\Microsoft.NET\Framework\v2.0.50727\).
SAXsucks
Member
284 Points
67 Posts
Re: Where is aspnet_compiler.exe in .NET 3.5?
Sep 05, 2007 11:41 AM|LINK
Thanks a lot, MetalJon - the answer was as easy as that :)