Can't install Orc.Controls in a .Net Framework 4.7 project - catel

When I try to add the Orc.Controls package v4.2.8 from Nuget I get the error "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." The documentation page https://opensource.wildgums.com/ says that .NET 4.7 is supported. Am I doing something wrong, or does the pacakge just not support .NET 4.7?

According to nuget, 4.1.1 was the last version to support .Net Framework 4.7, you can install that version with: Install-Package Orc.Controls -Version 4.1.1
The current version is >= .NET Core 3.1.

Related

Cannot install Microsoft.Azure.ServiceBus using NuGet

I'm running a test .Net Core Console app to try using ServiceBus messages. However after using Nuget to install Microsoft.Azure.ServiceBus v3.1.1 I get the following error
Package Microsoft.Azure.ServiceBus 3.1.1 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Microsoft.Azure.ServiceBus 3.1.1 supports: netstandard2.0 (.NETStandard,Version=v2.0)
I've tried installing up to v3.3.0 and get the same, I'm using the latest .Net framework and have updated my VS2017 so I don't know what the problem can be. Has anyone else had this issue?
I don't know what the problem can be
No matter the version of package Microsoft.Azure.ServiceBus is v3.1.1 or v3.3.0, both of their Dependencies is .NETStandard 2.0 while your app is .NetStandard 1.0. So, as Peter said, the version of .net core you have is too old.
You could go to download the latest .Net Core SDK and then reinstall the package you want.
Or you could download the Microsoft.Azure.ServiceBus v1.0.0. However, because the version is too old, some feature may not have. So, I suggest that you could update your TargetFramework to .net core 2.0+.
Your console app needs to have a TargetFramework .net core 2.0+ (Check in .csproj file), download latest .NET Core SDK and create a new .Net core console app to install the package again.

Can't install M2MQTT Nuget package to Xamarin.iOS

When installing the Nuget package for M2MQTT 4.3 to my Xamarin.iOS project, I get the following error:
Could not install package 'M2Mqtt 4.3.0'. You are trying to install
this package into a project that targets 'Xamarin.iOS,Version=v1.0',
but the package does not contain any assembly references or content
files that are compatible with that framework.
However, 4.2 works fine. I have seen this error pop up for some other packages too, and my Nuget is up to date. This error shows up when I try to install in VS2017 on Windows and also on Visual Studio for Mac.
Should it be possible to build the package myself from source, and if so, what do I need to change to make it compatible (assuming that the library doesn't actually use part of .NET that Xamarin.iOS doesn't support)?
The reason I need to update is that on 4.2 I get the following error when trying to create a MqttClient:
The type 'IPAddress' is defined in an assembly that is not referenced.
You must add a reference to assembly 'System, Version=3.9.0.0...'
and my hope is that this error will be resolved in the newest version.

Add Tweetinvi to mono without nuget

I had to make a .NET project in Linux using monodevelop. When I tried monodevelop in Ubuntu I got an error message when I used nuget at certain packages saying my version is 2.8 and I needed 2.12 or earlier.I updated nuget package successfully in terminal but monodevelop uses 2.8 no matter what I do. The nuget package I can't use because of this is Tweetinvi.
In order to solve this I have to either add tweetinvi without using nuget or manage to use nuget 2.12 running from outside monodevelop, which I could not find out how to do.
https://github.com/linvi/tweetinvi
MonoDevelop does not use the NuGet version supplied by Mono that is available from the command line. So updating the command line version of NuGet will not resolve any problems with MonoDevelop.
More recent versions of MonoDevelop use later versions of NuGet.
The last MonoDevelop version 5 release was version 5.10 which supports NuGet 2.8.7.
Support for MonoDevelop 2.12 was added in MonoDevelop 6.0.2. NuGet v3 support was added in MonoDevelop 6.1. Currently MonoDevelop 6 is only available as a FlatPak package unless you build it from source.
If you cannot build MonoDevelop from source you may be able to upgrade NuGet by copying the NuGet.Core.dll from the mono/nuget-binary GitHub repository and copying it into the NuGet addin directory addins/MonoDevelop.PackageManagement, but take a backup copy of the original NuGet.Core.dll before you do that so you can rollback the change if it does not work.
I am the developer of the library and the installation of the library without nuget is not supported on mono because I do not have enough time to look into it.
Tweetinvi supports mono > 4.5 with nuget.

Xamarin MvvmCross 3.5 What package should be added newly?

I updated Xamarin Mvvmcross 3.2.2 project to 3.5 for Unified API support.
Mvvmcross.HotTuna 3.5 package is added in project.
So there are Mvvmcross.HotTuna.CrossCore and Mvvmcross.HotTuna.MvvmCrossLibraries packages can be seen under Package folder.
But cannot find binding assemble, so "using Cirrious.MvvmCross.Binding;" is not resolved.
And MvxTouchSetup is also not resolved
The project worked well with Mvvmcross3.2.2.
Now what other nuget packages should be added in the project?
No package is added newly.
The 3.5 libraries package has been updated to include the new MvvmCross.Touch.dll for lib\Xamarin.iOS10\ - see https://github.com/MvvmCross/MvvmCross/blob/3.5/nuspec/MvvmCross.HotTuna.MvvmCrossLibraries.3.0.1.nuspec#L72
The 3.5 crosscore package has bee update to include the new MvvmCross.Binding.Touch.dll for lib\Xamarin.iOS10\ - see https://github.com/MvvmCross/MvvmCross/blob/3.5/nuspec/MvvmCross.HotTuna.CrossCore.3.0.1.nuspec#L91
If the update isn't working for you:
read the advice on http://kerry.lothrop.de/unified-api-for-xamarin-ios/ about how to update the unified
check you have updated your own project to Xamarin iOS unified
check you have up-to-date nuget installed
clean, rebuild, swear and retry until it all works

Json.net windows phone 8 development

I am Developing windows phone 8 app on visual studio 2012 for windows phone.....i am trying to use JSON.NET but i keep geeting this error when i install it
Could not install package 'Newtonsoft.Json 5.0.8'. You are trying to install this package into a project that targets 'WindowsPhone,Version=v8.0', but the package does not contain any assembly references that are compatible with that framework. For more information, contact the package author.
Please tell me the reason behind it and how to resolve it
Hello i am using visual studio express for windows phone 2012.
try this
PM> Install-Package Newtonsoft.Json -Version 4.5.11

Resources