简体   繁体   中英

Visual Studio MVC Copy Paste Project

How do I copy paste a ASP.NET MVC project from Visual Studio? I have an assignment to submit the project to the lecturer, however they request to copy paste the whole project to an external drive. The problem is when I copy paste the project to a removable disk, it can't run properly with loads of errors. How do I do this in the cleanest way possible?

You need to copy and paste the whole project folder not just the project file. When you first fully save everything (or exit and choose to save) the project files will be saved in the expected location.

You can change default folder for new projects in Visual Studio settings.

  1. Click Tools menu
  2. Click Options
  3. Find "Projects and Solutions"
  4. Choose "Project location" AppData folder is hidden. You have to type its address in address bar manually or you can enable view for hidden files in Windows Explorer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM