Skip to content
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

Embedded Icon won't show in Visual Studio (16.3) #8772

Closed
krafs opened this issue Oct 30, 2019 · 1 comment
Closed

Embedded Icon won't show in Visual Studio (16.3) #8772

krafs opened this issue Oct 30, 2019 · 1 comment
Labels
Product:VS.Client Resolution:Duplicate This issue appears to be a Duplicate of another issue Type:Bug

Comments

@krafs
Copy link

krafs commented Oct 30, 2019

Details about Problem

NuGet product used: NuGet.exe

NuGet version: 5.3.1.6268

VS version: 16.3.6

OS version: win10 v1903 (18362.449)

Worked before?: Don't know. First time making NuGet-package.

Detailed repro steps so we can see the same problem

  1. Run nuget spec

  2. Add <icon>icon.png</icon> to the metadata tag in the nuspec.

  3. Add icon.png to the working folder. (icon taken from PackageIconNuspecExample)

  4. Run nuget pack

  5. Add generated package to local repository

  6. Open Visual Studio => NuGet Package Manager

  7. Change Package Source to local repository.

  8. Package has the default, fallback icon - Not the packed icon.

Sample Project

SampleNuget.zip

@rrelyea rrelyea added Product:VS.Client Type:Bug Resolution:Duplicate This issue appears to be a Duplicate of another issue labels Nov 1, 2019
@rrelyea
Copy link
Contributor

rrelyea commented Nov 1, 2019

We are doing this work. Done now, but need some improvements. So likely shipping in VS 16.5. #8189 is tracking that work.

Until then, packages can choose to use the new technique, and leave the old url in the project and/or nuspec -- that will stop the warning, and still work in versions of VS that don't know how to show it yet.

/cc @dominoFire @agr @karann-msft

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Product:VS.Client Resolution:Duplicate This issue appears to be a Duplicate of another issue Type:Bug
Projects
None yet
Development

No branches or pull requests

2 participants