Redis Session provider broke when installing VS 2015 - asp.net

After installing Visual Studio 2015 my app session doesn't work anymore. I'm using Microsoft.Web.RedisSessionStateProvider.

My problem was I had an outdated version of the Microsoft.Web.RedisSessionStateProvider package (0-0-3-Pre).
Be sure to update it to make it compatible with the new changes included in ASP.NET 4.6.
Open the Package Manager Console in Visual Studio, select your project and run:
Update-Package Microsoft.Web.RedisSessionStateProvider

Related

Detected package downgrade for Boilerplate Application(.NET Core 3.1)

I'm trying to open my Boilerplate Application(.NET Core 3.1)in VSCode in Linux but below exception, keep appeared for me. Is there any difference between .NET Core for Linux and for Windows or What is the problem?
Detected package downgrade: Abp.ZeroCore from 5.7.0 to 5.1.0. Reference the package directly from the project to select a different version.
No this is not related to the OS that you run your application.
As stated in the error message there a downgrade in one of your nuget packages.
Go to your Boilerplate.csproj and try to manually set the version of Abp.ZeroCore nuget package from 5.1.0 that it is currently to 5.7.0.

nuget package manager console not working, package source dropwdown is disabled and empty

I'm new to asp.net, and I'm trying to run migrations, but I can't make the nuget console manager to work. I've installed everything:
the .NET core
Nuget package management extension
but I still can't work it out.
(the nuget.org source package is already installed and checked)

Using .netstandard2.0 NuGet with .NetFramework4.6.2

I have a project in .NetStandard2.0 and this has to be used as a nuget in 2 projects, one in .NetCore2.2 and the other in .NetFramework4.6.2. Installing the nuget in .NetCore2.2 had no issues, but when I'm trying to install this package in the other project, I'm getting the following error -
Could not install package 'packageName'. You are trying to install
this package into a project that targets
'.NETFramework,Version=v4.6.2', 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 also tried changing the target framework of this project from .NetFramework4.6.2 to .NetFramework4.7.2, but I'm getting the same error. Am I doing something wrong?
I had opened the Framework project in Visual Studio 2015 and this was causing the issue on trying to install the nuget package which was created in .NetStandard2.0. It was successfully installed when I tried it in Visual Studio 2017.

Visual Studio restarts while trying to install package

Does anyone know why my visual studio 2015 restart when I try to install nuget packages? It happens only on certain projects.

Nuget Package manager download issue

I have VS 2010 , when i go to tools/Extension Manager ans start getting Nuget Package manager ,after finishing installation I restart .Net ,but find nothing installed,
PS: I use .NET 4.0..
you can download Nuget Package manager directly http://nuget.codeplex.com/ from here and after installation restart VS.

Resources