473,545 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

If the project-path will be changed

I have the following problem:

I have a solution in path C:\AAA\Customer A
Now I have a second project:
Then I copy everyThing to C:\AAA\Customer B

Bit inside the new project everything is looking to C:\AAA\Customer A

It is not possible to input relative pathes !!

What is the solution for this problem ??

Peter
SMS-Eumuco
Jul 21 '05 #1
5 1214
It's likely you have absolute physical paths in your app :
- see Server.MapPath to translate the virtual path to the physical path
- the special ~ character is handled server side and allows to address the
application root (rather than the website root)

This way if you have an app in :
c:\root\subweb\ page.aspx
c:\locationA\pa ge.aspx
c:\locationB\pa ge.aspx

Using Server.Path("~/page.aspx") will always return the above physical
path...

Patrice

--

"Peter Stojkovic" <Pe************ *@gmx.net> a écrit dans le message de
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
I have the following problem:

I have a solution in path C:\AAA\Customer A
Now I have a second project:
Then I copy everyThing to C:\AAA\Customer B

Bit inside the new project everything is looking to C:\AAA\Customer A

It is not possible to input relative pathes !!

What is the solution for this problem ??

Peter
SMS-Eumuco

Jul 21 '05 #2
I have problems with
REFERENCE-PATHES
in File for example only AlarmClass.vbpr oj.user within Visual-Studio.NET

And we have a lot of projects within one solution

So I dont know, how to change it automatically ?

Peter


"Patrice" <no****@nowhere .com> wrote in message
news:O7******** ******@TK2MSFTN GP09.phx.gbl...
It's likely you have absolute physical paths in your app :
- see Server.MapPath to translate the virtual path to the physical path
- the special ~ character is handled server side and allows to address the
application root (rather than the website root)

This way if you have an app in :
c:\root\subweb\ page.aspx
c:\locationA\pa ge.aspx
c:\locationB\pa ge.aspx

Using Server.Path("~/page.aspx") will always return the above physical
path...

Patrice

--

"Peter Stojkovic" <Pe************ *@gmx.net> a écrit dans le message de
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
I have the following problem:

I have a solution in path C:\AAA\Customer A
Now I have a second project:
Then I copy everyThing to C:\AAA\Customer B

Bit inside the new project everything is looking to C:\AAA\Customer A

It is not possible to input relative pathes !!

What is the solution for this problem ??

Peter
SMS-Eumuco


Jul 21 '05 #3
project files are human readable. For some problems, it is simple to just
edit the project files and the solution file.

I'm not sure that I understand what your problem is. I've only had to edit
the project file on very rare occasion. However, it is easy to do.

--- Nick

"Peter Stojkovic" <Pe************ *@gmx.net> wrote in message
news:eN******** ******@TK2MSFTN GP09.phx.gbl...
I have problems with
REFERENCE-PATHES
in File for example only AlarmClass.vbpr oj.user within Visual-Studio.NET

And we have a lot of projects within one solution

So I dont know, how to change it automatically ?

Peter


"Patrice" <no****@nowhere .com> wrote in message
news:O7******** ******@TK2MSFTN GP09.phx.gbl...
It's likely you have absolute physical paths in your app :
- see Server.MapPath to translate the virtual path to the physical path
- the special ~ character is handled server side and allows to address the application root (rather than the website root)

This way if you have an app in :
c:\root\subweb\ page.aspx
c:\locationA\pa ge.aspx
c:\locationB\pa ge.aspx

Using Server.Path("~/page.aspx") will always return the above physical
path...

Patrice

--

"Peter Stojkovic" <Pe************ *@gmx.net> a écrit dans le message de
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
I have the following problem:

I have a solution in path C:\AAA\Customer A
Now I have a second project:
Then I copy everyThing to C:\AAA\Customer B

Bit inside the new project everything is looking to C:\AAA\Customer A

It is not possible to input relative pathes !!

What is the solution for this problem ??

Peter
SMS-Eumuco



Jul 21 '05 #4
I have problems with
REFERENCE-PATHES
in File for example only AlarmClass.vbpr oj.user within Visual-Studio.NET

And we have a lot of projects within one solution

So I dont know, how to change it automatically ?

Peter


"Patrice" <no****@nowhere .com> wrote in message
news:O7******** ******@TK2MSFTN GP09.phx.gbl...
It's likely you have absolute physical paths in your app :
- see Server.MapPath to translate the virtual path to the physical path
- the special ~ character is handled server side and allows to address the
application root (rather than the website root)

This way if you have an app in :
c:\root\subweb\ page.aspx
c:\locationA\pa ge.aspx
c:\locationB\pa ge.aspx

Using Server.Path("~/page.aspx") will always return the above physical
path...

Patrice

--

"Peter Stojkovic" <Pe************ *@gmx.net> a écrit dans le message de
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
I have the following problem:

I have a solution in path C:\AAA\Customer A
Now I have a second project:
Then I copy everyThing to C:\AAA\Customer B

Bit inside the new project everything is looking to C:\AAA\Customer A

