My project no longer opens

Asked

Viewed 2,655 times

5

My project was working perfectly. I went to open it now and gives me this error:

Erro

When I arrived my grandson was with my notebook, but I don’t think he (3 years) would damage. It’s more likely to be a virus, but I scanned it and didn’t take anything from my computer. How do I fix it and open the Solution and my projects that are in it?

  • 6

    Go to the file of Solution and open as a notepad copy and paste here so we can understand the problem.

  • 2

    You can open the file .csproj which is part of Solution?

  • If the problem is just the Solution is to create a new one and import the Projects and the classes that are in the directory

1 answer

6


Using version control

If you are using some code versioner you can try to uncheck your current project and map it again. (Do this only if you have no pending changes)

No version control

If the problem is only in the solution of your project you can try to add the classes of your old project in a new project.

  1. Create new project

Same kind as the old project

  1. Add files (classes, references, images, etc) to the new project

To no Solution Explorer that right-click mouse on top of new project and then on 'Add existing item';

inserir a descrição da imagem aqui

Find and select the old project files and click on Add

inserir a descrição da imagem aqui

The files should be added in the new solution and you should be able to continue your work.

inserir a descrição da imagem aqui

  • Okay, I thought I could fix it. From what I can see, I’m gonna have to create another one. My project is big, that’s what I was trying not to do, but from where I’m standing, I don’t have a choice. Is to create a new and spend half a day migrating, kkkkkk

Browser other questions tagged

You are not signed in. Login or sign up in order to post.