开发者

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

hey there. So, we have a VS2010 project and the VisualSVN server on one machine. We added a new machine with the client visual svn and the projected loaded in. except for the WCF service. i'm getting a...

" error : the project file c:/..../wcfProject.csproj cannot be opened.

The project type is not supported by this installation."

i've checked the directory, the files and file structure are there a开发者_JAVA技巧nd the same as the main development machine. any tips/solutions?

thanks David K.


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

The solutions of running deveng with the switches did not resolve my issues. After some more searching it turned out that the following clue in the answer of Ralph Willgoss lead to the solution of my problem:

I resolved it by installing the Visual Web Developer.

I also had to (manually) install the Web Platform Installer to (automatically) download the last requirements for the project to properly load.


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

  • WCF Service Application
  • WCF Work Flow Service Application
  • Syndication Service Library

I was using Windows 7 Ultimate 64bit, with no other versions of Visual Studio installed.

I also had tried many other options, such as:

  • devenv /resetsettings
  • devenv /resetskippkgs
  • ensuring I had C++ option of VS2010 installed
  • VS2010 Service Pack 1

I resolved it by installing the Visual Web Developer.


There are a few things this could be so I can't give you one specific answer. However, here are a few things to try on your machine that is throwing the error:

First, verify which version of Visual Studio is set as the default for opening csproj files. It could be that you installed SQL or something else that uses an older version of Visual Studio. Sometimes that can give an error. Even if the default is the Visual Studio version selector I've seen it throw an error. Open up the correct version of Visual Studio (through the Programs menu) and then inside Visual Studio try to open the package. If that works, you know the issue is with which version is opening the file.

If that doesn't work, you could try resetting the Visual Studio settings. From the run menu type devenv /setup This should reset the Visual Studio environment and hopefully it will fix the issue. If this does not work, try running devenv /ResetSkipPkgs from the Run menu. This will try to load any packages that Visual Studio previously skipped.

If these steps don't work, let us know. Give us any further error messages that come up after attempting these steps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