473,471 Members | 1,684 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

post compilation script

I want to write a script to be executed whenever i build my web application
in 'release' mode. What it does is that it gets the newly generated dll and
places it in another folder. I tried to use the build events, but they are
only present in a normal windows application. Why is this not present in a
web application properties and is there a work around for this?

Thanks
Nov 19 '05 #1
3 1472
Hi Loui:

I don't know why they didn't make post build events available.

One work around is to add a dummy c# class library project with a
dependancy on the real project, and add a build event script.

Another work around is to forego VS.NET altogether for another build
tool, like Nant (http://nant.sourceforge.net/).

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 15 Feb 2005 09:40:39 +0100, "Loui Mercieca" <lo**@gfi.com>
wrote:
I want to write a script to be executed whenever i build my web application
in 'release' mode. What it does is that it gets the newly generated dll and
places it in another folder. I tried to use the build events, but they are
only present in a normal windows application. Why is this not present in a
web application properties and is there a work around for this?

Thanks


Nov 19 '05 #2
I would rather use the traditional ide rather then go for another tool.

Apart form that, regarding to your first point. How do you add a build event
script which is automatically executed? The closest solution i did was to
write the script, but which needs to be executed manually. I would need an
automated tool.

Thanks
Loui Mercieca

"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:2b********************************@4ax.com...
Hi Loui:

I don't know why they didn't make post build events available.

One work around is to add a dummy c# class library project with a
dependancy on the real project, and add a build event script.

Another work around is to forego VS.NET altogether for another build
tool, like Nant (http://nant.sourceforge.net/).

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 15 Feb 2005 09:40:39 +0100, "Loui Mercieca" <lo**@gfi.com>
wrote:
I want to write a script to be executed whenever i build my web
application
in 'release' mode. What it does is that it gets the newly generated dll
and
places it in another folder. I tried to use the build events, but they are
only present in a normal windows application. Why is this not present in a
web application properties and is there a work around for this?

Thanks

Nov 19 '05 #3
Hi Loui:

If you don't want to use the dummy project work around, you could
probably do something with the VS.NET automation interfaces.

Take a look at the PrePostbuildRules Add-In sample from this page:
http://msdn.microsoft.com/vstudio/do...utomation2002/

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 16 Feb 2005 09:12:07 +0100, "Loui Mercieca" <lo**@gfi.com>
wrote:
I would rather use the traditional ide rather then go for another tool.

Apart form that, regarding to your first point. How do you add a build event
script which is automatically executed? The closest solution i did was to
write the script, but which needs to be executed manually. I would need an
automated tool.

Thanks
Loui Mercieca

"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:2b********************************@4ax.com.. .
Hi Loui:

I don't know why they didn't make post build events available.

One work around is to add a dummy c# class library project with a
dependancy on the real project, and add a build event script.

Another work around is to forego VS.NET altogether for another build
tool, like Nant (http://nant.sourceforge.net/).

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 15 Feb 2005 09:40:39 +0100, "Loui Mercieca" <lo**@gfi.com>
wrote:
I want to write a script to be executed whenever i build my web
application
in 'release' mode. What it does is that it gets the newly generated dll
and
places it in another folder. I tried to use the build events, but they are
only present in a normal windows application. Why is this not present in a
web application properties and is there a work around for this?

Thanks


Nov 19 '05 #4

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

Similar topics

1
by: Bruno Alexandre | last post by:
I there, I'm trying to use the same session varaibles in both .asp and .aspx pages, but I can't. (i'm using VB.NET) Error using cast... - - - - - - - - - - - - - - - - - - - - - - - - - - - -...
2
by: Roland Hall | last post by:
Can someone please explain this error to me? Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following...
1
by: Jonas | last post by:
Hi, I've recently found out that I'm supposed to set the debug attribute of the compilation element in web.config to false in production environments. But when I do so in my ASP.NET application,...
5
by: dancer | last post by:
Using Asp.net 1.1 Can somebody tell me why the code following gives this error message: Compilation Error Description: An error occurred during the compilation of a resource required to service...
4
by: Olumide | last post by:
Hi - I'm writing a plugin with VS.NET (2003), for an application (Autodesk Maya). My work cycle is basically: 1. write code 2. unload plugin in target application (where I do my testing) 3....
1
by: BSand0764 | last post by:
I'm getting an error that I can't seem to resolve. When I compile the Functor related logic in a test program, the files compile and execute properly (see Listing #1). However, when I...
10
by: VK | last post by:
Taking into account many new features in JavaScript1.6 and JavaScript1.7 which are syntactically incompatible with Javascript versions run on other browsers: would it be reasonable to propose as...
9
by: Raxit | last post by:
Hi, we are designing some stuff , that will generate c++ program(s) What we want is we wanted to execute that generated code.... i.e. 1. Xml based language 2. C++ code generated from 1....
2
by: kevinr | last post by:
Hi, I am brand new to VB, and I am trying to deploy Office 2007 on my network here at work. We used part of this script to do another deployment, and I have taken pieces and tried to edit for this...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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
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
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...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
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.