Replies: 1 comment 1 reply
-
I don't think msbuild syntax can exchange xml attribute and element like xaml. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
VS2022 Preview 4.1 added the following snippet to my
.csproj
file when I addedxunit.runner.visualstudio
using VS2022's "Manage NuGet packages for solution":Why it was added in this form really?
<PrivateAssets>all</PrivateAssets>
was added to avoid thexunit.runner.visualstudio
to be "inherited" by child C# projects. Right?<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
why these values exactly? What would be the difference if the defaultall
value were used?Is it equivalent to write:
?
PS: Useful resource https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files#controlling-dependency-assets
Beta Was this translation helpful? Give feedback.
All reactions