Default app.config file name -- Breaking change! - by routine

Status : 

  By Design<br /><br />
		The product team believes this item works according to its intended design.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


1
0
Sign in
to vote
ID 536491 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 2/25/2010 12:07:44 PM
Access Restriction Public

Description

The default app.config file name in VS2010 is app.exe.config. In VS2008 it is app.config.

This is going to break all my clients when upgrading!

Can't you fix to look for either (app.config or app.exe.config) and only fall back to app.exe.config if it cannot find either one?
Sign in to post a comment.
Posted by Microsoft on 3/1/2010 at 3:30 PM
Hi kh9191,

Unfortunately, this is actually a bug in .NET 3.5. The name that includes ".exe" is the correct format, and is also the format that .NET 2.0 exposes. Given that whichever behaviour we ship in .NET 4 will be breaking for either .NET 2.0 or .NET 3.5, and given that we identified the .NET 3.5 behaviour as incorrect, we consciously decided to make this change in .NET 4.

Thank you for your understanding, and I apologize for any inconvenience this may have caused.
Posted by Microsoft on 2/26/2010 at 12:48 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.

Thank you
Posted by Microsoft on 2/25/2010 at 7:04 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)