When I create a WCF project in VS2010, I get "Error: WcfProject.csproj could not be opened. Project type is not supported by this installation"

Hey there. So, we have the VS2010 project and the VisualSVN server on the same machine. We added a new machine with visual svn client and projected loaded. Except for the WCF service. I get...

": project file c: /..../ wcfProject.csproj could not be opened.

The project type is not supported by this setting. "

I checked the directory, the files and file structure are in the same place as the main development machine. any tips / solutions?

thanks David K.

+6
source share
3 answers

There are several things that may be so, so I cannot give you one specific answer. However, here are a few things to try on your machine, which throws an error:

First check which version of Visual Studio is set as the default for opening csproj files. You might have installed SQL or something else using an older version of Visual Studio. Sometimes this can lead to an error. Even if the Visual Studio version selector is selected by default, I saw how it throws an error. Open the correct version of Visual Studio (through the Programs menu), and then try opening the package inside Visual Studio. If this works, you know that the problem is which version is opening the file.

If this does not work, you can try resetting Visual Studio. From the devenv /setup start menu menu This should be a reset to Visual Studio, and hopefully it fixes the problem. If this does not work, try running devenv /ResetSkipPkgs in the Run menu. This will try to download any packages that Visual Studio previously skipped.

If these steps do not work, let us know. Provide us with additional error messages that appear after completing these steps.

+2
source

I had a similar problem with some WCF solution that I downloaded from the blog .

The solutions related to running deveng with switches didn't solve my problems. After a few more searches, it turned out that the following answer in Ralph Wilgoss's answer leads to a solution to my problem:

I resolved it by installing Visual Web Developer.

I also had to (manually) install the web platform installer to (automatically) download the latest requirements for the correct download of the project.

+6
source

I had a similar problem when trying to create a new project of the following types:

  • WCF Service Application
  • WCF Workflow Service Application
  • Syndication Service Library

I used Windows 7 Ultimate 64bit, without any other versions of Visual Studio.

I also tried many other options, for example:

  • devenv / resetsettings
  • devenv / resetskippkgs
  • ensuring that I have the C ++ option for VS2010 installed
  • VS2010 Service Pack 1 (SP1)

I resolved it by installing Visual Web Developer.

+3
source

Source: https://habr.com/ru/post/888455/


All Articles