Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

nuGet package installation error - Visual Studio [closed]

$
0
0

Visual Studio - nuGet package installation error

So I am very new to Dot Net and we have a project folder (web site folder) which has a couple of .aspx and .aspx.cs files and a web.config file (that is all). My primary goal is to fetch our database secrets from Azure key vault instead of hardcoding it in the file(s). I need to install a package from nuGet to be able to do that. However, I am getting the following error when trying to install the package:

Install-Package : Could not install package 'Microsoft.AspNet.WebApi.Client 5.2.9'. You are trying to install this package into a project that targets '.NETFramework,Version=v2.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 tried some of the other popular solutions (upgrading dot net framework version) for this issue but I do not see the Properties > Applications option appearing when I right click on my project folder. How do I fix this issue?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>