dotnet / dotnet/msbuild

XslTransformation in XSD needs UseTrustedSettings

Open
#8,764 0 comments 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 13h
Merged PRs (30d)
133

Description

> I found another minor issue WRT UseTrustedSettings parameter that doesn't affect compilation behavior for MSBuild, but does affect intellisense/static analysis in the VS2022 IDE for the .csproj file when using the parameter.

> The Microsoft.Build.Commontypes.xsd file is missing the UseTrustedSettings attribute for the XslTransformation element.
> ```xml
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ```

> The files lives here on my local installation: `C:\Program Files\Microsoft Visual Studio\2022\Professional\Xml\Schemas\1033\MSBuild\Microsoft.Build.Commontypes.xsd`

> The issue also exists for earlier versions of Visual Studio, indicating it is not a new issue.

_Originally posted by @edstegman in https://github.com/dotnet/msbuild/issues/8570#issuecomment-1494753374_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.