I have written an application that uses the default DataPresenter style, plus a couple of modifications in the application main resource directory. The application builds and deploys fine locally, but when I package and deploy it through ClickOnce, it fails on finding the igDP:CellValuePresenter. If I remove the tag from the resource directory, the rest of the application works fine.
<Application.Resources>
<ResourceDictionary Source="/Common;component/Styles.xaml" />
</Application.Resources>
<Style TargetType="{x:Type igDP:CellValuePresenter}">
<Setter Property="Height" Value="26" />
</Style>
All the infragistics dlls are included in the application deployment settings, and the rest of the application deploys fine. Any ideas?
Hi,
Thanks for posting that information. I’m sure others will find it helpful.
I have fixed it!
The Build Action on the resource directory was set to Resource, after switching this to Page it started working with the ClickOnce installer.
OK thanks Marianne.
FYI - The resource directory is contained within another library which is referenced from the main project. The error message from the Minidump File summary reads as follows:
I am looking into your question and will post back here as soon as I have more information.
I’ll get back to you shortly.