Gene Vincent
Gene Vincent

Reputation: 5469

Where is the "per file" Custom Build Step in Visual Studio 2013?

I have converted my C++ project from Visual Studio 2010 to the 2013 Community edition.

With previous versions I could always right click on a source file and edit a Custom Build step in the properties. Now I can't find the equivalent in VS2013.

The converted project has a Custom Build Step and runs it, but where do I edit it ?

When I open the raw 2013 .vcxproj file, I can see my custom build step as

<CustomBuild Include="foo.h.in">
...
</CustomBuild>

But I don't really want to keep editing my project with a text editor...

Upvotes: 1

Views: 1061

Answers (2)

A. Chekhovich
A. Chekhovich

Reputation: 46

Just as harper described. One more thing to add - in VS 2013 and higher they renamed file specific Custom Build Step to Custom Build Tool and its not shown by default. To show it change the Configuration Properties -> General -> Item Type to Custom Build Tool. Apply the changes and 'Custom Build Tool' sub menu will appear.

Upvotes: 3

harper
harper

Reputation: 13690

You find it in the project property pages. Navigate to Configuration Properties -> Custom Build Step -> General.

I had sometimes strange results when converting old projects. I use to create new projects and add the files nowadays what gives better results.

Upvotes: 1

Related Questions