I have a problem... nobody else can help so I wonder if anybody here can?
I have a web service project (originally in .NET 2.0 but upgraded to .NET 4.5) which was working perfectly this morning. I also have a Winforms project which connects to the web services.
When building the Winforms app, the build is successful, when running it, I get the error:
An error occurred creating the configuration section handler for applicationSettings/Windows.Main.Properties.Settings: Could not load file or assembly 'Application, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
I have looked through SO and other sites but cannot find anything specific that shows the cause of this error. I've tried downgrading the .NET Frameworks and upgrading them again - everything is running on 4.5 - but this fails on:
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)]
[global::System.Configuration.DefaultSettingValueAttribute("http://localhost:53442/ConfigurationService.asmx")]
public string Windows_Main_BnConfigurationService_ConfigurationService {
get {
return ((string)(this["Windows_Main_BnConfigurationService_ConfigurationService"]));
}
I've checked through a load of code but cannot seem to find the cause of the problem.
This will likely be an easy fix for somebody in the know, I'm just not in the know on this error however! HELP?!