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 FakeItEasy icon in package #1627

Closed
thomaslevesque opened this issue Sep 19, 2019 · 3 comments · Fixed by #1642
Closed

Embed FakeItEasy icon in package #1627

thomaslevesque opened this issue Sep 19, 2019 · 3 comments · Fixed by #1642
Milestone

Comments

@thomaslevesque
Copy link
Member

PackageIconUrl is deprecated in .NET Core 3 SDK, and is replaced with PackageIcon, which refers to an embedded image.
https://docs.microsoft.com/en-us/nuget/reference/msbuild-targets#packageiconurl

We should embed the icon in the package when we switch to .NET Core 3 SDK.

Note: I'm not seeing the NU5048 warning on FIE when using the latest SDK (3.0 RC1), not sure why. I tried on another project and the warning does appear.

@thomaslevesque
Copy link
Member Author

Note: I'm not seeing the NU5048 warning on FIE when using the latest SDK (3.0 RC1), not sure why. I tried on another project and the warning does appear.

Ah, that was because of this:

<NoPackageAnalysis>true</NoPackageAnalysis>

If we re-enable package analysis, there are some warnings that we should probably fix:

In FakeItEasy.Analyzer.CSharp:

warning NU5128: Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location. Consult the list of actions below:
warning NU5128: - Add lib or ref assemblies for the netstandard1.1 target framework

In FakeItEasy.Analyzer.VisualBasic:

warning NU5128: Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location. Consult the list of actions below:
warning NU5128: - Add lib or ref assemblies for the netstandard1.1 target framework

@blairconrad blairconrad added this to the vNext milestone Oct 3, 2019
@blairconrad
Copy link
Member

I'm for re-enabling the analysis if it's tractable.

@blairconrad
Copy link
Member

This change has been released as part of FakeItEasy 5.3.0.

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

Successfully merging a pull request may close this issue.

2 participants