Git Product home page Git Product logo

Comments (7)

asafieh avatar asafieh commented on August 22, 2024 1

I found newer version v3.6.0 on nuget.org which was not showing Tools->Extensions and Updates
I have installed it and resolved the issue it only works with framework version 4.7

below is the log:

Attempting to gather dependency information for package 'Binance.Net.2.3.4' with respect to project 'BinanceBot', targeting '.NETFramework,Version=v4.7'
Gathering dependency information took 4.45 sec
Attempting to resolve dependencies for package 'Binance.Net.2.3.4' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'Binance.Net.2.3.4'
Resolved actions to install package 'Binance.Net.2.3.4'
Retrieving package 'SuperSocket.ClientEngine.Core 0.9.0' from 'nuget.org'.
Retrieving package 'WebSocket4Net 0.15.1' from 'nuget.org'.
Retrieving package 'Binance.Net 2.3.4' from 'nuget.org'.
Retrieving package 'System.Collections.Specialized 4.3.0' from 'nuget.org'.
Retrieving package 'System.IO 4.3.0' from 'nuget.org'.
Retrieving package 'System.Linq 4.3.0' from 'nuget.org'.
Retrieving package 'System.Net.NameResolution 4.3.0' from 'nuget.org'.
Retrieving package 'System.Net.Sockets 4.3.0' from 'nuget.org'.
Retrieving package 'System.Runtime 4.3.0' from 'nuget.org'.
Retrieving package 'System.Runtime.Extensions 4.3.0' from 'nuget.org'.
Retrieving package 'System.Runtime.InteropServices 4.3.0' from 'nuget.org'.
Retrieving package 'System.Security.Cryptography.Encoding 4.3.0' from 'nuget.org'.
Retrieving package 'System.Security.Cryptography.Primitives 4.3.0' from 'nuget.org'.
Retrieving package 'System.Security.Cryptography.Algorithms 4.3.0' from 'nuget.org'.
Retrieving package 'System.Security.Cryptography.X509Certificates 4.3.0' from 'nuget.org'.
Retrieving package 'System.Net.Security 4.3.0' from 'nuget.org'.
Retrieving package 'System.Text.RegularExpressions 4.3.0' from 'nuget.org'.
Retrieving package 'System.Threading 4.3.0' from 'nuget.org'.
Retrieving package 'System.Threading.Timer 4.3.0' from 'nuget.org'.
Retrieving package 'Newtonsoft.Json 10.0.3' from 'nuget.org'.
Adding package 'Newtonsoft.Json.10.0.3' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'Newtonsoft.Json.10.0.3' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'Newtonsoft.Json.10.0.3' to 'packages.config'
Executing script file 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages\Newtonsoft.Json.10.0.3\tools\install.ps1'...
Successfully installed 'Newtonsoft.Json 10.0.3' to BinanceBot
Adding package 'System.Collections.Specialized.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Collections.Specialized.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Collections.Specialized.4.3.0' to 'packages.config'
Successfully installed 'System.Collections.Specialized 4.3.0' to BinanceBot
Adding package 'System.IO.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.IO.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.IO.4.3.0' to 'packages.config'
Successfully installed 'System.IO 4.3.0' to BinanceBot
Adding package 'System.Linq.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Linq.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Linq.4.3.0' to 'packages.config'
Successfully installed 'System.Linq 4.3.0' to BinanceBot
Adding package 'System.Net.NameResolution.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Net.NameResolution.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Net.NameResolution.4.3.0' to 'packages.config'
Successfully installed 'System.Net.NameResolution 4.3.0' to BinanceBot
Adding package 'System.Net.Sockets.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Net.Sockets.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Net.Sockets.4.3.0' to 'packages.config'
Successfully installed 'System.Net.Sockets 4.3.0' to BinanceBot
Adding package 'System.Runtime.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Runtime.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Runtime.4.3.0' to 'packages.config'
Successfully installed 'System.Runtime 4.3.0' to BinanceBot
Adding package 'System.Runtime.Extensions.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Runtime.Extensions.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Runtime.Extensions.4.3.0' to 'packages.config'
Successfully installed 'System.Runtime.Extensions 4.3.0' to BinanceBot
Adding package 'System.Runtime.InteropServices.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Runtime.InteropServices.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Runtime.InteropServices.4.3.0' to 'packages.config'
Successfully installed 'System.Runtime.InteropServices 4.3.0' to BinanceBot
Adding package 'System.Security.Cryptography.Encoding.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Security.Cryptography.Encoding.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Security.Cryptography.Encoding.4.3.0' to 'packages.config'
Successfully installed 'System.Security.Cryptography.Encoding 4.3.0' to BinanceBot
Adding package 'System.Security.Cryptography.Primitives.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Security.Cryptography.Primitives.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Security.Cryptography.Primitives.4.3.0' to 'packages.config'
Successfully installed 'System.Security.Cryptography.Primitives 4.3.0' to BinanceBot
Adding package 'System.Security.Cryptography.Algorithms.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Security.Cryptography.Algorithms.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Security.Cryptography.Algorithms.4.3.0' to 'packages.config'
Successfully installed 'System.Security.Cryptography.Algorithms 4.3.0' to BinanceBot
Adding package 'System.Security.Cryptography.X509Certificates.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Security.Cryptography.X509Certificates.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Security.Cryptography.X509Certificates.4.3.0' to 'packages.config'
Successfully installed 'System.Security.Cryptography.X509Certificates 4.3.0' to BinanceBot
Adding package 'System.Net.Security.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Net.Security.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Net.Security.4.3.0' to 'packages.config'
Successfully installed 'System.Net.Security 4.3.0' to BinanceBot
Adding package 'SuperSocket.ClientEngine.Core.0.9.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'SuperSocket.ClientEngine.Core.0.9.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'SuperSocket.ClientEngine.Core.0.9.0' to 'packages.config'
Successfully installed 'SuperSocket.ClientEngine.Core 0.9.0' to BinanceBot
Adding package 'System.Text.RegularExpressions.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Text.RegularExpressions.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Text.RegularExpressions.4.3.0' to 'packages.config'
Successfully installed 'System.Text.RegularExpressions 4.3.0' to BinanceBot
Adding package 'System.Threading.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Threading.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Threading.4.3.0' to 'packages.config'
Successfully installed 'System.Threading 4.3.0' to BinanceBot
Adding package 'System.Threading.Timer.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Threading.Timer.4.3.0' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'System.Threading.Timer.4.3.0' to 'packages.config'
Successfully installed 'System.Threading.Timer 4.3.0' to BinanceBot
Adding package 'WebSocket4Net.0.15.1' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'WebSocket4Net.0.15.1' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'WebSocket4Net.0.15.1' to 'packages.config'
Successfully installed 'WebSocket4Net 0.15.1' to BinanceBot
Adding package 'Binance.Net.2.3.4' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'Binance.Net.2.3.4' to folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Added package 'Binance.Net.2.3.4' to 'packages.config'
Successfully installed 'Binance.Net 2.3.4' to BinanceBot
Executing nuget actions took 21.12 sec
========== Finished ==========
Time Elapsed: 00:00:32.1645283

thank you for your prompt support.

from binance.net.

JKorf avatar JKorf commented on August 22, 2024

Hi, could you share the logging when trying to install in a project targeting .Net version 4.5 or higher? Lower isn't supported, and the error in this log is it can't install on a .Net framework 2.0 project which makes sense.

from binance.net.

asafieh avatar asafieh commented on August 22, 2024

Hi,
GET https://www.nuget.org/api/v2/Packages(Id='Binance.Net',Version='2.3.4')
OK https://www.nuget.org/api/v2/Packages(Id='Binance.Net',Version='2.3.4') 689ms
Resolved actions to install package 'Binance.Net.2.3.4'
GET https://www.nuget.org/api/v2/Packages(Id='Binance.Net',Version='2.3.4')
OK https://www.nuget.org/api/v2/Packages(Id='Binance.Net',Version='2.3.4') 793ms
Install failed. Rolling back...
Package 'Binance.Net.2.3.4' does not exist in project 'BinanceBot'
Package 'Binance.Net.2.3.4' does not exist in folder 'c:\users\ashraf\documents\visual studio 2015\Projects\BinanceBot\packages'
Could not install package 'Binance.Net 2.3.4'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.7', 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.
========== Finished ==========

from binance.net.

asafieh avatar asafieh commented on August 22, 2024

Can you please tell me which Framework version have you used I found similar issue :
https://stackoverflow.com/questions/34463262/nugets-install-in-visual-studio-2015

from binance.net.

JKorf avatar JKorf commented on August 22, 2024

The package is targeting .NetStandard2.0, which is supported by .Net framework 4.5 and up.

Can you try updating your Nuget client?

Go to Tools->Extensions and Updates and select Updates->Visual Studio Gallery. Update the NuGet Package Manager extension. Then try to install the package after Visual Studio gets restarted.

from binance.net.

asafieh avatar asafieh commented on August 22, 2024

There is no update for NuGet version i have is 3.4.4.1321 .. i have attempted to reinstall it ..
Please not I am able to install Binance.Net.2.0.0 and below .

Belowo is the new log.

Attempting to gather dependency information for package 'Binance.Net.2.3.4' with respect to project 'BinanceBot', targeting '.NETFramework,Version=v4.6'
Attempting to resolve dependencies for package 'Binance.Net.2.3.4' with DependencyBehavior 'Lowest'
Resolving actions to install package 'Binance.Net.2.3.4'
Resolved actions to install package 'Binance.Net.2.3.4'
Install failed. Rolling back...
Package 'Binance.Net.2.3.4' does not exist in project 'BinanceBot'
Package 'Binance.Net.2.3.4' does not exist in folder 'C:\Users\Ashraf\Documents\Visual Studio 2015\Projects\BinanceBot\packages'
Could not install package 'Binance.Net 2.3.4'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6', 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.
========== Finished ==========

from binance.net.

JKorf avatar JKorf commented on August 22, 2024

Ah great. The earlier versions of the Nuget client don't recognize the .NetStandard2.0 compatibility correctly I think. Earlier versions of Binance.Net we're based on .Net 4.6.1, so it makes sense it recognized those.

from binance.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.