Why did my Visual Studio 10 stop using App.Config for my SQL connection string?
问题 I have a working database application using WPF and SQL Server 2008 R2, which for two years has been getting its SQL Server connection string from the App.Config file. A few days ago on one dev machine, it started ignoring the App.Config file's connectionString, and is now using a string from somewhere else (looks like either settings.settings, or the DBML file). Why might this be happening, and how can I get it to stop doing that? The app.config starts out like this: <configuration>