We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9feb1c commit 9ff5339Copy full SHA for 9ff5339
Source/Examples/Avalonia/AvaloniaExamples/Example.cs
@@ -23,7 +23,7 @@ public Example(Type mainWindowType, string title = null, string description = nu
23
this.Description = description;
24
try
25
{
26
- var uri = new Uri("resm:AvaloniaExamples.Images." + this.ThumbnailFileName);
+ var uri = new Uri($"avares://{typeof(Example).Assembly.FullName}/Images/" + this.ThumbnailFileName);
27
var stream = AssetLoader.Open(uri);
28
this.Thumbnail = new Bitmap(stream);
29
}
0 commit comments