-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Null reference exception when using AcrylicWindow from Excel VSTO Addin #87
Comments
The following code seems to work ok as fallback in my case, but might not be the desired outcome for everybody. public static ImageSource AppIcon |
I have come to experience the same issue, more or less; After updating from 0.6.1 to 0.9.0 (using 0.9.0 so AcrylicWindow works on Windows 11), I get a NullReferenceException.
This is the part of the stacktrace Im focusing on. Full Stacktrace
|
The offending code:
public static ImageSource AppIcon{
get{
if (appIcon == null){
var path = System.Reflection.Assembly.GetEntryAssembly().Location;
Problem is that for this type of application the EntryAssembly is null.
The text was updated successfully, but these errors were encountered: