mirror of
https://github.com/ZuneDev/Xune.git
synced 2026-07-27 13:13:10 -07:00
Added image embedded resources (from og UIX.dll)
This commit is contained in:
@@ -76,8 +76,7 @@ namespace Microsoft.Iris.OS
|
||||
Assembly assembly = Assembly.GetExecutingAssembly();
|
||||
System.IO.MemoryStream stream = new System.IO.MemoryStream();
|
||||
|
||||
var ress = assembly.GetManifestResourceNames();
|
||||
using (var input = assembly.GetManifestResourceStream(resourceName))
|
||||
using (var input = assembly.GetManifestResourceStream(resourceName.ToUpperInvariant()))
|
||||
{
|
||||
if (input == null) return false;
|
||||
input.CopyTo(stream);
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
@@ -10,6 +10,10 @@
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<UseWpf>true</UseWpf>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource LogicalName="ACQUIRINGIMAGE.PNG" Include="Resources\ACQUIRINGIMAGE.PNG" />
|
||||
<EmbeddedResource LogicalName="ERRORIMAGE.PNG" Include="Resources\ERRORIMAGE.PNG" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="SkiaSharp" Version="2.80.3" />
|
||||
<PackageReference Include="System.Reflection.Emit.Lightweight" Version="4.7.0" />
|
||||
|
||||
Reference in New Issue
Block a user