• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 302
  • Last Modified:

Customize "build" option in VS .NET

I want to be able to automatically run a "bat file" right after building the solution.

is there a way i can do that in VS .NET

thanks
0
hari4130
Asked:
hari4130
  • 3
  • 2
1 Solution
 
nonubikCommented:
Go to 'project properties' -> build events -> post-build event -> command line. Here type your .bat
0
 
jimwassonCommented:
You can specify a command line to execute in the Post-Build Event "Command Line" edit box. It's located in the Project's Configuration Properties in "Build Events".
0
 
jimwassonCommented:
Sorry nonubik, didn't mean to step on your post.
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
nonubikCommented:
np, the time difference is reasonable.
I was just faster :o)
0
 
hari4130Author Commented:
Thanks for the solution. that worked.

If i want to prebuild another solution before building my current solution, can i still use the "pre-build event->command line" in my current project properties.

what would be the command line be like in that case
0
 
nonubikCommented:
You can just include all the projects in one solution and establish some build order.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now