Visual Studio could not install packages - visual-studio-2017

I installed the first time Visual Studio Community on my Mac an created a Project for an Android App and after I tried to add the "Tweedsharp" package I've got this error. I tried to add other packages or a new or an otherwise Projekt, but I couldn't add any package.
Could not install package 'TweetSharp-Unofficial 2.3.1.2'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v7.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.

Related

Visual Studio 2019 C++ project with NuGet package installing failds

I want to import some package through NuGet into my C++ Visual Studio 2019 project(of couse, packages available in C++).
All packakges I tried to install is from "nuget.org" source.
But all package installation fails with following reasons:
Install-Package : Could not install package 'SomePackage'.
You are trying to install this package into a project that targets
'native,Version=v0.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.
I think it occurs because I trying to install NuGet package in C++ project.
What is "native,Version=v0.0" means? How can I fix it?

C++ nuGet packages in vscode

How do I install nuGet packages for c++ in vs code? I've tried installing allegro library using nuGet plugin, but is seems to only work for c# projects, and says that it didn't find any .csproj files in the project.

Cannot install packages using Nuget

I am unable to install any packages to my Unity UWP project ouput in visual stuio using nuget(VS solution is in C++).
I get
"Could not install package 'xxxxx'. You are trying to install this package into a project that targets 'native,Version=v0.0', but the package does not contain any assembly references or content files that are compatible with that framework."
I have unity version 2019 and Visual studio 2019 installed.
so the sentence "but the package does not contain any assembly references or content files that are compatible with that framework" says all...

Set-DefaultScaffolder : Could not find scaffolder 'Mailer.Razor' in Visual Studio 2017 and MVC Mailer 4.0.5

Under Visual Studio 2017 while installing MVCMailer 4.5.0 I encounter the following error:
Set-DefaultScaffolder : Could not find scaffolder 'Mailer.Razor'
It turns out that when the MVC Mailer package is installed it is installed as 'MvcMailer.4.5' in the packages directory however the manifest must list it as 'MvcMailer.4.5.0'. When searching for the Mailer.Razor.ps1 script it is looking in the MvcMailer.4.5.0\tools directory but it can't find it because that folder does not exist so the scaffolder can not be set correctly.
The workaround is to install the package with the error. Then go to the packages directory and make a copy of the 'MvcMailer.4.5' folder and rename it to 'MvcMailer.4.5.0' then uninstall and reinstall the package - this time it will install without any errors and the default Mailer scaffolder will be set correcty.

NPM Install on Windows 7 issue, no Microsoft.CPP folder

I'm having troubles with npm install on Windows 7.
I'm using Visual Studio 2013 Express and I've also installed Microsoft Build Tools 2013.
I have the Path variable set and I've tried with the --msvs_version parameter in the npm install
It gives me the
error MSB4019: "C:\Program Files (x86)\MSBuild\12.0\Microsoft.Cpp.Default.props" not found
That folder doesn't exist on my computer, I only have
MSBuild\12.0
and
MSBuild\Microsoft
What do I miss to install?? I would be able to compile Node project without having to install the full version of VS, if possible, and honestly, I would be able to do it by installing the minimum required software.
Thank you!