Add Announcement Here

Visual studio: some good FYI

stu
useravatar
Offline
680 Posts
User info in posts
Administrator has disabled public posting

Re: Visual studio: some good FYI

You can add a single terminal command to the property sheet 'User Macros', which allows all your projects to inherit the same process, which you can then call from post/pre build steps. If you feel like being hacky and running multiple commands with 1 macro, you could pipe or use the command separator '&'.

This is important because your project overrides any build steps inherited from the shared property sheet.

stu
useravatar
Offline
680 Posts
User info in posts
Administrator has disabled public posting

Re: Visual studio: some good FYI

There are quite a few tools that return none zeros, such as robocopy, when nothing is wrong. So this stuffs up a build even though nothing is wrong. So, you can suppress this simply by adding 'Exit 0' to the end of your list of commands.

Remember, you can run multiple commands in a build step by putting them on different lines.

stu
useravatar
Offline
680 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
246
Total Polls:
0
Total Posts:
475
Dormant:
User Info:
 
Total Users:
7
Newest User:
ian96
Members Online:
0
Guests Online:
56

Online: 
There are no members online

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked
gamestool, Powered by Joomla! and designed by SiteGround Joomla Templates