Error while trying to run project: Unable to start program ‘…’. The endpoint was not reachable.

During playing with Entity Framework I got the error: “Error while trying to run project: Unable to start program ‘'…’. The endpoint was not reachable. By ru...

During playing with Entity Framework I got the error:

“Error while trying to run project: Unable to start program ‘’…’. The endpoint was not reachable.

image

By running the project in Visual Studio. Outside VS were no problems.

A similar project runs fine. So I compared both project files. Indeed the first project file contains the line:

<Prefer32bit>false</Prefer32bit>

in some property groups.

After deleting this line everything runs fine.