Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
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 video discusses moving either the default database or any database to a new volume.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now