How to make the resources file to be located under the cs code file in vs 2008 sp1http://forums.asp.net/t/1802842.aspx/1?How+to+make+the+resources+file+to+be+located+under+the+cs+code+file+in+vs+2008+sp1Fri, 18 May 2012 10:08:54 -040018028424976892http://forums.asp.net/p/1802842/4976892.aspx/1?How+to+make+the+resources+file+to+be+located+under+the+cs+code+file+in+vs+2008+sp1How to make the resources file to be located under the cs code file in vs 2008 sp1 <p>Hi Experts,</p> <p>Does anyone know how to make the resource files under the Default.aspx.cs file in vs 2008 sp1? For example:</p> <p><img src="https://qqmcdg.sn2.livefilestore.com/y1pHA86Lb0nLv6G1caj3bHP3dx9X8Ld4SEFaFUjy6K8Qwq26IRTVw39CKUvLkXFmvE_8gvLBoF9sivC7gXK5s1SMvbOltaM9_-t/Untitled%20picture.png" width="223" height="221" style="border:1px solid black"></p> <p>Any help or suggestion will be appreciate.</p> <p>Thanks,</p> <p>Bruce</p> 2012-05-11T16:07:47-04:004983686http://forums.asp.net/p/1802842/4983686.aspx/1?Re+How+to+make+the+resources+file+to+be+located+under+the+cs+code+file+in+vs+2008+sp1Re: How to make the resources file to be located under the cs code file in vs 2008 sp1 <p>Anyone who can give some ideas about this problem? Thanks.</p> 2012-05-16T13:21:27-04:004986840http://forums.asp.net/p/1802842/4986840.aspx/1?Re+How+to+make+the+resources+file+to+be+located+under+the+cs+code+file+in+vs+2008+sp1Re: How to make the resources file to be located under the cs code file in vs 2008 sp1 <p>HI</p> <p>To generate the resource files automatically, follow these steps:</p> <ol> <li>In Solution Explorer, double-click the <strong class="uiterm">Default.aspx</strong> file.<br> <br> <b>Note</b> The Default.aspx file opens in Design view. </li><li>On the <strong class="uiterm">Tools</strong> menu, click <strong class="uiterm"> Generate Local Resources</strong>.<br> <br> <b>Note</b> By default, a new folder that is named App_LocalResources is created. Additionally, a resource file that is named Default.aspx.resx is created. This file contains information about each <strong class="uiterm">Label</strong> control on the page. The values in the resource file match the values that you entered for each <strong class="uiterm">Label</strong> control in Design view. </li><li>In Solution Explorer, right-click the <strong class="uiterm">Default.aspx.resx</strong> file, and then click <strong class="uiterm">Copy</strong>. </li><li>In Solution Explorer, right-click the <strong class="uiterm">App_LocalResources</strong> folder, and then click <strong class="uiterm">Paste</strong>. </li><li>In Solution Explorer, right-click the <strong class="uiterm">Copy of Default.aspx.resx</strong> file, and then click <strong class="uiterm">Rename</strong>. </li><li>Type <span class="userInput">Default.aspx.es-mx.resx</span>, and then press ENTER. </li></ol> <p>For more details please read:</p> <p><a href="http://support.microsoft.com/kb/917414">http://support.microsoft.com/kb/917414</a></p> <p>Hope it helpful.</p> <p>&nbsp;</p> 2012-05-18T10:08:54-04:00