Pete Magsig
Pete Magsig

Reputation: 428

Visual Studio 2012 Service references just turned into folders. How do I fix this?

I have a Visual Studio 2012 project with two service references. I also use Expression Blend. At some point, my service references in VS2012 turned into folders, and the update/configure options in Visual Studio no longer work. How do I fix this?

I found this thread on a Microsoft forum, but no solution. Can anyone help?

Upvotes: 0

Views: 379

Answers (1)

Pete Magsig
Pete Magsig

Reputation: 428

After some digging, I discovered that something (Visual Studio? Blend?) had removed the following from my project file:

<ItemGroup>
    <WCFMetadata Include="Service References\" />
  </ItemGroup>
  <ItemGroup>
    <WCFMetadataStorage Include="Service References\DicomSCPService\" />
    <WCFMetadataStorage Include="Service References\ImageCenterService\" />
  </ItemGroup>

I added this back in, at the tail end of the other ItemGroups, and it's working again.

Upvotes: 1

Related Questions