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
{{ message }}
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
If you add a new "Settings" item to a .NET Core project it will cause a build failure if you don't have the System.Configuration.ConfigurationManager package installed.
Error CS1069 The type name 'ApplicationSettingsBase' could not be found in the namespace 'System.Configuration'. This type has been forwarded to assembly 'System.Configuration.ConfigurationManager, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' Consider adding a reference to that assembly. Core2 C:\Users\jerem\source\repos\UserSettings\Core2\Settings1.Designer.cs 16 Active
This doesn't happen in a .NET Core WinForms application as Microsoft.WindowsDesktop.App.WindowsForms framwork carries that package.
I'm not sure how things work precisely, but we:
Want to keep the template available for Core as it is still a supported scenario
Not add the package on .NET Framework apps, only Core, and ideally not when the WindowsForms framework is targeted (as it is redundant in that case)
If you add a new "Settings" item to a .NET Core project it will cause a build failure if you don't have the
System.Configuration.ConfigurationManager
package installed.This doesn't happen in a .NET Core WinForms application as
Microsoft.WindowsDesktop.App.WindowsForms
framwork carries that package.I'm not sure how things work precisely, but we:
cc: @ericstj; @maryamariyan
The text was updated successfully, but these errors were encountered: