473,507 Members | 12,693 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET compilation output

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.

Dec 20 '06 #1
2 1091
Hi,

Rastko Soskic wrote:
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
Dec 20 '06 #2
Thanks man! :)

Laurent Bugnion wrote:
Hi,

Rastko Soskic wrote:
>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
Dec 20 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1546
by: Ray | last post by:
Hi, I am receiving this message in the output during compilation; it is not an error nor a warning. I have <myAssembly> as a library assembly included as part of my solution, and I have also...
4
2056
by: aladdin | last post by:
Hi, I wonder what's the difference of compilation between using command line and using VS.NET IDE. For I have a windows service program, there's always a difference between the output file...
11
2539
by: Michael Gaab | last post by:
Compilation in c generally has four phases 1. Preprocessing 2. Compilation 3. Assembly 4. Linking. If I use a flag that will not link the code, order of compilation is not an issue,...
6
2213
by: Joachim | last post by:
I made some project changes (which seems it doesn't help if I undo) which have created compilation error: " Server Error in '/PCSWebApp1' Application....
0
1508
by: Jie | last post by:
Does anyone know why I keep having the following error. I have to rebuild the solution every time I run it in design mode. thanks jie Server Error in '/ReapPortal' Application....
6
2868
by: Plat | last post by:
I've Googled this for a while, to no avail. Hopefully someone can help me. Maybe I'm using the wrong terminology. Here's the scoop! Let's say I've got a simple *.ASPX page that has a syntax...
6
1520
by: thomson | last post by:
Hi all, I have compiled by .net web applicaion in my local machine , and a dll has been created on the bin Directory, And i have copied the entire application using xcopy deployment to a...
5
1481
by: genc_ymeri | last post by:
Hi over there, We are a team of 6 developping web applications (ASP.Net/C#/VB.Net/SQLServer). What happens is that randomly, each of us get the below error in (PS). We believe that the "acess is...
9
2318
by: subramanian | last post by:
Hello. Consider the following code fragment : enum TestEnum { val1 = 10, val2 = 100, val3 = 1000 }; class Test { public : enum TestEnum { val1 = 1, val2 val3 }; Test(int i = 0, int j = 0,...
35
2983
by: mwelsh1118 | last post by:
Why doesn't C# allow incremental compilation like Java? Specifically, in Java I can compile single .java files in isolation. The resulting individual .class files can be grouped into .jar files....
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7314
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7030
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.