Markdown nuget installation failed - visual-studio-2013

I get this error when I try to install markdown.
Installing 'Markdown 2.2.1'.
Successfully installed 'Markdown 2.2.1'.
Adding 'Markdown 2.2.1' to SimpleCMS.
Uninstalling 'Markdown 2.2.1'.
Successfully uninstalled 'Markdown 2.2.1'.
Install failed. Rolling back...
Could not install package 'Markdown 2.2.1'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', 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.
I'm using Microsoft Visual Studio 2013 and I'm on Windows 10. I tried updating the Nuget Package Manager but to no avail.

Markdown 2.2.1 depends on .Net Framework version 4.5.1
The error suggests you're trying to install it in a project targeting .Net framework 4.5
Two options:
Install Markdown 2.1.0
Update the target .Net framework for your application. This would generally be frowned upon, if you're writing a commercial application. Fine if it's just yours.
From the package manager console, you can do:
Install-Package Markdown -Version 2.1.0

Related

Failed to install ClosedXML dependency

I need to install ClosedXML dependency to build a C# project with .net framework 4.7.2 but when trying to install I always get the same error: "Cannot resolve dependency 'SixLabors.Fonts'. Sources used: 'nuget.org', 'Microsoft Visual Studio Offline Packages'"
I have tried everything to install from the nuget package manager
What version are you trying to install? I think you should install SixLabors.Fonts first and then install ClosedXML, as the newer versions of ClosedXML depend on it.
I faced the same proplem when trying to install ClosedXML today. ClosedXML depends on the SixLabors.Fonts library which is only available in beta at the moment.
To find the library with the NuGet Browser, make sure to check the "Include prerelease" box. You should then be able to find it listed below. After installing SixLabors.Fonts, you should be able to install ClosedXml without any further issues.

Can't Install Package

I Was Trying to Install this package but this keeps getting error. I also Tried Changing The Target Framework to 4.7 and 4.7.2
Installing 'Anviz.SDK 2.0.4'.
Successfully installed 'Anviz.SDK 2.0.4'.
Adding 'Anviz.SDK 2.0.4' to Anviz.
Uninstalling 'Anviz.SDK 2.0.4'.
Successfully uninstalled 'Anviz.SDK 2.0.4'.
Install failed. Rolling back...
Could not install package 'Anviz.SDK 2.0.4'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', 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.
Moving from a comment to answer to get full resolution of the issue.
The problem is that the package in question supports netstandard2.0 and Visual Studio 2013 as a toolset does not recognize the netstandard2.0 framework. You'd need a newer Visual Studio version to take a dependency on this package.

Having problems installing a Windows app via power shell? error 0x80073CF3?

I am not a developer or anything.I just want to install this game and i don't have visual studio installed
add-appxpackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict
validation.
Windows cannot install package A278AB0D.ModernCombat5Blackout because this package depends on anot
couldn't be found. This package requires minimum version 2.11.2154.0 of framework Microsoft.Media.
published by any publisher to install; the frameworks with name Microsoft.Media.PlayReadyClient.2
user are Microsoft.Media.PlayReadyClient.2_2.8.1947.0_x86__8wekyb3d8bbwe
Microsoft.Media.PlayReadyClient.2_2.8.1947.0_x64__8wekyb3d8bbwe. Provide the correct framewor
Windows cannot install package A278AB0D.ModernCombat5Blackout because this package depends on anot
couldn't be found. This package requires minimum version 2.11.2154.0 of framework Microsoft.Media.
published by any publisher to install; the frameworks with name Microsoft.Media.PlayReadyClient.2
user are Microsoft.Media.PlayReadyClient.2_2.8.1947.0_x86__8wekyb3d8bbwe
Microsoft.Media.PlayReadyClient.2_2.8.1947.0_x64__8wekyb3d8bbwe. Provide the correct framework
You get this error message because you don't have the required Visual Studio 2012 frameworks. Solved by downloading and installing VS 2012.

Caliburn.Micro NuGet Install Fails on Portable Class Library Project

I am attempting to instal the Caliburn.Micro-Contrib NuGet package into an empty PCL project in VS 2013 Professional.
I get the following error from NuGet when attempting to install the package:
Attempting to resolve dependency 'Caliburn.Micro (≥ 1.3.1)'.
Installing 'Caliburn.Micro 1.3.1'.
Successfully installed 'Caliburn.Micro 1.3.1'.
Installing 'Caliburn.Micro-Contrib 1.0.2'.
Successfully installed 'Caliburn.Micro-Contrib 1.0.2'.
Adding 'Caliburn.Micro 1.3.1' to ClassLibrary2.
Uninstalling 'Caliburn.Micro 1.3.1'.
Successfully uninstalled 'Caliburn.Micro 1.3.1'.
Install failed. Rolling back...
Could not install package 'Caliburn.Micro 1.3.1'. You are trying to install this package into a project that targets 'portable-net40+win+wpa81+MonoAndroid10+xamarinios10+MonoTouch10', 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.
What is the cause of the problem and how can I fix this?
Note the package installs successfully for a standard class project but not for PCL projects. The PCL is intended to be a Xamarin Android and iOS project.
It doesn't appear that Caliburn.Micro Contrib has a PCL Compatible package. It also depends on the full (not PCL) version of Caliburn Micro. Also note that it appears that Xamarin support is only available in the pre-release beta of Caliburn Micro.

Is it possible to install Signalr with vs2010

I am trying to install SignalR in my vs2010 project and I get the following error -
Could not install package 'Microsoft.Owin.Security 2.0.2'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', 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.
How can I install SignalR on vs2010 ??
You need to install 1.x
>Install-Package Microsoft.AspNet.SignalR -Version 1.1.3
2.x requires 4.5 of the framework
Here is the solution you are looking for,
http://rionscode.wordpress.com/2013/04/06/getting-signalr-ready-in-visual-studio-2010/
v1.2.2 is the last version of SignalR for the Visual Studio 2010 with .Net Framework 4.0
PM> Install-Package Microsoft.AspNet.SignalR -Version 1.2.2

Resources