Skip to content

NuGet Package from new .csproj - Summary/Title Tag missing #2937

Closed

Description

@mishra14

From @mishra14 on October 27, 2017 18:40

From @robertmuehsig on October 25, 2017 21:11

We are using the new .csproj and the integrated NuGet package building feature and I was wondering why I can't specify "Summary" and "Title" within Visual Studio?

When I upload the produced package to nuget.org, a title and summary field is shown without any input and the summary seems kind of important, because it is related to search?!

image

Repo steps:

  • Create new csproj
  • fill out some package details
  • upload produced package to nuget.org via the Web UI

I guess this is by design, but then the NuGet Gallery should render the fields differently.

Copied from original issue: NuGet/Home#6102

Copied from original issue: microsoft/VSProjectSystem#258

Activity

  1. mishra14 commented on Nov 3, 2017

    @mishra14
    Author

    From @robertmuehsig on October 27, 2017 5:34

    Is this part OSS and are PRs possible/welcome?

  2. mishra14 commented on Nov 3, 2017

    @mishra14
    Author

    @robertmuehsig this UI page is not owned by NuGet. I will move your bug to a better repo.

  3. mishra14 commented on Nov 3, 2017

    @mishra14
    Author

    From @adrianvmsft on November 3, 2017 18:16

    I think you should open this issue on the dotnet project system github. That is where the implementation of the .net core project system lives.

  4. mishra14 commented on Nov 3, 2017

    @mishra14
    Author

    @robertmuehsig the page is open source, please take a look at the link in the previous comment.

  5. added this to the milestone on Nov 6, 2017
  6. tompazourek commented on Nov 12, 2017

    @tompazourek

    MSBuild actually produces warnings that the Summary is missing if you use a long Description. This is what I get from my build output:

    Issue found with package 'MyTestNuGetPackage1'.
    ..\..\Program Files\dotnet\sdk\2.0.2\Sdks\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets 204 5 MyTestNuGetPackage1
    
    Issue: Consider providing Summary text.
    ..\..\Program Files\dotnet\sdk\2.0.2\Sdks\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets 204 5 MyTestNuGetPackage1
    
    Description: The Description text is long but the Summary text is empty. This means the Description text will be truncated in the 'Manage NuGet Packages' dialog.
    ..\..\Program Files\dotnet\sdk\2.0.2\Sdks\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets 204 5 MyTestNuGetPackage1
    
    Solution: Provide a brief summary of the package in the Summary field.
    ..\..\Program Files\dotnet\sdk\2.0.2\Sdks\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets 204 5 MyTestNuGetPackage1
    
  7. kkm000 commented on Dec 3, 2017

    @kkm000

    Same here, I am getting a long description warning when packaging from an SDK project file. A there is no way to even pass the summary field to the task in NuGet.Build.Tasks.Pack.targets which comes with VS15.4.5.

    C:\Program Files\dotnet\sdk\2.0.3\Sdks\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets(204,5): warning : Description: The Description text is long but the Summary text is empty. This means the Description text will be truncated in the 'Manage NuGet Packages' dialog.
    

    So my guess the missing UI field issue belong here, but the missing task parameter is a NuGet issue still. I'll open an issue again there.

  8. kkm000 commented on Dec 3, 2017

    @kkm000

    Looks like the Summary has been deprecated, so this is a non-issue: NuGet/Home#4587 (comment)

    @tompazourek: NoPackageAnalysis to the rescue!

        <NoPackageAnalysis>true</NoPackageAnalysis>
  9. davkean commented on Dec 15, 2017

    @davkean
    Member

    This UI wasn't added because the NuGet team asked us not to add it due to both being deprecated. @rrelyea and @mishra14 if that has changed can you please let us know? It looks like Summary has been deprecated, but what about Title?

  10. added
    Feature-Legacy-Application-Designer
    on Dec 15, 2017
  11. added
    Triage-Approved
    on Jan 10, 2019
  12. jjxtra commented on Sep 20, 2019

    @jjxtra

    I will just put in my two cents to remove the summary text box all-together then, it is very confusing when publishing nuget why it doesn't carry over from the csproj.

  13. drewnoakes commented on Apr 12, 2022

    @drewnoakes
    Member

    Summary is not supported. From the docs:

    Owners and Summary properties from .nuspec are not supported with MSBuild.

    Title makes sense and will be fixed for the new Project Properties UI in #8065.

  14. modified the milestones: Backlog, 17.3 on Apr 12, 2022
  15. self-assigned this
    on Apr 12, 2022
  16. added
    Feature-Project-Properties-Designer
    and removed on Apr 12, 2022
  17. ghost added
    Resolution-Fixed
    on Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Feature-Legacy-Application-DesignerFeature-Project-Properties-DesignerResolution-FixedTriage-Approved

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions