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