Refer to same SubFolder from 2 projects in One Solution Solution
I have a .Net Application in which I have a common library and 2 projects - one in Visual Basic and the other in C#. The Visual Basic project is basically the C# project that has been translated into VB. Depending on the language that is used by my clients, they set the start-up project to the VB or C# project.
Both of these projects have a SubFolder called Courses - which contain a bunch of courses that are not part of the code but which are launched by the app.
I was wondering if there was a way where I didn't need to make an exact copy of the fairly large Courses Directory in both projects - but could have both projects refer to the same subdirectory e.g. launch "~/Courses/Course1"
Or if you know where your EXE is going to live you can using something like:
string folder = Path.GetDirectoryName(Proc
//assuming your in the debug / release folder
//.. = bin
//next .. = Project folder
//go down to courses.