SBRP System.Configuration.ConfigurationManager 7.0.0 missing public types
See original GitHub issueDescribe the Bug
system.configuration.configurationmanager.7.0.0 in https://github.com/dotnet/source-build-reference-packages is missing some public types available in the nuget package.
One example being ConfigurationPropertyAttribute
- this is as a result causing source build build breaks when we attempt to oboard newest SBRP in msbuild: https://github.com/dotnet/msbuild/pull/8893
The missing type is not added even when I try to regenerate package with generate.cmd -p system.configuration.configurationmanager,7.0.0
Steps to Reproduce
- https://github.com/dotnet/source-build-reference-packages/blob/main/src/referencePackages/src/system.configuration.configurationmanager/7.0.0/lib/net7.0/System.Configuration.ConfigurationManager.cs
- Search for
ConfigurationPropertyAttribute
- missing - https://www.fuget.org/packages/System.Configuration.ConfigurationManager/7.0.0/lib/net7.0/System.Configuration.ConfigurationManager.dll/System.Configuration/ConfigurationPropertyAttribute - type is available (and public)
Issue Analytics
- State:
- Created 3 months ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Can't use System.Configuration.Configuration manager in ...
I have an assembly created in NetStandard2.0. It reads AppSettings using System.Configuration.ConfigurationManager. I have installed nuget ...
Read more >System.Configuration.ConfigurationManager 7.0.0
Provides types that support using configuration files. Commonly Used Types: System.Configuration.Configuration System.Configuration.ConfigurationManager.
Read more >System.Configuration Reference missing in Visual Studio ...
I am trying to add a reference to System.Configuration to make use of the Configuration Manager in Visual Studio 2019 but its not...
Read more >Looking inside ConfigurationManager in .NET 6
In this first post, I take a look at the ConfigurationManager class, why it was added ... NET 5 exposes multiple types around...
Read more >The type name 'ApplicationSettingsBase' could not be ...
I am using DataSet in my C# console application. When I select checkbox to save connection string in the setting file, such setting...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Taking a look and will try to send a PR until tomorrow so that the msbuild PR gets unblocked.
@MichaelSimons this is happening because SBRP explicitly excludes that type when generating the reference package source: https://github.com/dotnet/source-build-reference-packages/blob/9cee0e5f54df0b2f2f5161aec2102b82ad6043df/src/packageSourceGenerator/DefaultGenApiDocIds.txt#LL9C1-L9C54
That said, someone could argue that the types in that list should only be excluded when appearing as attributes and not excluding the types themselves.