简体   繁体   中英

Could not complete the action error

I keep getting below message when I open any cshtml/aspx/ascx file in visual studio. I thought it is for any particular solution but it is happening for any solution(website) i open in visual studio. Not able to figure out , why this pop up message is showing.

在此处输入图片说明

I am using visual studio 2013 and I have not updated or changed any settings from last few days. Please help!!!!

  1. Close Visual Studio
  2. Delete the projectName.csproj.user file from the project folder
  3. Open the solution... message should be gone

Also try updating visual studio

You could try disabling all extensions and see if that works. If it does re-enable one at a time to find the culprit.

Make sure your ".vb", ".c#" codefiles exist.

If that did not solve the problem, make sure that your class name in the file is the same as defined in line one of your aspx file:

ASPX file:

.VB or .C# File:

 Public Class MyTestClassFile

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