Solved

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

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with consolidating excel files using VB.net 2 35
Data organization issue 7 36
How to force output to ascii 2 34
PowerShell: ForEach-Object Export to CSV 4 34
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

762 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