Solved

Visual Studio 2010 and .NET programming: how to associate a *.Designer.cs file with *.resx file?

Posted on 2011-02-10
3
914 Views
Last Modified: 2013-11-26
Hi Experts:

    Here is my development environment:
-- Visual Studio 2010
-- .NET 4.0
-- SilverLight 4

    I am trying to re-use some components from a business application templated provided by Microsoft. Please see the screenshoots for the template I am referring to and the files I am copying.

    I created the same folder structure in my project and then copied the RESX files and CS files into the corresponding location, and then I found that the CS files are not associated with the RESX files.

    Will this have an impact to my project? How can I fix it?

     Thank you.

    I am
SLBusinessApp.png
ResxFiles.png
CopiedResxFiles.png
0
Comment
Question by:huangs3
  • 2
3 Comments
 
LVL 20

Assisted Solution

by:hes
hes earned 100 total points
ID: 34864949
Don't copy the files, click on the project and add existing item, this will bring in all the parts of a page
0
 

Accepted Solution

by:
huangs3 earned 0 total points
ID: 34876111
Hi hes:

    I did use add existing item, but it still doesn't work after I delete the files and copy+readd the files.
    At the end I resolve this issue by recreating new RESX files under the project, and then copy-paste the old code.
    Thank you.
0
 

Author Closing Comment

by:huangs3
ID: 34904883
hes's suggest should be right in normal situation, but it just couldn't resolve my case.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This is an explanation of a simple data model to help parse a JSON feed
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now