Solved

VS 2008 Configuration Manager empty configuration with Service Factory Model Project

Posted on 2009-07-01
4
453 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
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

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…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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