A new article of my MZ-Tools articles series about a bug of VS 2005:
BUG: Adding a non-text file to a solution folder from a Visual Studio 2005 add-in or macro opens it
http://www.mztools.com/articles/2007/MZ010.htm
A new article of my MZ-Tools articles series about a bug of VS 2005:
BUG: Adding a non-text file to a solution folder from a Visual Studio 2005 add-in or macro opens it
http://www.mztools.com/articles/2007/MZ010.htm
Comments are closed.
Hi Carlos,
do Microsoft accept that this is a bug, or is it just your opinion. I expect that Microsoft consider it to be a feature not a bug.
In my Add-In, I add an Access database to the project, which I have been doing since my VB6 Add-In.
For VS 2005 I rename the file from .mdb to .mlb simply to prevent visual studio from opening it as a database. Obviously, this is stupid. If Microsoft consider it to be a feature, they should at least provide a way to prevent it.
Phil
Microsoft considers it a “by design” feature:
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=140181
But they did not argue why. I personally consider it a “by very bad design” feature, that is, a bug :-). If the programmer wants to open the file after adding it to the solution folder, he can do it calling some ShellExecute API. And from my point of view, a bug is also a behavior that confusses the user.