It is not possible to input relative pathes !!

What is the solution for this problem ??

Peter
SMS-Eumuco


Nov 22 '05 #5
project files are human readable. For some problems, it is simple to just
edit the project files and the solution file.

I'm not sure that I understand what your problem is. I've only had to edit
the project file on very rare occasion. However, it is easy to do.

--- Nick

"Peter Stojkovic" <Pe************ *@gmx.net> wrote in message
news:eN******** ******@TK2MSFTN GP09.phx.gbl...
I have problems with
REFERENCE-PATHES
in File for example only AlarmClass.vbpr oj.user within Visual-Studio.NET

And we have a lot of projects within one solution

So I dont know, how to change it automatically ?

Peter


"Patrice" <no****@nowhere .com> wrote in message
news:O7******** ******@TK2MSFTN GP09.phx.gbl...
It's likely you have absolute physical paths in your app :
- see Server.MapPath to translate the virtual path to the physical path
- the special ~ character is handled server side and allows to address the application root (rather than the website root)

This way if you have an app in :
c:\root\subweb\ page.aspx
c:\locationA\pa ge.aspx
c:\locationB\pa ge.aspx

Using Server.Path("~/page.aspx") will always return the above physical
path...

Patrice

--

"Peter Stojkovic" <Pe************ *@gmx.net> a écrit dans le message de
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
I have the following problem:

I have a solution in path C:\AAA\Customer A
Now I have a second project:
Then I copy everyThing to C:\AAA\Customer B

Bit inside the new project everything is looking to C:\AAA\Customer A

It is not possible to input relative pathes !!

What is the solution for this problem ??

Peter
SMS-Eumuco



Nov 22 '05 #6

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

Similar topics

1
2202
by: David Gagné | last post by:
Hello, My C# solution is composed of 2 projects, a class library project and a Windows application project. The window in one project calls the DLL in the other. That's ok. Now, to better test the solution I would like to create a new Windows application project in that solution so that my 2 other projects are not impacted by this third...
0
1485
by: Patty O'Dors | last post by:
Hi I am experiencing the following issue when building an ATL component that is tested with c#: The ATL project builds first, then the C# project, as the ATL DLL is a dependency of the C# project. The C# project has got a control from the ATL DLL on one of its forms, and as such, whenever VS is loaded with the C# project, it has got the DLL...
2
2415
by: Vish | last post by:
Hi all, I have a VS.NET (2005 BETA2) solution that has five winforms projects. Here are the details. Project-A (Main, startup project), references Project-B (class lib project) Project-B (Class lib project), references Project-C (Class lib project) Project-C (Class lib project), references Project-D (Class lib project) The problem i am...
2
4767
by: Rudy Ray Moore | last post by:
How can I modify the project build order of a multi-project workspace under "Visual Studio .net 2003 7.1 c++"? I tried to modify the .sln by hand to influence the build order, but it didn't seem to help. It looks like it's in reverse alphabetical order with upper case characters winning. Contents from my "Output" window: Build started:...
4
7264
by: Brian B. | last post by:
Hi, I have an ASP.NET project written in VB.NET on a server. I have made a few changes to some files using notepad while remotely connected to the server. How can I compile the project on the server (that doesn't have VS.NET installed on it) so that the changes take affect? I've tried playing around with vbc.exe but I couldn't get the...
11
7725
by: Dave | last post by:
I copied the project files from an ASP.NET project on one computer and want to create the project on another computer, There is no connection between the two computers so I simply copied the project files from the first computer onto a memory stick and then from the memory stick into my Visual Studio Projects folder on the second computer. ...
9
5425
by: Anubhav Jain | last post by:
Hi, I am having few .net source files(.cs or .vb) and I want to dynamically generate the corresponding .net project file(.csproj or .vbproj) for them without using visual studio.So that I could be able to generate and compile the project on the enviroments where Visual Studio.Net is not installed. Thanks and Regards, Anubhav Jain MTS...
0
1114
by: Tom | last post by:
I am converting a small VB.NET 2003 application over to VS 2005. I ran it thru the 'upgrade' wizard which prompty upgraded it without any real issues (except some warnings). However, I did notice that it didn't really take advantage of the new 'My Project' system folder and namespace - i.e. the AssemblyInfo.vb was still in the main app, along...
29
2787
by: Tony Girgenti | last post by:
Hello. I'm developing and testing a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1 on a WIN XP Pro, SP2 computer. I'm using a web form. How do I move this project/solution from a local development xp pro computer which uses IIS/localhost, to another xp pro computer that is on a Windows 2003...
2
5212
by: =?Utf-8?B?V29ua28gdGhlIFNhbmU=?= | last post by:
Hello, I have an existing (WPF) Class Library project that I'd like to add a WPF Custom Control to. However, when I try to Add New Item, that isn't one of the available options. Perhaps this is a brain freeze, but what could I possibly be missing? WtS
0
7410
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7668
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7437
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5984
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4960
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1901
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1025
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
722
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.