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
Solved

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

Posted on 2010-08-27
5
408 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
  • 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

809 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