visual studio - incompatible version

Malcolm Bacchus 21 Reputation points
2021-08-18T22:44:41.887+00:00

I had to move a visual Basic project from one computer to another (COVID relocation). I am now back on the original machine and cannot load the solution which was amended on the other machine. It reports that the project is "incompatible". Every module or form fails to load with the same error code 0x80004005.

I have imported environment settings from the other machine.
Both machines were/are running Visual Studio Community 2019 16.11.0

What do I do to get the project to open so that I can work on it?

Mal B

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,888 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 27,891 Reputation points Microsoft Vendor
    2021-08-19T07:22:59.113+00:00

    Hi @Malcolm Bacchus ,

    Welcome to Microsoft Q&A!

    What is your project type? Does it use the same Target Framework?
    Please create a new project and check if the situation only appears in this project or not.

    You can try to delete the hidden .vs, bin and obj folders in the project folder and reopen the project.

    Sincerely,
    Anna

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Malcolm Bacchus 21 Reputation points
    2021-08-19T14:15:56.883+00:00

    Deleting those folders worked and rebuilding looks as if it had worked. So thank you for that. On doing that I saw that the compiler flags that the target framework is netcoreapp.3.0 so I have updated that to use Net 5.0. Presumably the problem arose there.

    0 comments No comments