Home Dashboard Directory Help
Search

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


Status: 

Closed
 as By Design Help for as By Design


1
0
Sign in
to vote
Type: Bug
ID: 536491
Opened: 2/25/2010 12:07:44 PM
Access Restriction: Public
1
Workaround(s)
view
0
User(s) can reproduce this bug

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?
Details
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)
Sign in to post a workaround.
Posted by routine on 2/26/2010 at 9:16 AM
I will be renaming the current app.config to app.exe.config during upgrade. This should resolve this issue.

Thank you.