Visual studio package manager not installing the files to project - visual-studio

Using Visual studio 2022 with new project for .net 6 MVC if try to install any nuget package (via nuget package manger on project) the actual css files etc for the package are not installed but the nuget package manager shows that it is installed. Example if I install date picker it shows the package is installed but there is no files for it đŸ˜–

Related

Visual Studio Nuget manager does not show OpenTK package

I am trying to add OpenTK as a dependency. When I open the Nuget Package Manager, the only Package source displayed is "Microsoft Visual Studio Offline Packages", so I went to Tools > Options > Nuget Package Manager > Package Sources and added the package source:
Name: nuget.org
Source: https://api.nuget.org/v3/index.json
I now get the following list of packages, but the OpenTK package is not there.
As a solution to installing packages that do not show up on the Nuget manager GUI, I can use the Package Manager Console which finds OpenTK without problem.
PM> Install-Package OpenTK
Maybe this is the package you need:
You can check if your scroll wheel is on the top and if there is any package you missed

How to install syncfusion javascript using nuget from visual studio community 2022 and visual studio code?

I tried the link here
https://www.nuget.org/packages/Syncfusion.JavaScript/
Install-Package Syncfusion.JavaScript -Version 19.4.0.47
From inside VS 2022 community I can not find nuget GUI so I used the console and I get this
I tried from nuget.exe and get this
I tried in vs code I pressed Ctrl+Shit+P and typed nuget to install nuget GUI but nothing found. What I should do ?
To install the NuGet packages in Visual Studio through package manager Console, run the command under Package Manager tab.
Install-Package Syncfusion.JavaScript -Version 19.4.0.47
install-package-visual-studio
To install NuGet packages in the Visual Studio Code, please run the below command in the Visual Studio Code terminal which is under .NET CLI tab in the nuget.org
dotnet add package Syncfusion.JavaScript –version 19.4.0.47
install-package-vscode
For more details to install NuGet packages in the application, please refer the below link:
https://ej2.syncfusion.com/aspnetcore/documentation/nuget-packages/

Cannot install nuget package because the current nuget package manager version is not supported (Entity Framework)

I upgraded to VS2022 and Dev Express XAF 21.2.4. When I run the Xaf wizard to generate a Winforms Entity Framework solution I get the following error:
Cannot install NuGet package because the current NuGet Package Manager
version is not supported. Please install the latest version of the
Nuget Package Manager and restart the wizard or add the reference
manually after the wizard finishes. Package:Entity Framework
From Nuget help I understand that Nuget comes with VS2022 so I don't understand how I can install the latest version.
[Update]
Typing nuget at the dos prompt or at the developer command prompt for VS 2022 I get
'nuget' is not recognized as an internal or external command, operable
program or batch file
I had this problem for a long time
upgrade vs code if it doesnt work
https://www.nuget.org/downloads download nuget.exe and manually run nuget restore in that folder

VS2017 Metadata file '.dll' could not be found

After upgrading to Visual Studio 2017, I am unable to build my project. Visual Studio 2015 still works when pointing at the exact same project.
this is the build errors I get Metadata file '******.dll' could not be found
I've already tried https://stackoverflow.com/a/17723774/3511012 with no success
I tracked the issue down to a specific NuGet package that has not yet been updated for visual studio 2017. (Baseclass.Contrib)
It isn't yet registered as having updates available through the nuget package manager, but you can manually update using the nuget console and running this command Install-Package Baseclass.Contrib.Nuget.Output -Version 2.3.0-vs20172

Creating a NuGet package for Windows 7.1 SDK

I've been creating NuGet packages for some of my libraries. The goal is to have my Jenkins build server use a CoApp .autopkg script to build a NuGet package that I can then use in other projects.
The issue is that the build server uses the standalone Windows 7.1 SDK rather than Visual Studio 2010. I guess this is a separate Platform Toolset? So essentially, I can't use the packages compiled by the build server in my Visual Studio 2010 projects? Do people normally install a copy of Visual Studio on their build servers?
Are you using nuget.exe pack to create packages? You shouldn't need visual studio to run nuget.exe.
Here is a link to nuget.exe pack command reference - http://docs.nuget.org/docs/reference/command-line-reference#Pack_Command

Resources