Long story short, check out this answer to a StackOverflow question: Package destination of restore of.net-core projects is always global package directory The scenario is this, you are used to.NET Framework projects for which Visual Studio restored NuGet packages in a packages folder in the solution folder and then you switch to.NET Core. NuGet Gallery Microsoft.VisualStudio.Web.CodeGeneration.Design 5.0.2. Code Generation tool for ASP.NET Core. Contains the dotnet-aspnet-codegenerator command used for generating controllers and views. There is a newer prerelease version of this package available.
Code Generation tool for ASP.NET Core. Contains the dotnet-aspnet-codegenerator command used for generating controllers and views.
See the version list below for details.
NuGet packages contain reusable code that other developers make available to you for use in your projects. See What is NuGet? Packages are installed into a Visual Studio project using the NuGet Package Manager, the Package Manager Console, or the dotnet CLI. You can configure Visual Studio to automatically generate the NuGet package when you build the project. In Solution Explorer, right-click the project and choose Properties. In the Package tab, select Generate NuGet package on build.
If you want to keep this general setting, you should be able to use a nuget.config file in your VS Code project (which you mentioned you don't have at the moment). There is more info on this here - Add custom package source to Visual Studio Code. Also, if you're.
Dependencies
.NETCoreApp 2.0
- Microsoft.Build.Runtime(>= 15.3.409)
- Microsoft.Extensions.FileProviders.Physical(>= 2.0.0)
- Microsoft.NETCore.App(>= 2.0.5)
- Microsoft.VisualStudio.Web.CodeGeneration.Contracts(>= 2.0.2)
- Newtonsoft.Json(>= 10.0.1)
- NuGet.Frameworks(>= 4.0.0)
Used By
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Microsoft.VisualStudio.Web.CodeGeneration.Tools:
Visual Studio Code Nuget Package
Package | Downloads |
---|---|
WorksWareFX.Core.Build | |
LazyGaga 基于EF Core的Code First模式的DotNetCore快速开发框架 | |
Apps.Framework.NetCore |
Visual Studio Code Nuget Update
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on Microsoft.VisualStudio.Web.CodeGeneration.Tools:
Repository | Stars |
---|---|
GoogleCloudPlatform/dotnet-docs-samples .NET code samples used on https://cloud.google.com | |
axzxs2001/Asp.NetCoreExperiment 原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考! | |
Azure/sg-aks-workshop |
Version History
Visual Studio Code Nuget Manager
Version | Downloads | Last updated |
---|---|---|
2.0.4 | 5,309,641 | 5/7/2018 |
2.0.3 | 3,772,816 | 3/13/2018 |
2.0.2 | 4,653,901 | 1/9/2018 |
2.0.1 | 4,119,695 | 11/14/2017 |
2.0.0 | 9,479,277 | 8/11/2017 |
2.0.0-preview2-final | 124,081 | 6/28/2017 |
2.0.0-preview1-final | 77,850 | 5/10/2017 |
1.1.5 | 3,120 | 7/10/2018 |
1.1.4 | 6,382 | 12/12/2017 |
1.1.3 | 27,187 | 11/14/2017 |
1.1.0-preview4-final | 89,231 | 11/16/2016 |
1.0.3 | 101,174 | 11/14/2017 |
1.0.2 | 29,427 | 9/20/2017 |
1.0.1 | 2,474,935 | 5/9/2017 |
1.0.0 | 2,032,101 | 3/6/2017 |
1.0.0-preview4-final | 5,018 | 12/12/2016 |
1.0.0-preview3-final | 3,693 | 10/24/2016 |
1.0.0-preview2-update1 | 125,366 | 9/13/2016 |
1.0.0-preview2-final | 220,124 | 6/27/2016 |
1.0.0-preview1-final | 37,260 | 5/16/2016 |
1.0.0-msbuild3-final | 677,220 | 1/27/2017 |
1.0.0-msbuild2-final | 3,044 | 12/12/2016 |
1.0.0-msbuild1-final | 9,798 | 11/16/2016 |