|
-
Jan 17th, 2010, 06:01 PM
#1
Thread Starter
Lively Member
Custom Settings Provider and BindingSource conflict
Ok... not really sure where to begin with this one.
I created a CustomSettingsProvider which allows me to specify the location to store My.Settings. Everything works as it should - the application compiles and the User.config is saved according to my custom settings provider.
The problem is, that when I try to add a BindingSource to my forms and access the DataSource property for the BindingSource, I get the following error:
"The type 'CustomSettingsProvider' could not be found. Ensure that the assembly containing the type is referenced. If the assembly is part of the current development project, ensure that the project has been built."
The problem only occurs when I specify "CustomSettingsProvider" as the provider for any settings in the My.Settings designer.
There should be no reason for this error - the form doesn't have any reason whatsoever to concern itself with CustomSettingsProvider.
The program will still compile and run, but I cannot access the form designer for any forms that have a bindingsource object.
VB2008 Express
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|