?
Solved

VS 2008 Configuration Manager empty configuration with Service Factory Model Project

Posted on 2009-07-01
4
Medium Priority
?
456 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 500 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

800 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