-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Emit a file that lists which packages don't use ///-source-of-truth #120726
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,7 @@ | |
<TfmSpecificPackageFile Include="@(ReferenceAssemblyFile); | ||
@(CompilerGeneratedXmlDocFile)" | ||
PackagePath="ref\$(NetCoreAppCurrent)\" /> | ||
<NoDocPackages Include="@(ProjectReferenceCopyLocalPathNonPrivate->WithoutMetadataValue('UseCompilerGeneratedDocXmlFile', 'true')->WithMetadataValue('IsPackable', 'true')->'%(PackageId)'->Distinct())" /> | ||
|
||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
|
@@ -46,6 +47,13 @@ | |
<PlatformNotSupportedCompilerGeneratedXmlDocFile Remove="@(PlatformNotSupportedCompilerGeneratedXmlDocFile->WithMetadataValue('SuppressPlatformNotSupportedAssemblyDocXmlError', 'true'))" /> | ||
</ItemGroup> | ||
|
||
<WriteLinesToFile Lines="@(NoDocPackages)" | ||
File="$(OutputPath)NoDocPackages.txt" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In answer to @ViktorHofer question, I don't ingest packages via the transport package. Could I still read this file from the app that I run to generate the list of NuGet packages to ingest? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you use this package at all today? You could Or I could change where I place the file in the package and make it automatically copied to the output directory of the app. Today, this transport package includes all the assemblies under So... tell us what works best for you and we'll make it happen. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
That would be great if you can. |
||
Overwrite="true" /> | ||
ericstj marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<ItemGroup> | ||
<TfmSpecificPackageFile Include="$(OutputPath)NoDocPackages.txt" PackagePath="ref\$(NetCoreAppCurrent)\" /> | ||
</ItemGroup> | ||
|
||
<Error Text="Compiler generated XML documentation files are missing data because partial facade assemblies aren't supported by the repo infrastructure. Consider removing the partial facade feature. Assemblies: @(PartialFacadeCompilerGeneratedXmlDocFile->Metadata('Filename'), ', ')." | ||
Condition="'@(PartialFacadeCompilerGeneratedXmlDocFile)' != ''" /> | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.