FontStashSharp / FontStashSharp

C# port of https://github.com/memononen/fontstash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FontStashSharp not building due to lack of XNA(FNA)

mayacopeland opened this issue · comments

commented

Hi there,

I'm trying to use FontStashSharp for my project, my folder structure is the same as what's required in the tutorial, however the dotnet compiler spits out a ton of errors.

When I open the files all the errors dissapears but the DLL still wont build. Is there any solution for this?
image
image
image

I apologise if this is a duplicate issue, I just haven't seen anything else.

commented

I'm not too sure why it doesn't even recognise stuff as Vector2, but if you have any ideas or somewhere that can point me in the direction of fixing this it would be appreciated, thanks!

commented

It turns out that FNA was targeted for dotnet framework 4.8, and this was 4.5, retargeting the solution fixed the problem.