how to compile asp.net 3.5 application?

B

Bob

Hi,

i have just installed . net framework 3.5.

With asp.net 2.0, i compiled my code like this:

cd \windows\microsoft.net\framework\v2.0.50727
aspnet_compiler -p "c:\inetpub\wwwroot\myapp" -v / c:\compiled\myapp -f

Is this still the right way with aspnet 3.5 or another compiler must be
used, but i can't find any aspnet_compiler file in directory
windows\microsoft.net\framework\v3.5 ?

Thanks

Bob
 
C

Cowboy \(Gregory A. Beamer\)

My assumption is the compiler in 2.0, updated with install of 3.5, is aware
of 3.0 and 3.5 assemblies, as both are just added on top of 2.0. If this is
the case, you can still use the compiler with 2.0.

I can see if I can determine what is going on when it compiles in Visual
Studio, as it also uses the command line compiler under the hood. I know the
bits were updated with the 3.5 install, so I would imagine the compiler was
also updated.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
 
B

Bob

Hi, thanks for replying.

When i checked the date of change of the file aspnet_compiler.exe, it has
still the old date (before installing 3.5). So ' don't think that file has
been modofied during installation of 3.5.

The question is sofar: how can that compiler based on aspnet 2.0 compile an
application based on 3.5 with its new features?
 
C

Cowboy \(Gregory A. Beamer\)

Did you load the RTM version of .NET 3.5? If so, it should have instaled SP1
of .NET 2.0 and SP1 of .NET 3.0. The date on the newest file is 10/24/2007.

You can download the SPs and the RTM of .NET 3.5 from the
http://www.microsoft.com/downloads site. If you do an advanced search and
sort by date, it should be in the top 20 or 30 newest downloads (set to 50
and you will find it, unless MS has loaded a bunch of new files today).

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
 
B

Bob

You're right: the date is 10/24/2007. So this new file indeed is aware of
the new features of . net 3.5 .
 
C

Cowboy \(Gregory A. Beamer\)

Not 100% sure, but it should be. I have not attempted a command line
compile.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top