I have created a help in Html to attach to my project. My project has been developed in WPF.
But may I add the Html as a resource to the project or I just put the folder with my Html and the images I am using in it in the Project folder?
If the second option is better than the first, how can I get the Path to my Html file?
Anyway I will create an installer to my App, I will use the installer from Visual Studio but when I do it, how I can make sure that he will open the Html successfully?
I would go with the second option and just have the file in the project (make sure to right-click->properties and turn on “copy to ouput directory”).
You can use the WebBrowser control to render the html.
AppDomain.CurrentDomain.BaseDirectorygets you the directory containing the application.XAML:
Code Behind: