mardi 30 janvier 2018

How move asp.net Core web application project in other folder

Visual Studio 2017 community: I create a "ASP.NET Core Web Application" project. If not change the default location (default is "C:\Users[User]\source\repos\"), everything is ok (build, debug, intellisense). But if I specify another disk (or folder) or, if i move the project, I get a build error: "Error Assets file '[path]\obj\project.assets.json' not found.Run a NuGet package restore to generate this file.web C:\Program Files\dotnet\sdk\2.1.4\Sdks\Microsoft.NET.Sdk\build\Microsoft.PackageDependencyResolution.targets"

If after this error, in the sln folder executes "dotnet restore", the project is build and run, but it is difficult to debug (do not work breakpoints and code tracking and , intellisense). Folders "Dependencies", "Dependencies\NuGet" and "Dependencies\SDK" in solution is yellow (warnings) subfolders is empty.

How do I create or move to any folder "ASP.NET Core Web Application" project?




Aucun commentaire:

Enregistrer un commentaire