[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

VS 2008 Configuration Manager empty configuration with Service Factory Model Project

Posted on 2009-07-01
4
Medium Priority
?
457 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

656 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