Solved

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

Posted on 2011-02-10
3
902 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This article will show, step by step, how to integrate R code into a R Sweave document
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
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…

762 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

15 Experts available now in Live!

Get 1:1 Help Now