Connecting Tech Pros Worldwide Forums | Help | Site Map

ASP.NET compilation output

Rastko Soskic
Guest
 
Posts: n/a
#1: Dec 20 '06
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.






Laurent Bugnion
Guest
 
Posts: n/a
#2: Dec 20 '06

re: ASP.NET compilation output


Hi,

Rastko Soskic wrote:
Quote:
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
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Rastko Soskic
Guest
 
Posts: n/a
#3: Dec 20 '06

re: ASP.NET compilation output


Thanks man! :)

Laurent Bugnion wrote:
Quote:
Hi,
>
Rastko Soskic wrote:
>
Quote:
>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
Closed Thread