Link to home
Start Free TrialLog in
Avatar of sbornstein2
sbornstein2

asked on

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

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.
Avatar of puru1981
puru1981

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.

Avatar of sbornstein2

ASKER

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?
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
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?
ASKER CERTIFIED SOLUTION
Avatar of puru1981
puru1981

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial