如何在Visual Studio 2015中重命名ASP.Net MVC项目名称?

时间:2019-06-07 12:49:41

标签: asp.net-mvc asp.net-mvc-5

我试图将我的项目从“ ProTest” 重命名为“ ProLive”

我遵循了以下Stack overflow answer的指示。

重建后运行时,出现以下错误

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: CS0246: The type or namespace name 'ProTest' could not be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 26:     using System.Web.Optimization;
Line 27:     using System.Web.Routing;
Line 28:     using ProTest;
Line 29:     
Line 30:     

Source File: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\ProLive\3ef330f9\ca7d7120\App_Web_index.cshtml.a8d08dba.lnvurzvn.0.cs    Line: 28 
  

我试图删除所有%temp%文件。并重新生成并重新运行该应用程序。还是一样

0 个答案:

没有答案