Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Renaming .resx file problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Renaming .resx file problem

 Post Reply Post Reply
Author
mlopez View Drop Down
Newbie
Newbie


Joined: 25 March 2003
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlopez Quote  Post ReplyReply Direct Link To This Post Topic: Renaming .resx file problem
    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?
Back to Top
krishnaprasadj View Drop Down
Newbie
Newbie


Joined: 09 April 2003
Location: India
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote krishnaprasadj Quote  Post ReplyReply Direct Link To This Post Posted: 09 April 2003 at 4:07am

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

Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mlopez View Drop Down
Newbie
Newbie


Joined: 25 March 2003
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlopez Quote  Post ReplyReply Direct Link To This Post 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.

 

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.