C# or other file type for Post Build Event Command Line?


S

shapper

Hello,

I am working on a VS 2010 NET 4 Console Application.

On the Post Build Event Command Line I am performing some actions but
it is not user friendly to edit the code there.

Are there any kind of C# files or any other type of files where I can
store those commands?
And if possible files that can be included on the VS Project?

Of course I need to be able to know what the SolutionDir or ProjectDir
is as I know in Post Build Event Command Line window.

I have been looking in Google because I think there are options ...
But without a name is a little bit difficult.

Thanks,
Miguel
 
Ad

Advertisements

A

Arne Vajhøj

I am working on a VS 2010 NET 4 Console Application.

On the Post Build Event Command Line I am performing some actions but
it is not user friendly to edit the code there.

Are there any kind of C# files or any other type of files where I can
store those commands?
And if possible files that can be included on the VS Project?

Of course I need to be able to know what the SolutionDir or ProjectDir
is as I know in Post Build Event Command Line window.

I have been looking in Google because I think there are options ...
But without a name is a little bit difficult.

I would adjust toolset a bit and:
- use VS to write the code
- use a build tool to build and package the software

The two most obvious build tools are:
- msbuild that VS uses itself
- nant

In both msbuild and nant you can script the build
and package process as you want.

Arne
 
Ad

Advertisements

S

shapper

I would adjust toolset a bit and:
- use VS to write the code
- use a build tool to build and package the software

The two most obvious build tools are:
- msbuild that VS uses itself
- nant

In both msbuild and nant you can script the build
and package process as you want.

Arne

Arne,

Are there MSBuild projects? How to integrate MSBuild with my Console
Application to build it?
I have been searching for information and I know MSBuild rely on XML
for tasks.

But I am not sure how to use MSBuild. Is through a project under the
same solution of the Console Application?

Thanks,
Miguel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top