[MonoDevelop] [Database Browser] cannot connect to existing database
simozzer
SimonMoscrop at hotmail.com
Fri Nov 14 07:21:03 EST 2008
Folks,
RE: Database Browser - MonoDevelop 2.0 alpha 2
It is not possible to a add a new database connection in MonoDevelop 2.0 -
doing so always results in an error.
If you apply the following tweaks to
monodevelop/extras/MonoDevelop.Database/MonoDevelop.Database.Components/Widgets/ConnectionSettingsWidgets.cs
the error is fixed.
1. Remove the line "protected DatabaseConnnectionSettings settings;"
2. Alter the get implementation for the ConnectionSettings property thus
public DatabaseConnectionSettings ConnectionSettings {
get {
DatabaseConnectionSettings settings =
CreateDatabaseConnectionSettings(); //<-- New Line
FillDatabaseConnectionSettings (settings);
return settings;
}
}
Can someone please take this detail and apply it as a patch?
Cheers
Simon Moscrop
--
View this message in context: http://www.nabble.com/-Database-Browser--cannot-connect-to-existing-database-tp20499446p20499446.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
More information about the Monodevelop-list
mailing list