BogdanovKirill / RtspClientSharp

Pure C# RTSP client for .NET Standard without external dependencies and with true async nature. I welcome contributions.
MIT License
706 stars 284 forks source link

Install RtspClientSharp in .NET v4.6 or v4.6.1 #61

Open crtassos opened 4 years ago

crtassos commented 4 years ago

I tried to install the Rtsp client using Nuget package manager and i got...

"Could not install package 'RtspClientSharp 1.3.3'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6.1', 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.". Any ideas?

BogdanovKirill commented 4 years ago

Could you create test poject for .NET 4.6.1 and try to install again? At the moment I don't see any problem.

MysticMight commented 4 years ago

I tried to install the Rtsp client using Nuget package manager and i got...

"Could not install package 'RtspClientSharp 1.3.3'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6.1', 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.". Any ideas?

@crtassos I had a similar issue before. If you are using Microsoft Visual Studio 2017, make sure you are on the latest version (and if you have to update it may take a while...). That seemed to work for me.

BogdanovKirill commented 4 years ago

@MysticMight

Thank you for your help. May be this problem should be considered as bug.

crtassos commented 4 years ago

I changed the version .NET version of the subproject to target 4.6.1(and any other dependend projects) in vs 19 and i was able to install them. Of course i ended up with a banch of warnings..

warning MSB3274: The primary reference "OCU.AV.OpenCVSharp\bin\Debug\OCU.AV.OpenCVSharp.dll" could not be resolved because it was built against the ".NETFramework,Version=v4.6.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6".

But it worked. I have not tested for any run time bugs. I hope it will be ok..One way to find out!!

Jiayuan-Hu commented 2 years ago

for me i use Microsoft visual studio 2013,2019 try to install this package. both of them, can not install and give me same problem. " Severity Code Description Project File Line Suppression State Error Could not install package 'RtspClientSharpSPG 0.0.3'. 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.
"