My web application uses resource files to keep localized strings etc. Those
resource files prepared by external console program, which extracts this
stuff from the database.
Is there a way to invoke that program automatically after I hit build
(rebuild) button in Visual Studio, before VSS actually trying to build the
solution?
I'm working with Whidbey beta 2.
Thanks in advance,
Dmitry 6 1628
Hi Dimitry:
Yes, there are 'pre' and 'post' 'build events' in which you can
execute external programs. You'll find these events defined in the
project configuration, although offhand I don't know if they are
available in all versions (like Express).
--
Scott http://www.OdeToCode.com/blogs/scott/
On Mon, 2 May 2005 13:09:44 -0400, "Dmitry Duginov"
<di**@nospam.nospam> wrote: My web application uses resource files to keep localized strings etc. Those resource files prepared by external console program, which extracts this stuff from the database.
Is there a way to invoke that program automatically after I hit build (rebuild) button in Visual Studio, before VSS actually trying to build the solution?
I'm working with Whidbey beta 2.
Thanks in advance, Dmitry
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:a0********************************@4ax.com... Hi Dimitry:
Yes, there are 'pre' and 'post' 'build events' in which you can execute external programs. You'll find these events defined in the project configuration, although offhand I don't know if they are available in all versions (like Express).
Of course I looked at project options/configuration, but I couldnt find
those "Pre-build" and "Post-build" options. Could you be more specific?
--
Regards,
Dmitry Duginov -- Scott http://www.OdeToCode.com/blogs/scott/
On Mon, 2 May 2005 13:09:44 -0400, "Dmitry Duginov" <di**@nospam.nospam> wrote:
My web application uses resource files to keep localized strings etc.
Thoseresource files prepared by external console program, which extracts this stuff from the database.
Is there a way to invoke that program automatically after I hit build (rebuild) button in Visual Studio, before VSS actually trying to build
thesolution?
I'm working with Whidbey beta 2.
Thanks in advance, Dmitry
"Dmitry Duginov" <di**@nospam.nospam> wrote in
news:OK**************@TK2MSFTNGP14.phx.gbl: "Scott Allen" <sc***@nospam.odetocode.com> wrote in message news:a0********************************@4ax.com... Hi Dimitry:
Yes, there are 'pre' and 'post' 'build events' in which you can execute external programs. You'll find these events defined in the project configuration, although offhand I don't know if they are available in all versions (like Express).
Of course I looked at project options/configuration, but I couldnt find those "Pre-build" and "Post-build" options. Could you be more specific?
Dmitry,
Unfortunately, pre-build and post-build events are not available for
C# ASP.Net projects in VS 2003.
There is a way around this, however.
You can use a Visual C++ make file. Here's an article from Microsoft
showing how to do this: http://support.microsoft.com/default...b;en-us;810230
--
Hope this helps.
Chris.
-------------
C.R. Timmons Consulting, Inc. http://www.crtimmonsinc.com/
"Chris R. Timmons" <crtimmons@X_NOSPAM_Xcrtimmonsinc.com> wrote in message
news:Xn**********************************@207.46.2 48.16... "Dmitry Duginov" <di**@nospam.nospam> wrote in news:OK**************@TK2MSFTNGP14.phx.gbl:
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message news:a0********************************@4ax.com... Hi Dimitry:
Yes, there are 'pre' and 'post' 'build events' in which you can execute external programs. You'll find these events defined in the project configuration, although offhand I don't know if they are available in all versions (like Express). Of course I looked at project options/configuration, but I couldnt find those "Pre-build" and "Post-build" options. Could you be more specific?
Dmitry,
Unfortunately, pre-build and post-build events are not available for C# ASP.Net projects in VS 2003.
Is it any different in VS 2005?
There is a way around this, however.
You can use a Visual C++ make file. Here's an article from Microsoft showing how to do this:
http://support.microsoft.com/default...b;en-us;810230
Thanks, I'll look at this stuff. But I gotta admit, I'm really surprised
that such a feature is really missing. I though it was not looking
carefully...
--
Regards,
Dmitry Duginov
Yep - I apologize. I thought 2005 had added the feature but I must not
have been working with an ASP.NET app at the time.
The good news is you should be able to hack up the MSBuild file
instead of using a make file, which might be a little easier. I'm
going to look into this because it's something I need to do pretty
soon...
--
Scott http://www.OdeToCode.com/blogs/scott/
On Mon, 2 May 2005 14:13:58 -0400, "Dmitry Duginov"
<di**@nospam.nospam> wrote: "Scott Allen" <sc***@nospam.odetocode.com> wrote in message news:a0********************************@4ax.com.. . Hi Dimitry:
Yes, there are 'pre' and 'post' 'build events' in which you can execute external programs. You'll find these events defined in the project configuration, although offhand I don't know if they are available in all versions (like Express).
Of course I looked at project options/configuration, but I couldnt find those "Pre-build" and "Post-build" options. Could you be more specific?
"Dmitry Duginov" <di**@nospam.nospam> wrote in
news:eK*************@TK2MSFTNGP10.phx.gbl: "Chris R. Timmons" <crtimmons@X_NOSPAM_Xcrtimmonsinc.com> wrote in message news:Xn**********************************@207.46.2 48.16... "Dmitry Duginov" <di**@nospam.nospam> wrote in news:OK**************@TK2MSFTNGP14.phx.gbl:
> > "Scott Allen" <sc***@nospam.odetocode.com> wrote in message > news:a0********************************@4ax.com... >> Hi Dimitry: >> >> Yes, there are 'pre' and 'post' 'build events' in which you >> can execute external programs. You'll find these events >> defined in the project configuration, although offhand I >> don't know if they are available in all versions (like >> Express). > > Of course I looked at project options/configuration, but I > couldnt find those "Pre-build" and "Post-build" options. > Could you be more specific? Dmitry,
Unfortunately, pre-build and post-build events are not available for C# ASP.Net projects in VS 2003.
Is it any different in VS 2005?
Dmitry,
I don't have VS 2005 yet. There is a way around this, however.
You can use a Visual C++ make file. Here's an article from Microsoft showing how to do this:
http://support.microsoft.com/default...b;en-us;810230
Thanks, I'll look at this stuff. But I gotta admit, I'm really surprised that such a feature is really missing. I though it was not looking carefully...
I was also surprised when I discovered that feature was missing. The
Visual C++ makefile works quite well, however.
Chris.
-------------
C.R. Timmons Consulting, Inc. http://www.crtimmonsinc.com/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Matora Nickolay |
last post by:
Hello. My program has to use third party components located in several
external libraries.
Those components, also as my program, are usually been...
|
by: Ida |
last post by:
Hi,
I am trying to build an dll with Microsoft Visual C++ but during the linking
phase I get linking errors.
Script.obj : error LNK2019:...
|
by: We need more power captain |
last post by:
Hi,
I know less than a noob, I've been asked to do some compiles in VC++ 6
without knowing too much at all. (I'm a COBOL program normally so...
|
by: Sivakumar Shanmugam |
last post by:
Group.. We are running on db2 UDF V8 on Sun solaris platform. I
created an UDF which calles a C-routine(SQL_API_FN). This C-routine in
turn calls...
|
by: Alfonso Morra |
last post by:
Ok, this is a bit of a quick hack. I have a flag set in another file
(the default value of the flag is 0. In certain files, access to the
flag...
|
by: drumdawg21 |
last post by:
Ive been working on this problem for a long time now and really need some help. I have a program in c++ code that gives me build errors and my...
|
by: snicks |
last post by:
I'm trying to exec a program external to my ASP.NET app using the following
code. The external app is a VB.NET application.
Dim sPPTOut As...
|
by: Frederiek |
last post by:
Hi,
I'm using MS Visual C++ 2005 (MSVC8.0).
I am experiencing some kind of linker dilemma. While building a program
I am -in a way- forced to...
|
by: f rom |
last post by:
----- Forwarded Message ----
From: Josiah Carlson <jcarlson@uci.edu>
To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org
Sent:...
|
by: better678 |
last post by:
Question:
Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct?
Answer:
Java is an object-oriented...
|
by: teenabhardwaj |
last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
|
by: Naresh1 |
last post by:
What is WebLogic Admin Training?
WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
|
by: jalbright99669 |
last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
|
by: antdb |
last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine
In the overall architecture, a new "hyper-convergence" concept was...
|
by: Matthew3360 |
last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function.
Here is my code.
...
|
by: Matthew3360 |
last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
|
by: AndyPSV |
last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
|
by: Carina712 |
last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
| |