Re: Question about filenames

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi,

The short answer is that it WON'T work. It's not just file and folder names, it's also "Namespaces".

If you're an expert you can make a converter, but usually you'll have to create a brand new project and carefully copy over the source code adjusting as you go.

In general, you have to plan very carefully, the naming convention, for any project that may become a production project.

Alan wrote:
I created a solution (for example, named "Test") with one project of same name. After some development I realized it can be my production solution so I changed the name of both the solution and the project to a formal name (for example, "Product") by right clicking them and select "rename" in Solution Explorer. I also changed several properties so now the compiled exe file named correctly. However, if I use windows explorer to navigate to my solution folder Solution file is in the most upper level with the correct name (Product.sln), but the folder containing all project related files is still in the wront name "Test". Going into that folder (Test), the project file is also still in the old name "Test.vcproj" (however in solution explorer it shows the new project name).

Where can I change to make the project folder becomes the right name? (not the solution folder but the folder in the same level of sln file.) Also where can I change the actual project filename to the correct one?

Thanks.
Alan


--
Gerry Hickman (London UK)
.



Relevant Pages

  • Re: Virtual Directory, Paths, Local and Deployed Problem
    ... The fact that IIS limits me to setting up only one site means that I ... It only knows the website root. ... > If you are looking to get to the /images folder from the root. ... Now deploy it to production. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Problem with MapPath and inheritance
    ... > production site is www.mydomain.com, ... in a folder called /learn I have a page that uses my base class. ... > on the production server, however it doesn't work on the development ... You might be able to do this in your MapPath directly...if not, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Virtual Directory, Paths, Local and Deployed Problem
    ... If you are looking to get to the /images folder from the root. ... In production: http://www.site1.com/images/mygif.gif ... make this a virtual folder in IIS. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Access denied trying to access custom site in _layouts
    ... production server, then tried to access it using url http://>/<sps ... Error does not occur on demo server with same platform, ... - Compared web.config files in wwwroot, site folder, and _layouts folder ... - Compared ACL's for <custom site> folder between demo and production; ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Generic Development/Production Question
    ... and it contains my web app. ... Now I need to change production code. ... Or do I check in the latest version, nuke the folder locally ... We can't roll out our development code ...
    (microsoft.public.dotnet.framework.aspnet)