dotnet / dotnet/project-system
Address warnings about missing rules
- Dominant language
- C#
- Stars
- 1k
- Forks
- 415
- PR merge metrics
- No merged PRs in 30d
Description
When loading a project with the `CPS_DiagnosticRuntime` environment variable set to `1`, CPS logs the following warnings:
```
CPS Warning: 16028 :
Failure loading XAML file 'C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VisualStudio\Managed\SupportedTargetFrameworkAlias.xaml': File cannot be found
CPS Warning: 16028 :
Failure loading XAML file 'C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VisualStudio\Managed\SupportedNETStandardTargetFramework.xaml': File cannot be found
CPS Warning: 16028 :
Failure loading XAML file 'C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VisualStudio\Managed\SdkSupportedTargetPlatformVersion.xaml': File cannot be found
CPS Warning: 16028 :
Failure loading XAML file 'C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VisualStudio\Managed\SupportedNETFrameworkTargetFramework.xaml': File cannot be found
CPS Warning: 16028 :
Failure loading XAML file 'C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VisualStudio\Managed\SupportedNETCoreAppTargetFramework.xaml': File cannot be found
CPS Warning: 16028 :
Failure loading XAML file 'C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VisualStudio\Managed\SdkSupportedTargetPlatformIdentifier.xaml': File cannot be found
```
My guess is that we actually embed these rules, yet register them as being available on disk. The product seems to work ok, but it would be good to clear up these warnings.
Contributor guide
Assessment
This issue has not been assessed yet.