Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 30th, 2004, 12:57 AM
Authorized User
 
Join Date: Oct 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default How can I change the default namespace

I have renamed the default namespace in the files

But it cann't get the "**.WebModules.FileManager.Web.BrowseFiles" class at the BrowseFiles.aspx

It can't find the "AccountsTool" in the namespace "**.WebModules.Data" at the AccountsTool.cs of the AccountBusiness module. the same with the permission,dataPermission,Role,User and so on.

Doesn't it inherit the namespace from the Core class?

I have referenced the AccountsData module with the Core module before rebuild the assembly

I have doubt with the files in the bin folder of the AccountsData module. Are they created by the programmer? or they are created by the machine. I try to rename the Dll Files but receive the same questions. I saw the code but i don't know when i open it with vs studio.

who can tell me how to assembly the module without the namespace errors?
How to compile the Dll files?


 
Old November 1st, 2004, 01:15 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm guessing your DLLs were made before you renamed the namespace. The DLLs probably have metadata that has the old namespace (you could check this with ildasm).

You should make a backup of your whole directory tree, then delete the .dll and .pdb files. Rebuild the project - it will fail the first time, but it probably makes you a new DLL that you can set a reference to in the other projects. Keep doing builds and fixing references until the whole thing builds cleanly.

Eric





Similar Threads
Thread Thread Starter Forum Replies Last Post
XmlWriter and default namespace miguel.ossa XML 11 December 4th, 2008 08:05 AM
default-xpath-namespace stolte XSLT 1 March 19th, 2008 12:49 PM
Default Namespace - XSLT 1.0 Geierwally XSLT 2 July 9th, 2007 11:08 AM
Dynamic Default Namespace EcceBozo XSLT 2 June 6th, 2007 04:05 PM
Default Namespace (where is it?) bekim BOOK: ASP.NET Website Programming Problem-Design-Solution 4 June 12th, 2004 03:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.