Solved

VS 2008 Configuration Manager empty configuration with Service Factory Model Project

Posted on 2009-07-01
4
454 Views
Last Modified: 2013-11-26
When I include a Service Factory Modelling Edition Model Project in my VS2008 solution the  Configuration Manager does not display Configuration, Platform and Build values for all projects in the solution.

If I unload the Model Project then the values in these columns magically  reappear.

See attahced images.

The following thread mentions that it is a bug but wondering if anyone has found a fix

http://servicefactory.codeplex.com/Thread/View.aspx?ThreadId=29442

Thanks.
ModelProjectLoaded.jpg
ModelProjectUnLoaded.jpg
0
Comment
Question by:stratdaz1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 25

Accepted Solution

by:
apeter earned 125 total points
ID: 24761513
Follow below and give a try.

1. Edit your project "Solution File"
2.Get the model project GUID from the section project....endproject section which will be in the begining.
3.Go to "GlobalSection(ProjectConfigurationPlatforms) = postSolution" section
4.For each GUID there will be 4 or 5 settings , copy one secion and replace the GUID with your Model Project GUID.
5.Reload ur project
6.Edit you configuration manager, all should look fine.
0
 

Author Comment

by:stratdaz1
ID: 24768098
Tried what you recommended but had no effect.

This section already there ...

Project("{1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}") = "PanoramaWebServicesModelProject", "Web Services\PanoramaWebServicesModelProject\PanoramaWebServicesModelProject.ssfproduct", "{56E6B83F-E069-484E-87C4-300323FFECDA}"
EndProject

and added this at the end of GlobalSection(ProjectConfigurationPlatforms) = postSolution ...

{1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.Debug|.NET.ActiveCfg = Debug|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.Debug|.NET.Build.0 = Debug|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.Debug|Any CPU.Build.0 = Debug|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.DebugBuildAll|.NET.ActiveCfg = Debug|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.DebugBuildAll|.NET.Build.0 = Debug|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.DebugBuildAll|Any CPU.ActiveCfg = Debug|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.DebugBuildAll|Any CPU.Build.0 = Debug|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.DebugBuildAll|Mixed Platforms.ActiveCfg = Debug|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.DebugBuildAll|Mixed Platforms.Build.0 = Debug|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.DSS1|.NET.ActiveCfg = DSS1|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.DSS1|.NET.Build.0 = DSS1|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.DSS1|Any CPU.ActiveCfg = DSS1|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.DSS1|Mixed Platforms.ActiveCfg = Release|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.DSS1|Mixed Platforms.Build.0 = Release|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.PAT|.NET.ActiveCfg = PAT|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.PAT|.NET.Build.0 = PAT|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.PAT|Any CPU.ActiveCfg = PAT|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.PAT|Mixed Platforms.ActiveCfg = Release|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.PAT|Mixed Platforms.Build.0 = Release|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.PROD|.NET.ActiveCfg = PROD|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.PROD|.NET.Build.0 = PROD|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.PROD|Any CPU.ActiveCfg = PROD|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.PROD|Mixed Platforms.ActiveCfg = Release|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.PROD|Mixed Platforms.Build.0 = Release|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.Release|.NET.ActiveCfg = Release|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.Release|.NET.Build.0 = Release|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.Release|Any CPU.ActiveCfg = Release|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.Release|Any CPU.Build.0 = Release|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.Release|Mixed Platforms.Build.0 = Release|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.TEST|.NET.ActiveCfg = TEST|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.TEST|.NET.Build.0 = TEST|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.TEST|Any CPU.ActiveCfg = TEST|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.TEST|Any CPU.Build.0 = TEST|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.TEST|Mixed Platforms.ActiveCfg = Release|Any CPU
            {1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}.TEST|Mixed Platforms.Build.0 = Release|Any CPU

Did I miss something?

Thanks
0
 
LVL 25

Expert Comment

by:apeter
ID: 24771023
Looks like for the model project it has allmost 39 entries. Is the number of entries(39) same for other projects for eg. "AdminModule" ? if less then add those missing entries to the modal project or it is more ?
0
 

Author Comment

by:stratdaz1
ID: 24781633
Looks like you had it right the first time.

The project section has two GUIDs at I copied the wrong one to the ProjectConfigurationPlatforms section.

Project("{1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD}") = "PanoramaWebServicesModelProject", "Web Services\PanoramaWebServicesModelProject\PanoramaWebServicesModelProject.ssfproduct", "{56E6B83F-E069-484E-87C4-300323FFECDA}"
EndProject

I copied 1DF4D691-79FD-4E3E-B7A6-A1A5DC772BBD but should have copied 56E6B83F-E069-484E-87C4-300323FFECDA.

Looks good now and I have the configuration settings back when the Model Project is loaded.

Guess this is a bug in Visual Studio but can work around it now.

Thanks for your help.

0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Finding the IIS version 5 38
Reactjs with .NET 3 78
How to repeat the data 4 30
VB.Net SQL Query 2 Tables Different Databases 3 46
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question