microsoft / microsoft/WindowsAppSDK
RS1035: The symbol 'Environment' is banned for use by analyzers
Open
@Scottj1s is already working on this.
Since Nov 25, 2024.
area-dotnet
- Dominant language
- C++
- Stars
- 4.7k
- Forks
- 471
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 28
Description
Describe the bug
Using .NET 9, latest Windows App SDK:
nuget\packages\microsoft.windowsappsdk\1.6.241106002\include\UndockedRegFreeWinRT-AutoInitializer.cs(27,13,27,119): error RS1035: The symbol 'Environment' is banned for use by analyzers: Analyzers should not read their settings direct
Steps to reproduce the bug
Using .NET 9
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
Expected behavior
No response
Screenshots
No response
NuGet package version
Windows App SDK 1.6.2: 1.6.241106002
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Visual Studio 2022
Additional context
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.