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

.NETFramework Version v4.8 issue #10

Open
rubberfashion opened this issue Mar 29, 2020 · 5 comments
Open

.NETFramework Version v4.8 issue #10

rubberfashion opened this issue Mar 29, 2020 · 5 comments

Comments

@rubberfashion
Copy link

Hello,

i can not install the package. The following error Code i got:

Install-Package : Could not install package 'eBay.OAuth.Client 1.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.8', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Thank for your help.

@arpetris
Copy link

arpetris commented Apr 1, 2020

I managed to install the latest stable build from nuget, version 1.0.1, into both a Visual Studio desktop and a web app targeting .Net Framework 4.8. I also installed 1.0.0 into the web app without any problems.

Can you give more details to reproduce this issue?

@rubberfashion
Copy link
Author

Hi, i am no expert in that, sorry. Only got this message again and agin and can not install.

What details you need? I create this with VS 2013. And i use desktop App.

Thank you for your support!

@arpetris
Copy link

arpetris commented Apr 2, 2020

I'm using Visual Studio 2019 Community Edition and installing using the nuget package manager. You might want to try installing via the nuget package manager and see if that works.

I don't have 2013 installed so I'm using the web for the UI options. If you right click on the "references", you should see an item "Manage NuGet Packages ...". Choose the option "Online" on the left and search for eBay OAuth. You should find eBay.OAuth.Client. For me it shows up second on the list. If you click on it, you'll see the option to install. The newest version is 1.0.1 and should be selected automatically.

If that doesn't work, all I can suggest is downloaded the code and building the library yourself. It should be compatible 4.8 since I managed to install it without issue.

@rubberfashion
Copy link
Author

Hi,

i created a new project in VS 2013 and used different frameworks. Also used NugetManager.
I always get same error, no matter what framework i choose.
Maybe i can send you error log or something like this if you tell me how.
Also when i download and open your project i got the following error:

Maybe because is use VS 2013?

...\ebay-oauth-csharp-client-master\ebay-oauth-csharp-client-master\Tests\ebay-oauth-csharp-client-tests.csproj : error : The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. ...\ebay-oauth-csharp-client-master\ebay-oauth-csharp-client-master\Tests\ebay-oauth-csharp-client-tests.csproj

@arpetris
Copy link

arpetris commented Apr 4, 2020

The compile error you are getting may be due to using VS 2013. There is a discussion on stack overflow here:

https://stackoverflow.com/questions/42509313/the-default-xml-namespace-of-the-project-must-be-the-msbuild-xml-namespace

There is a suggestion in the thread to try VS Code instead and some hints on using the command line to work around the problem.

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