I have created an Addon that I want to distribute to my customers.
My Addon uses an xaml file that I would like to include in the distribution but I don't know how to structure my zip file to accomodate my needs.
In my development computer my file is locate under the Addon folder. I read in previous forum posts that I need to include the xaml file under the templates folder for distribution.
In my Addon code I retrieve the file from the Addons Folder :
using (System.IO.Stream assemblyResourceStream = GetManifestResourceStream("AddOns.AddOnExampleTab2 .xaml"))
How can I change this to the templated folder ?
I put the file under the templates folder and change my code to :
I tried using (System.IO.Stream assemblyResourceStream = GetManifestResourceStream("templates.AddOnExampleT ab2.xaml"))
but it does not work ...
Comment