I'm trying to embed style (.isl) files into my windows form app and deploy it as a ClickOnce app, but the files are not going into the ClickOnce, how do I deploy them and then load them?
My code looks like this:
StyleManager.Load(@Application.StartupPath + @"\Styles\Office2007Black.isl");
But, I keep getting an exception on them when the application is launched from the browser, complaining that the file was not found.
Thanks,
Ninos
You should check MS help regarding distributing a file via click once. Or you can look at the KB about how to embed an isl in the resources of the application.