Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions eng/packageContent.targets
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

<PropertyGroup>
<IntellisenseXmlFileSource>$(IntellisenseXmlDir)$(AssemblyName).xml</IntellisenseXmlFileSource>
<!-- TODO: remove when we get dotnet-api-docs_netcoreapp5.0 -->
<IntellisenseXmlFileSource Condition="!Exists('$(IntellisenseXmlFileSource)')">$([System.IO.Path]::ChangeExtension('$(TargetPath)', '.xml'))</IntellisenseXmlFileSource>

<IntellisenseXml Condition="'$(ProduceReferenceAssembly)' == 'true' And '$(PackageAsRefAndLib)' != 'true'" >$([System.IO.Path]::ChangeExtension('$(TargetRefPath)', '.xml'))</IntellisenseXml>
<IntellisenseXml Condition="'$(PackageAsRefAndLib)' == 'true'" >$([System.IO.Path]::ChangeExtension('$(TargetPath)', '.xml'))</IntellisenseXml>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<RootNamespace></RootNamespace>
<LangVersion>15.0</LangVersion>
<VBRuntime>None</VBRuntime>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To add a little more context, this line being missing was what blocks the auto-update PR into windowsdesktop, because the ref closure is missing this dependency. The intellisense xml is a winforms repo requirement that blocked adding this line, windowsdesktop doesn't check for it.

</PropertyGroup>

<ItemGroup>
Expand Down