Fact: You can run multiline command in MsBuild Exec Task in simple way

This might look obvious, but I spent some time to try some complicated ways (like declaring variable) and some incorrect ways (like declaring Command element) and ended with this..:

Eye opener, I can put multiline script just to Command attribute and it even works.

Advertisements

One thought on “Fact: You can run multiline command in MsBuild Exec Task in simple way

  1. blubberboy says:

    doesnt work for me

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s