ASP.NET compilation output

  • Thread starter Thread starter Rastko Soskic
  • Start date Start date
R

Rastko Soskic

Hi, everyone.
In previous version of ASP.NET, entire site (web project) was compiled
(built) into single assembly, so I could
import reference of the site's dll into (separate) project which contains
unit tests (later used with NUnit).

(VSNET2003 offers web projects to be added as reference into another
project)

But, now I have to use aspnet_compiler to compile site to assembly then to
reference that assembly
and then to run NUnit.... DAMN! I know this is complicated!

Actually, my question is: Is there a way to configure web app to be built
into assembly every time I build it?

I'm asking because VS2005 does not allow (offer) web site to be added as
reference to another project (OK that is logical :) )
Any ideas? Advices? Recommendations? Thanks in advance.
 
Hi,

Rastko said:
Hi, everyone.
In previous version of ASP.NET, entire site (web project) was compiled
(built) into single assembly, so I could
import reference of the site's dll into (separate) project which contains
unit tests (later used with NUnit).

(VSNET2003 offers web projects to be added as reference into another
project)

But, now I have to use aspnet_compiler to compile site to assembly then to
reference that assembly
and then to run NUnit.... DAMN! I know this is complicated!

Actually, my question is: Is there a way to configure web app to be built
into assembly every time I build it?

I'm asking because VS2005 does not allow (offer) web site to be added as
reference to another project (OK that is logical :) )
Any ideas? Advices? Recommendations? Thanks in advance.

If I understand you correctly, you want to use the Web Application
Project add-on to VS2005. It allows using the 1.1 compilation model for
web applications too.
http://webproject.scottgu.com/

*Caution*: The WAP is now part of Visual Studio 2005 Service pack 1. If
you want to install the service pack, you must first uninstall the WAP.

HTH,
Laurent
 
Thanks man! :)

Laurent said:
Hi,




If I understand you correctly, you want to use the Web Application
Project add-on to VS2005. It allows using the 1.1 compilation model for
web applications too.
http://webproject.scottgu.com/

*Caution*: The WAP is now part of Visual Studio 2005 Service pack 1. If
you want to install the service pack, you must first uninstall the WAP.

HTH,
Laurent
 
Back
Top