开发者

Visual studio 2010 project with per file custom build tools compiles one file at a time

开发者 https://www.devze.com 2023-01-23 23:53 出处:网络
开发者_如何学JAVAI\'ve got a project that used to work in VS 2008 that has a custom build tool for each file (runs a batch file) that used to work as expected.

开发者_如何学JAVAI've got a project that used to work in VS 2008 that has a custom build tool for each file (runs a batch file) that used to work as expected.

On upgrading to VS 2010 when you build the project it only builds one of the source files, then stops without errors.

If I compile each file individually they work fine. If I repeatedly build the project it builds each source file in turn until they are all done.

I suspected the conversion process so re-created the project from scratch and it had the same issue..

any ideas?

Thanks

Trev


Apparently, this is by design in Visual Studio 2010:

http://connect.microsoft.com/VisualStudio/feedback/details/572435/only-1-custom-build-step-is-executed-in-a-build

There is a little more discussion here:

http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/3de31464-46fb-40a3-a666-496355b1b6be/

I'd love to have a work around for this.

0

精彩评论

暂无评论...
验证码 换一张
取 消