473,399 Members | 3,603 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Can't Rename Project

I somehow managed to rename my project and Solution from "ProjectOne" to
"ProjectTwo" a few weeks ago. (ficticious project names).

Now, I want to rename it back to "ProjectOne." I renamed it in VS.Net,
replaced all of the strings but it still would not load. Someone on this
forum told me to change the URL path in WEBINFO. Still would not load. I
then changed the URL in the .sln file. Now the proeject loads and builds
but it will not run.

I'm getting BC30560: 'Global' is ambiguous in the namespace 'ProjectOne'.

Public Class Global_asax
--> Inherits ProjectOne.Global

Can anyone help?
Thanks,
Dean
Nov 18 '05 #1
2 1837
It appears you need to edit the Global.asax - solely judging from your
error.

I would also perform a text search of the old project name using Windows
Explorer to see if you have any legacy names contained within your project.
If you have VS.NET project settings in the "documents and settings" sub
folders, I would search there as well and rename as appropriate.
--
Peter O'Reilly
Nov 18 '05 #2
Check the [webroot]\bin folder for extraneous dll's. When you change the assembly name (under project properties) and recompile, a new dll is created, but the old dll's remain, and contain a duplicate of the Global class, which confounds the run-time complier.

From http://www.developmentnow.com/g/8_20...me-Project.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Saradhi | last post by:
Hi All, Here I am facing a performance problem with the TreeView Node renaming. I am displaying a hierarchy Data in a treeview in my Windows C# Application. My tree view represents an...
1
by: Dean | last post by:
I somehow managed to rename my project and Solution from "ProjectOne" to "ProjectTwo" a few weeks ago. (ficticious project names). Now, I want to rename it back to "ProjectOne." I renamed it in...
2
by: Jason | last post by:
Why is it that whenever I rename a form from Form1 to something else it fails during the build. I get an error - Sub Main not found...... What is the problem? If I rename the form back to...
6
by: Rich | last post by:
Hello, I picked up this example on using the Reflection namespace for loading forms/classes on the fly at msdn http://msdn.microsoft.com/library/default.asp?...
9
by: _DD | last post by:
Is there any easy way to rename an entire project? I'd like to change everything: folder, sln file, etc.
2
by: UJ | last post by:
I've got a project that I want to rename. But when I rename it, it then won't load in Visual Studio (2003). Any hints suggestions on how to make this work?
1
by: cheesey_toastie | last post by:
I have a long query which I have set off and would like to stop, and rename one of the tables used. My query is due to my lack of understanding of the underlying structure of MSSQL-Server... ...
92
by: ureuffyrtu955 | last post by:
Python is a good programming language, but "Python" is not a good name. First, python also means snake, Monty Python. If we search "python" in google, emule, many results are not programming...
6
by: strychtur | last post by:
Ok, I don’t have any code that does archiving. The way it works here is users get project emails sent to their inbox. Then they move the emails to the corresponding project on a drive in an email or...
1
by: AAaron123 | last post by:
I've found the VB/C# statements to rename a database, but isn't there a gui method that will allow me to rename a database? How about moving the files to a new location. Is that possible? ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.