oleg-shilo/wixsharp

GetResourceBitmap Method is failing resulting in a Null Pointer exception

Aaswin1996 opened this issue · 1 comments

I have created my project from WixV3 template(CustomUISequence) using visual studio .My installer fails on the welcome screen itself with exception
image
On further debugging I found out that the Runtime.Session.GetResourceBitmap("WixSharpUI_Bmp_Banner") is giving me a null value .

image

@oleg-shilo

I managed to solve it using
project.AddBinary(new Binary(new Id("dialog_image"), @"Images\dialog_image.png"));

Was missing to add files before using them .Can be closed