Search

Error on adding Resources file to the SharePoint 2013 App project by AlexBBB

Closed

1
0
Sign in
to vote
Type: Bug
ID: 773915
Opened: 12/10/2012 12:26:09 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
Can't add resource file to SharePoint 2013 app project, as described in article "How to: Localize apps for SharePoint" (http://msdn.microsoft.com/en-en/library/fp179919.aspx):

>In Solution Explorer, open the shortcut menu for the app for SharePoint project name and add a new resource file item. The Resources File template is in the General section of the Add New Item dialog box. Give it the name Resources.resx. You must use exactly this name.
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling Version

Visual Studio 2012

Steps to reproduce

0. Install "Microsoft Office Developer Tools for Visual Studio 2012"
1. New project form template "Templates -> Visual C# -> Office/SharePoint -> Apps -> App for SharePoint 2013"
2. In next window select "SharePoint-hosted" in "How do you want to host your app for SharePoint?" select box.
3. In Solution Explorer, open the shortcut menu for the app for SharePoint project name and add a new resource file item. The Resources File template is in the General section of the Add New Item dialog box.
4. Try to build project

Product Language

English

Operating System

Windows 7

Operating System Language

English

Actual results

Errors:

The type or namespace name 'CodeDom' does not exist in the namespace 'System' (are you missing an assembly reference?)
The type or namespace name 'ComponentModel' does not exist in the namespace 'System' (are you missing an assembly reference?)

Expected results

Builded project.
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 1/14/2013 at 3:56 PM
Hi AlexBBB,

The document has been fixed to use the following statement instead: "In Solution Explorer, open the shortcut menu for the Feature name, and choose Add Feature Resource. "

Please feel free to let me know if you have any other questions.

Thanks,
Xiaoying Guo
Program Manager, Microsoft Visual Studio SharePoint Developer Tools Team
Posted by Microsoft on 12/10/2012 at 1:22 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.

Posted by Microsoft on 12/10/2012 at 12:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.