Solved

.Net - Basic question about DLL paths and Source Safe 64 vs 32 bit

Posted on 2010-08-27
5
411 Views
Last Modified: 2013-11-27
Hello all,

I am working with another developer who is on a 64 bit machine and I am on a 32 bit machine.  We have a project in source safe where all the files especially the project file are showing the references to my "Program Files" directory.   The other developer on the 64 bit box brought down the code but his project file is showing the references of "Program Files (x86)" based on keeping everything in the project set to 32 bit for compile etc.

We are wondering what if anything will be affected by this or does it not matter where our physical path locations are of the files if they differ?  What will happen is if he checks in the files and the proj file, my machine won't have a "Program Files (x86) directory".

This may be a more generic question taking the 64 - 32 bit out of the equation and more a question along the lines what if our DLL files are in different paths.

Please advise thanks all.
0
Comment
Question by:sbornstein2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:puru1981
ID: 33542573
program files, windows, my documents... these are special folders. so don't worry about this. it is best practice to use these folders if you are storing some user specific and common files. In this case the windows will take care from where the files to be taken and where to be stored.

0
 

Author Comment

by:sbornstein2
ID: 33544042
so it doesn't matter if one developer has in his project file a reference to a folder I dont have and if I take down that project file with all the files and open the solution will it throw an error not finding that path?
0
 
LVL 9

Expert Comment

by:puru1981
ID: 33544199
i am talking here only about special folders if any other references are there then it will affect.

you can find the list of special folders here

http://www.codeproject.com/KB/winsdk/SpecialFolders.aspx
0
 

Author Comment

by:sbornstein2
ID: 33545919
Still not sure I understand if this answer my question though.  So the Program Files directory is a special folder but my question is if a 64 bit machine has two Program Files folders the regular "Program Files" 64 bit folder and the "Program Files (x86)" folder 32 bit folder, the .net project file for that 64 bit user is showing reference paths to the "Program Files (x86)" folder.  My machine a 32 bit machine has only the "Program Files" folder and my reference paths go to this path.

So in source safe if the 64 bit user checks in his files and I bring them down my project file will be showing his reference paths to the "Program Files (x86)" which I don't have.  Will this cause build errors and what is the best way to handle this if that is the case?
0
 
LVL 9

Accepted Solution

by:
puru1981 earned 500 total points
ID: 33548109
being specific to your situation. it doesn't affect.

secondly you can't control these two folders because if a 32 bit application is installed on a 64 bit system it will go to Program Files (x86) folder if it is 64 bit then it will go to Program Files. if you install window7 in 32 bit mode you will not find the folder Program Files (x86).

so don't worry about this. this is automatically taken care by OS.
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question