new SPSF project - reference issue

Nov 20, 2013 at 2:03 PM
Hi SPSF Guys,

I set up a SP2013 Dev machine with VS2012 RTM and actual patch 2012.4. I've installed GAX and a few other addons also. Creating a new SPSF based SP2013 project I receive this error always:
Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe SharePointApplication15. Error was: Action UnfoldCustomizationProjectTemplate failed to execute:
The project file 'C:\Users\ehwstxy\AppData\Local\Temp\2\yuhsn1gg.cb5\Temp\Components.csproj' cannot be opened.

There is a missing project subtype.
Subtype: '{C1CDDADD-2546-481F-9697-4EA41081F2FC}' is unsupported by this installation..
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.Runtime.InteropServices.COMException: The project file 'C:\Users\ehwstxy\AppData\Local\Temp\2\yuhsn1gg.cb5\Temp\Components.csproj' cannot be opened.

There is a missing project subtype.
Subtype: '{C1CDDADD-2546-481F-9697-4EA41081F2FC}' is unsupported by this installation.
at EnvDTE.SolutionClass.AddFromTemplate(String FileName, String Destination, String ProjectName, Boolean Exclusive)
at Microsoft.VisualStudio.TemplateWizard.Wizard.Execute(Object application, Int32 hwndOwner, Object[]& ContextParams, Object[]& CustomParams, wizardResult& retval)
at EnvDTE.SolutionClass.AddFromTemplate(String FileName, String Destination, String ProjectName, Boolean Exclusive)
at SPALM.SPSF.Library.Actions.ExtendedUnfoldTemplateActionBase.AddProjectTemplate(Project project)
at SPALM.SPSF.Library.Actions.ExtendedUnfoldTemplateActionBase.InternalExecute()
at SPALM.SPSF.Library.Actions.ExtendedUnfoldTemplateActionBase.Execute()
at SPALM.SPSF.Library.Actions.ExtendedUnfoldTemplateAction.Execute()
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName, Dictionary2 inputValues)
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName)
at SPALM.SPSF.Library.Coordinators.ConditionalCoordinator.Run(Dictionary
2 declaredActions, XmlElement coordinationData)
at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
--- End of inner exception stack trace ---
at Microsoft.Practices.RecipeFramework.Recipe.UndoExecutedActionsAndRethrow(Exception ex)
at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
at Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)
at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments)
at Microsoft.Practices.RecipeFramework.GuidancePackage.ExecuteFromTemplate(String recipe, IDictionary arguments)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.ExecuteRecipe(Boolean executeActions)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.RunFinished()l

The missing project subtype refers to Service App Starter Kit (VS2012).

My VS config:
Microsoft Visual Studio Premium 2012
Version 11.0.61030.00 Update 4
Microsoft .NET Framework
Version 4.5.50709

Installed Version: Premium

Microsoft SharePoint Developer Tools for Visual Studio 2012 - Preview - ENU 04941-004-0043007-02426
Microsoft SharePoint Developer Tools for Visual Studio 2012 - Preview - ENU 2012

Team Explorer for Visual Studio 2012 04941-004-0043007-02426
Microsoft Team Explorer for Visual Studio 2012

Visual Basic 2012 04941-004-0043007-02426
Microsoft Visual Basic 2012

Visual C# 2012 04941-004-0043007-02426
Microsoft Visual C# 2012

Visual C++ 2012 04941-004-0043007-02426
Microsoft Visual C++ 2012

Visual F# 2012 04941-004-0043007-02426
Microsoft Visual F# 2012

Visual Studio 2012 Code Analysis Spell Checker 04941-004-0043007-02426
Microsoft® Visual Studio® 2012 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

ASP.NET and Web Tools 2012.3.41009
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Windows Azure Web Sites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure

Microsoft Recipe Framework Package 8.0
This package provides services to the guidance packages.

NuGet Package Manager 2.6.40627.9000
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer 1.0
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools 11.1.20627.00
Microsoft SQL Server Data Tools

Visual Studio 11 Editor Extension 1.0
Information about my package

Any suggestions? Thanks in advance,
Dan
Coordinator
Nov 20, 2013 at 6:02 PM
Have you installed the office developer tools?
You can retrieve them from here http://blogs.msdn.com/b/somasegar/archive/2013/03/04/now-available-office-developer-tools-for-visual-studio-2012.aspx

These are required for developing SharePoint farm solutions in Visual Studio 2012 (see also the SPSF pre-requisites)

C1CDDADD-2546-481F-9697-4EA41081F2FC is the project type for SharePoint 2013 farm solutions.

I see that you have the SharePoint dev tools as Preview on and I am not sure if the SP2013 project in the preview had already C1CDDADD-2546-481F-9697-4EA41081F2FC as Guid.

Best Regards,
Matthias
Nov 25, 2013 at 10:45 AM
Hi Matthias,

you're right - I installed the TRM version of developer tools and it worked. But it's very difficult to get the tools if you need them in an offline environment.

Best Regards, Dan