-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Annotate projects that aren't XML source of truth #94234
Conversation
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries Issue Detailswith the
|
8d5852c
to
bc2ab84
Compare
with the `UseCompilerGeneratedDocXmlFile` switch.
bc2ab84
to
c90dcc8
Compare
@@ -41,12 +42,13 @@ System.Threading.RateLimiting.RateLimitLease</PackageDescription> | |||
</ItemGroup> | |||
|
|||
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any advantage on switching their locations here?
Also, if they are ItemGroups with the exact same condition, wouldn't it be ok to group both ItemGroups into a single one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our convention is properties first, then compile and other items and last reference items. Keeping the reference items in a separate item group makes it easier to read a project's dependencies.
@@ -1,29 +1,14 @@ | |||
<Project> | |||
|
|||
<PropertyGroup> | |||
<UseCompilerGeneratedDocXmlFile Condition="'$(UseCompilerGeneratedDocXmlFile)' == '' and $(MSBuildProjectName.StartsWith('Microsoft.Extensions.'))">true</UseCompilerGeneratedDocXmlFile> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I see. If true is treated as default, then all assemblies, except Cbor and Extensions, need the property explicitly mentioned in the csprojs.
with the
UseCompilerGeneratedDocXmlFile
switch.