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. 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
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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
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...
|
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,...
|
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....
|
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....
| |
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...
|
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...
|
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...
|
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,...
|
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....
|
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,...
| |
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,...
|
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...
|
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...
|
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,...
|
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...
|
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...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |