Error in Visual Studio 2012

May 30, 2013 at 8:35 PM
I can't use any feature of SPSF in VS 2012. I get the following error:

"The package SPAM.SPSF could not be activated, the template cannot be unfolded"
Coordinator
May 31, 2013 at 6:35 AM
Can you please provide a little more details?
Have you installed the prerequisites (including the Office Developer Tools?)
Do you run VS as admin?
Which SharePoint version is installed.
Does it happen already when creating a new solution with SPSF or when you try to execute a specific recipe?
What is the complete error message look like? You can have a look in the VS output window and look in the SPSF output.

Thanks a lot!
Aug 2, 2013 at 11:50 AM
Edited Aug 2, 2013 at 11:51 AM
The same situation was occur when I create any item. Can you help me?
Coordinator
Aug 7, 2013 at 8:01 AM
I need more details in order to help you here.
What does the Visual Studio Output Window say? There is a separate view for the SharePoint Software Factory which you can choose in the dropdown.

If it says something about "Access denied" then you didn't run Visual Studio as Administrator (which is unfortunately a prerequisite)
Sep 10, 2013 at 9:36 AM
Well, same here.

Recipe Framework Error
The package SPAM.SPSF could not be activated, the template cannot be unfolded

And no, in Visual Studio output Window for the SharePoint Software Factory is nothing about it.

I cant add anything in any Project, even after reinstalling SPSF (v 4.1.3.2705).

Visual Stuido Version:
Microsoft Visual Studio Premium 2012
Version 11.0.60610.01 Update 3
Microsoft .NET Framework
Version 4.5.50743
Coordinator
Sep 10, 2013 at 10:50 AM
I assume you have the Office Developer Tools installed?
Sep 10, 2013 at 12:41 PM
Edited Sep 10, 2013 at 12:43 PM
Yes, of course.

I added tons of stuff via SPSF. Just started my Project this morning and since then i have this Error.
I dont know exactly when i add the last time a new item.

Visual studio update 3 is fine with SPSF?
Coordinator
Sep 10, 2013 at 12:46 PM
Alright, so it did work before, not like the inital poster where it didn't work from the beginning.
  1. Did you try to reactivate it manually? see http://matte.in/YtJGr4
  2. Is the project checkout from source control (not readonly)?
  3. What happens when you want to create a entire new project?
  4. Have you changed something significantly since yesterday to the project, Visual Studio, your environment?
  5. Did you start VS as Admin?
Any lead could help to find the problem!
Sep 10, 2013 at 1:00 PM
thx for the quick response.

reactivate it was the solution for me.

I had to do it in all other projects also, no clou why.
I guess some windows / vs12 update or any other vs12 add in caused this issue, cause i tried some add ins last weeks and i just recognize SPSF didnt work this morning. Dont know when i used it last time. Must be 3 - 4 weeks ago.

If i find out what it was, i will let you know.

thx for your very quick help so far.
Coordinator
Sep 10, 2013 at 1:18 PM
Just as additional information, the association of SPSF to the solution is stored in the user sln metadata file.
This one is usually not stored in source control, so if you check out a project to a new place or new machine you have to re-associated SPSF as shown in the link of my previous post.

Cheers

Matthias