Dirk Bergmann

Developer, panographer. Does consultancy work from own company. Lives in Chiang Mai, Thailand.


Chiang Mai

Hua Hin

Thailand Hotels

ListVote - List. Vote. Learn.

Partnerseek - Find Partners

Resource file

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:

{:tag :br, :attrs nil, :content []}<EmbeddedResource Include="panorama\search.aspx.resx">
<EmbeddedResource Include="panorama\tellafriend.aspx.resx">
<EmbeddedResource Include="panorama\upload.aspx.resx">

Then the project should build without problems. Hope it helps.


nodewave: Thanks it saved me some time. By the way, your tip also works under Visual Studio 2005 and Visual Studio 2008.

Natty Dreed: 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 ;)

Karthik: Thanks, this tip was very useful and it worked

kvs: Thank you very much. This is very useful post.

ak: Thank you. This solved my problem.

Karlo: Great tip, solved. Thanks

Shefali: Thank you! Its a great tip and worked like a charm..

hariprasad: hi.., Thank u very much saved a lots of my time

Kamalakant: Thanks so much.

jb: hi.,grt job..

Dino: You're my hero!!