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

Embed icon in NuGet package #520

Conversation

generik0
Copy link
Contributor

@generik0 generik0 commented May 1, 2020

Remove PackageIconUrl in favour of the new PackageIcon configuration

Fixes #518

@generik0
Copy link
Contributor Author

generik0 commented May 1, 2020

H @jonorossi looks good locally:

image

image

image

image

But from the build server the project Icon still present.. Very strange. Why would the build be different locally v's appveyor

image

@generik0
Copy link
Contributor Author

generik0 commented May 1, 2020

@jonorossi This is incredibly strange. The AppVeyor build is not adding the icon to the nuspec. Can it be due to the AppVeyor build using an old nuget/VS version?

@jonorossi
Copy link
Member

This is incredibly strange. The AppVeyor build is not adding the icon to the nuspec. Can it be due to the AppVeyor build using an old nuget/VS version?

Very possible. We are using VS2017:

image: Visual Studio 2017

According to AppVeyor's docs, it has "NuGet 4.9.2".

@jonorossi jonorossi marked this pull request as draft May 1, 2020 09:43
@generik0
Copy link
Contributor Author

generik0 commented May 1, 2020

Can we upgrade to Vs2019? I have not experienced any issues with MSBuild in 2019 vs 2017. All my upgrades went fluently:-)

@generik0
Copy link
Contributor Author

Hi @jonorossi. Sorry about the delay. Busy with work and family. Haven't had the time I needed for anything else (excuses excuses)..
Now i have the projecticon and projecticonurl in the props

Copy link
Member

@stakx stakx left a comment

Choose a reason for hiding this comment

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

LGTM. I haven't tested this change here, but I've verified the same change over at castleproject/Core (in VS 2017 & 2019's NuGet Package Manager console, and in the build script's MSBuild output), so I expect this will be fine, too.

⚠️ For Windsor, there may still be the VS 2017 / 2019 toolchain issue to resolve, however.

@jonorossi jonorossi marked this pull request as ready for review June 17, 2020 09:22
@jonorossi jonorossi added this to the v5.1.0 milestone Jun 17, 2020
@jonorossi jonorossi changed the title feature/518 add project icon to common props Embed icon in NuGet package Jun 17, 2020
@jonorossi jonorossi merged commit da81ccb into castleproject:master Jun 17, 2020
@jonorossi
Copy link
Member

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windsor does not build due to projecticonurl being obsolete
3 participants