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

Warning Emoji.Wpf may not be fully compatible with '.NET 5.0' #36

Closed
SJGowen opened this issue Mar 12, 2021 · 2 comments
Closed

Warning Emoji.Wpf may not be fully compatible with '.NET 5.0' #36

SJGowen opened this issue Mar 12, 2021 · 2 comments

Comments

@SJGowen
Copy link

SJGowen commented Mar 12, 2021

I have used Emoji.Wpf to give my application that displays emoji's colour! My application is using the latest dot net core framework and I am just using the standard animal emoji's. When I add the Emoji.Wpf nuget package I get the below warning!

Package 'Emoji.Wpf 0.2.5' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework 'net5.0-windows7.0'. This package may not be fully compatible with your project.

Despite this, the application seems to be behaving properly! Below I have pasted my applications csproj file in case it gives you any clues:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net5.0-windows</TargetFramework>
    <UseWPF>true</UseWPF>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Emoji.Wpf" Version="0.2.5" />
  </ItemGroup>

</Project>
@samhocevar
Copy link
Owner

I believe this is the same as #24 and will be fixed in the next release, which is happening very soon!

By the way, if you would like to, you can post a screenshot of your application in #37 and add a link to it!

@samhocevar
Copy link
Owner

This should be fixed in Emoji.Wpf 0.3.0!

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

No branches or pull requests

2 participants