Home Dashboard Directory Help
Search

Error on adding Resources file to the SharePoint 2013 feature: the system cannot find the file specified 0x80070002 by AlexBBB


Status: 

Closed
 as Fixed Help for as Fixed


1
1
Sign in
to vote
Type: Bug
ID: 764660
Opened: 9/25/2012 10:15:23 PM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

There is an error in Visual Studio 2012 when add resources file to the SharePoint feature: "the system cannot find the file specified. (Exception from HRESULT:0x80070002)".
Details
Sign in to post a comment.
Posted by AlexBBB on 9/27/2012 at 11:54 PM
Solution:

Remove the FrameworkVersion element in the vstemplate file from another folder: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ItemTemplates\CSharp\Office SharePoint\1033\SharePoint15GlobalResource.zip\SharePointGlobalResource.vstemplate

After that, close the VS, run devenv /setup, and re-open the VS.
Posted by Microsoft on 9/27/2012 at 11:01 AM
Hi Alex,

From bug perspective, we've fixed it in next release, so I resolved the bug as Fixed. I'll keep tracking this issue though until you find a workaround.

Thanks,
Xiaoying
Posted by AlexBBB on 9/27/2012 at 5:39 AM
No luck, the same error
Posted by Microsoft on 9/26/2012 at 3:59 PM
Hi Alex,

Thanks again for opening the bug to us. We've investigate this fixed the issue in next release of the tools. Meanwhile, please try the following workaround for your Beta2 bits: Remove the FrameworkVersion element in the following template file (also in bold below): C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ItemTemplatesCache\CSharp\Office SharePoint\1033\SharePoint15GlobalResource.zip\SharePointGlobalResource.vstemplate

Thanks,
Xiaoying
Sign in to post a workaround.