Can a Visual Studio 2008 custom tool be passed additional parameters from the custom tool property grid in VS?
views:
387answers:
1
A:
Yes and no. You'd fix this by adding the custom tool as a custom build rule instead. The (built-in) build rule for C++ files causes the property sheets for C++ files; the build rule for IDL files causes those property sheets. Your own custom build rule can define its own property sheets.
MSalters
2009-04-27 15:05:20
Does this work for C# too?
SDX2000
2009-04-27 15:12:22
C# is the language, not the IDE. So, in Visual Studio, there is a built-in build rule for C# (.cs) files.
MSalters
2009-04-28 08:06:18
Ok yes, that was a stupid question. The real question would be how do I add custom build rules from within visual studio?
SDX2000
2009-04-28 09:53:39
Hmm - seems that the .Net term is a custom build *action*, not rule. And this is done behind the scenes through MSBuild. C++ is the odd one out.
MSalters
2009-04-28 14:52:54