CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 4/27/2007 2:59:16 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 19 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
pkellner
Asp.Net User
Wanting to make a simple sub-project that does nothing but run a bat file4/27/2007 2:59:16 AM

0/0

I've got a 3rd party library of c# code and a bat file that compiles it.  I thought there was a way I could make a c# project out of that which simply runs the batch file when I say build all.  Could someone point me towards the light?

 thanks


Peter Kellner
http://73rdstreet.com and blogging at
http://PeterKellner.net
MVP, ASP.NET
Benson Yu - MSF
Asp.Net User
Re: Wanting to make a simple sub-project that does nothing but run a bat file4/30/2007 7:43:27 AM

0/0

Hi pkellner,

 

Based on my experience, I think we can do that by following steps:

 

1. Create a class library project

2. Add the existing files into the project

3. Change the files? property Build Action to None. (Right click the file in Solution Explorer than select Properties)

4. Configure the BAT file as the ?Post-build event command line?. (Right click the project and select Properties, go to Build Events tab and input executing BAT file string under Post-build event command Line, for example: d:\project1\test.bat)

 

 


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:

Web:
Scott Hanselman's Computer Zen - Managing Multiple Configuration ... It's not strictly "copyifnewer" (like, not at all) but it does the job. ... Put this copyifnewer.bat file in the root of your project. WindowClipping (10) ...
argouml-stats: 2.6. Build Process If you want to run ArgoUML with modules enabled the build.xml s are set up ... The build.xml ant configuration file in the subproject and the argouml main ...
Softbeats Web Blogs - .Net Articles and Source Code If you wish, you can make a copy of the General Installer project for each web application and customize it. Use included batch file. Instead of running ...
YuYu's XBMC CVS download-build-rar batch file [Archive] - XBMC ... after i run the batch file, it pops out for only a few seconds and i got nothing but logs in "finished build" folder. ...
Deploying Enterprise Templates Subproject wizards allow you to write JScript code that is executed ... One way to deploy an Enterprise Template is to create a batch file that is executed ...
DDB: DOS Batch File Tips Make a test directory with a couple of sub & sub-sub directories. In it. ... Then run the batch file to be sure it does what you want, and more importantly, ...
QVCS -- Quma Version Control System -- Frequently Asked Questions You may want to use the same project name that you have used with QVCS/QVCS-Pro, but it's not required. 2. With the admin tool, make sure to define the user ...
VSJ | Java Zone | Ant on the make Try running the batch file. Check under build\classes to verify that the class ... as the project stays simple, it is also be quite speedy on most machines. ...
Batch file command to build list of valid IPs : batch ping command But in your case I see great value in using a batch file and passing in the subnet. But if you like setting an environment variable and running a 1 liner. ...
Simple and Effective Distributed Computing with a Scheduling Service The non-profit SETI@home project is perhaps the most famous example, but .... want WTS to run, which, in our case, is the batch file DistribOptimize.bat ...

Videos:
Long Beach City Council Meeting Long Beach City Council Meeting
Creationist Kent Hovind Reveals The Truth About Dinosaurs And Evolution! Dinosaurs And The Bible - Creation Scientist Kent Hovind Reveals The Truth About Dinosaurs And Evolution! For more videos like this please visit For...




Search This Site:










having trouble with layout problems with vs 2005

intellisense only working on some classes and not others

vs 2005 create/open website vs is busy

exclude a folder in vs2005? (e.g. images folder)

ibs portal and the future

vs 2005 editions

getting errorpage 502

drag and drop?

suggestion for class view

interesting issue while debugging !

cannot create user with web site administration tool

sharepoint webparts with visual studio 2005?

watch-box lost

unauthorizedaccessexception

web setup + precompilation

debug javascript

gridview not showing?

annoyance: control not recognized

vs 2005 service pack 1

assembly naming in web site project build

whats the difference in features between visual studio 2005 and vwd 2005 express edition?

feb ctp: no vss plugin

intellisense not working right

debugging: possible to see values in viewstate in watch window?

confused by the new folder web project

machinekey decryption attribute

slow load of visual studio 2005

is there guided tour for vs 2005 as for vwd ?

internal webserver vs iis

ajax-enabled web site template in vs2005

  Privacy | Contact Us
All Times Are GMT