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

Unable to add Controllers and Views in ASP.NET Core MVC project

$
0
0

I created a solution on Visual Studio 2019 and that solution contains ASP.NET core MVC Web application. When i try to add new controllers it gives error and not able to add it.Error is "There was an error running the selected code generator. Unable to get repository signature information for source https://api.nuget.org/v3-index/repository-signatures/5.0.0/index.json"

Then I changed the package source of nuget package manager to my organizations's customized source on visual studio 2019.

After changing the source of nuget package manager, I tried again to add controllers and views but got different errors and not able to add it. Error is "There was an error running the selected code generator.Package restore failed.Rolling back package changes for projectname".

I tried cleaning nuget package cache but it didn't help me.

Please help me to fix this issue. Any help is appreciated.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



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