ceztko / SolutionConfigurationName

A Visual Studio 2010-2017 extension that sets SolutionConfiguration and SolutionPlatform build macros
https://marketplace.visualstudio.com/items?itemName=ceztko.SolutionConfigurationName
Other
12 stars 12 forks source link

Batch Build mode #5

Open brianbourke75 opened 6 years ago

brianbourke75 commented 6 years ago

When attempting to use the batch build option the SolutionConfiguration will always map to whatever the interface says instead of the build being done currently in the batch.

ceztko commented 6 years ago

Please, consider moving to use msbuild from the command line for this use case. You can add a switch "/p:SolutionConfiguration=Debug" or set an enviroment variable %SolutionConfiguration% prior calling msbuild.

s-sols commented 5 years ago

Hi, Francesco. Such a great plugin! But I had faced with the same issue. Is there any chance to correct work in a batch mode? There are maps to solutions configurations in batch window - are they accessible in the moment when build begins?

ceztko commented 5 years ago

I'm sorry, I lost interest in developing further this addon. While adding a simple functionality, it required many nights of reverse engineering VS internals, and commit count is almost 100. When VS next version will be out, I will try to keep compatibility but I don't have plans to add new features. Please, consider moving batch builds to command line tools. Believe me: unless you have a compatibility reason to have the IDE GUI loaded, it's an investment that pays off.

s-sols commented 5 years ago

Got U. Thanks for the quick answer.