I have a solution contains 2 projects
- windows form application -> WFA
library of user controls -> LUC
Solution |-Solution.Presentation -> WFA |-Solution.Controls -> LUC
In LUC I have a control with a property that must show the host project assembly (here my problem is that I do not know how to do it).
public class customControl : TextBox
{
public string HostAssemblyName
{
get { /* HELP => should return Solution.Presentation (must be generated dynamically because the name of the project where it will be hosted is not known) */ }
}
}
The WFA project makes use of the LUC project:
Solutiono
|-Solution.Presentation
|-References
|-Solution.Controls
Any ideas? Thanks