?
Solved

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

Posted on 2011-02-10
3
Medium Priority
?
953 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 20

Assisted Solution

by:hes
hes earned 400 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses

777 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