Solved

VS 2008 Configuration Manager empty configuration with Service Factory Model Project

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

759 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now