Name does not exist in the current context

前端 未结 11 1687
时光说笑
时光说笑 2020-12-05 12:34

So, I\'m working on this project between my laptop and my desktop.

The project works on the laptop, but now having copied the updated source code onto the desktop, I

11条回答
  •  无人及你
    2020-12-05 13:24

    "The project works on the laptop, but now having copied the updated source code onto the desktop ..."

    I did something similar, creating two versions of a project and copying files between them. It gave me the same error.

    My solution was to go into the project file, where I discovered that what had looked like this:

    
    
    

    Now looked like this:

    
      Code
    
    
      Code
    
    

    When I changed them back, Visual Studio was happy again.

提交回复
热议问题