Print Page | Close Window

Renaming .resx file problem

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: ASP.NET Discussion
Forum Description: Discussion and chat on ASP.NET related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=1343
Printed Date: 28 March 2026 at 11:57am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Renaming .resx file problem
Posted By: mlopez
Subject: Renaming .resx file problem
Date Posted: 25 March 2003 at 4:29pm
After renaming a .resx file and re-building the project, the resulting satellite assembly continues to be created with the old name. Any ideas?



Replies:
Posted By: krishnaprasadj
Date Posted: 09 April 2003 at 4:07am

Even I have the same problem. Any ideas to fix it will be helpful



Posted By: MorningZ
Date Posted: 09 April 2003 at 6:24am
i'm not entirely sure what file you are changing... but have you gone to "Properties" on the solution file itself and changed the values there?

Studio by default seems to put "www.whatever.com" as the base assembly name, i always right away change it to something more friendly here

-------------
Contribute to the working anarchy we fondly call the Internet


Posted By: MorningZ
Date Posted: 09 April 2003 at 6:28am
btw, the above is renaming the "Assembly Name" and "Root Namespace" fields

-------------
Contribute to the working anarchy we fondly call the Internet


Posted By: mlopez
Date Posted: 09 April 2003 at 10:33am

The answer to this is that all .resx files (all resources, for that matter) are compiled by VS into a single library (.dll) or satellite assembly, which is always named after the main assembly. Makes sense once you realize what's happening.

My original post happened while I had only a single .resx file, which I innocently named the same as the main assembly. Since the complied satellite assembly *seemed* to be named after it, I then expected that changing the .resx file's name would also change the satellite assembly's.

Live long, write lots of code, and prosper.

 




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net