You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
i tried to use your nuGet pakage.
Iam on Visual Studio 2019 with a Windows Forms App on .NET 4.5.
I added
PortableJsonSettingsProvider.SettingsFileName = "settings.config";
PortableJsonSettingsProvider.ApplyProvider(Properties.Settings.Default);
to my Main() class, created 3 settings and tried to change them via code. I noticed that the settings.config file will not be created in the applications folder.
Conclusion it cannot be used to change the settings in the app folder...
I dont get any errors... it just wont work...
I tried both, your XML classic version and the new json version... nothing works
Any help would be appreciated :)
The text was updated successfully, but these errors were encountered:
I am just a user, but have you tried PortableJsonSettingsProvider.SettingsDirectory = YOUR_SETTING_FOLDER;
and did you Properties.Settings.Default.Save();
after changing settings?
I am just a user, but have you tried PortableJsonSettingsProvider.SettingsDirectory = YOUR_SETTING_FOLDER; and did you Properties.Settings.Default.Save(); after changing settings?
Hello Milo,
sorry for the late reply i was out for work yesterday.
Both settings in combination seems to do the trick...
However in earlyer versions we did not need the PortableJsonSettingsProvider.SettingsDirectory.
Good to know that we need it now.
Hi,
i tried to use your nuGet pakage.
Iam on Visual Studio 2019 with a Windows Forms App on .NET 4.5.
I added
PortableJsonSettingsProvider.SettingsFileName = "settings.config";
PortableJsonSettingsProvider.ApplyProvider(Properties.Settings.Default);
to my Main() class, created 3 settings and tried to change them via code. I noticed that the settings.config file will not be created in the applications folder.
Conclusion it cannot be used to change the settings in the app folder...
I dont get any errors... it just wont work...
I tried both, your XML classic version and the new json version... nothing works
Any help would be appreciated :)
The text was updated successfully, but these errors were encountered: