Visual Studio 2002 and 2003 created resx resource files for each and every ascx and aspx file. When upgrading to ASP.NET 2.0 these files are no longer needed as resource files are centrally stored in the resource folders and compiled.
So if after removing the resx files you get compilation errors such as the following
simply open the project file (.csproj or .vbproj) in Notepad and delete the entries that look like this:
<EmbeddedResource Include=”panorama\search.aspx.resx”>
<DependentUpon>search.aspx.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include=”panorama\tellafriend.aspx.resx”>
<DependentUpon>tellafriend.aspx.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include=”panorama\upload.aspx.resx”>
<DependentUpon>upload.aspx.cs</DependentUpon>
</EmbeddedResource>
Then the project should build without problems. Hope it helps.
February 7th, 2008 at 3:02 pm
Thanks it saved me some time.
By the way, your tip also works under Visual Studio 2005 and Visual Studio 2008.
April 1st, 2008 at 11:44 am
Thank You Thank You Thank You
You solve a big problem
I could lose 1 months from work
but Thanks to Allah(God) Then You
November 4th, 2008 at 11:09 pm
Thanks, this tip was very useful and it worked
February 25th, 2009 at 3:34 am
Thank you. This solved my problem.
June 3rd, 2009 at 12:22 pm
Thank you very much. This is very useful post.
May 3rd, 2010 at 12:15 pm
Great tip, solved. Thanks
April 19th, 2011 at 2:59 pm
Thank you! Its a great tip and worked like a charm..
August 16th, 2011 at 9:11 am
hi.., Thank u very much saved a lots of my time