glyphard / expo-server-sdk-dotnet

Server-side library for working with Expo using .Net
MIT License
38 stars 23 forks source link

Cannot use component in WinForm application #8

Closed fangot14 closed 3 years ago

fangot14 commented 3 years ago

Hello. I do not understand why the component cannot be installed in my application: Installation error

My project is a WinForm application (Application Windows Forms) using .NetFramework 4.5 but the problem also exists with version 4.6 or other. I use Visual Studio 2015. Thank you for any help.

glyphard commented 3 years ago

@fangot14 Interesting. My guess is that because this lib was written for .netcore, this issue is as simple as the lib is not targeting .net standard or not targeting a version of .net framework. The top answer to this similar stackoverflow question is likely the solution: https://stackoverflow.com/questions/33810504/reference-a-net-core-library-in-a-net-4-6-project

Would you like to make the change and submit a PR?

fangot14 commented 3 years ago

You are right. The package can be installed in a .NetCore project. I do not know this new this new concept but I will go on with it. Many thanks.