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

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 764660 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 9/25/2012 10:15:23 PM
Access Restriction Public


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)".
Sign in to post a comment.
Posted by AlexBBB on 9/27/2012 at 11:54 PM

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\\SharePointGlobalResource.vstemplate

After that, close the VS, run devenv /setup, and re-open the VS.
Posted by Xiaoying [MSFT] 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.

Posted by AlexBBB on 9/27/2012 at 5:39 AM
No luck, the same error
Posted by Xiaoying [MSFT] 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\\SharePointGlobalResource.vstemplate