RIAS
asked on
Get sourcecode path
Hello,
Is it possible to get the sourcecode path from bin folder?
I am using visual studio 2015 ,vb.net desktop app
Cheers
Is it possible to get the sourcecode path from bin folder?
I am using visual studio 2015 ,vb.net desktop app
Cheers
Does var localDir = Assembly.GetExecutingAssem bly().GetD irectoryPa th(); give you what you need?
ASKER
Darren,
Thanks ! The problem is I have a bin folder of the live project, but can't figure out where the source code is.
Can you suggest?
Thanks ! The problem is I have a bin folder of the live project, but can't figure out where the source code is.
Can you suggest?
What tool are you using to build the program.
Are you 100% positive the source code is on the machine? You could have a bin if the solution was simply installed to the bin folder
Not sure if there is a way to do this but sounds unlikely.... as the bin folder should contain the compiled code and should not care about the source.
have you searched for *.vb files
Are you 100% positive the source code is on the machine? You could have a bin if the solution was simply installed to the bin folder
Not sure if there is a way to do this but sounds unlikely.... as the bin folder should contain the compiled code and should not care about the source.
have you searched for *.vb files
ASKER
The bin folder is on another server. Trying to search the projects correct version.
Was wondering if debug folder can help
Was wondering if debug folder can help
Perhaps if you have the .pdb files you could have a look here...
http://www.wintellect.com/devcenter/jrobbins/pdb-files-what-every-developer-must-know
Thanks
Darren
http://www.wintellect.com/devcenter/jrobbins/pdb-files-what-every-developer-must-know
Thanks
Darren
ASKER
In bin folder only 3 files are present:
.exe
.configuration and application.
Cheers
.exe
.configuration and application.
Cheers
My point was that you said 'Was wondering if debug folder can help ' Do you have the debug folder?
If so then you might be able to get the information you require.
Otherwise I would say that it is not possible.
If so then you might be able to get the information you require.
Otherwise I would say that it is not possible.
Sure leave the question open for a while and see if anyone else has any suggestions.... :)
ASKER
Ok , thanks for the efforts.
the files in the bin folder will not be able to stool where the original source code is from. The bin folder is the result.
You could perhaps search the server for the name of the project (which often is the name of the .exe file).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Cheers!
Not sure I understand the awarding of the points. If you don't have access to the pdb files then it's of no help at all.
Just interested!
Just interested!