You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you checked Github Issues for similar errors?
yes Exception
Exception: System.Exception: Resource 'moonwallpaper.bmp' not found!
Visual Studio Output Logs
Exception: System.Exception: Resource 'moonwallpaper.bmp' not found!
Loading plugs from assembly: Cosmos.Core_Asm, Version=10.0.0.0, Culture=neutral, PublicKeyToken=5ae71220097cb983
Loading plugs from assembly: Cosmos.Core_Plugs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=5ae71220097cb983
Loading plugs from assembly: Cosmos.Debug.Kernel.Plugs.Asm, Version=10.0.0.0, Culture=neutral, PublicKeyToken=5ae71220097cb983
Loading plugs from assembly: Cosmos.System2_Plugs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=5ae71220097cb983
Invalid plug method! Target method not found. : A0SystemObjectA2CosmosCore_PlugsSystemActivatorImplCreateInstanceA2CosmosCoreCosmosRuntimeTypeA0SystemBooleanA0SystemBoolean
Invalid plug method! Target method not found. : A0SystemInt64A3CosmosSystem_PlugsSystemIOOSFileStreamStrategyImplSeekA0SystemInt64A0SystemObject
Invalid plug method! Target method not found. : A0SystemVoidA3CosmosSystem_PlugsSystemIOStreamWriterImplWriteFormatHelperA0SystemStringA0A0SystemObjectarrayA0SystemBoolean
How To Reproduce
public static VBECanvas canvas = new VBECanvas(new Mode(800, 600, ColorDepth.ColorDepth32));
[ManifestResourceStream(ResourceName = "moonwallpaper.bmp")] public static byte[] moon_image;
public static Bitmap bmp = new Bitmap(moon_image);
[ManifestResourceStream(ResourceName = "cursor.bmp")] public static byte[] cursor;
public static Bitmap curs = new Bitmap(cursor);
Context
Before posting please confirm that the following are in order
[] Both Cosmos VS Extensions are installed
[ ] In the NuGet Package Manager "Include prerelease" is selected
[ ] The Cosmos NuGet package store is selected (NOT nuget.org) in 'Manage NuGet Packages'
[ ] The Cosmos NuGet packages are installed
Add any other context about the problem which might be helpful.
When i try to build my project it outputs this error, i tried changing it to embed resource already, still not working
The text was updated successfully, but these errors were encountered:
You have to give it full path. [ManifestResourceStream(ResourceName = "YourProjectName.Folder.File.txt")] public static byte[] ...
for example [ManifestResourceStream(ResourceName = "Waterfall.Resources.Fonts.PSF.zap-ext-light16.psf")] public static byte[] zap_ext_light16;
Have you checked Github Issues for similar errors?
yes
Exception
Exception: System.Exception: Resource 'moonwallpaper.bmp' not found!
Visual Studio Output Logs
Exception: System.Exception: Resource 'moonwallpaper.bmp' not found!
Loading plugs from assembly: Cosmos.Core_Asm, Version=10.0.0.0, Culture=neutral, PublicKeyToken=5ae71220097cb983
Loading plugs from assembly: Cosmos.Core_Plugs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=5ae71220097cb983
Loading plugs from assembly: Cosmos.Debug.Kernel.Plugs.Asm, Version=10.0.0.0, Culture=neutral, PublicKeyToken=5ae71220097cb983
Loading plugs from assembly: Cosmos.System2_Plugs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=5ae71220097cb983
Invalid plug method! Target method not found. : A0SystemObjectA2CosmosCore_PlugsSystemActivatorImplCreateInstanceA2CosmosCoreCosmosRuntimeTypeA0SystemBooleanA0SystemBoolean
Invalid plug method! Target method not found. : A0SystemInt64A3CosmosSystem_PlugsSystemIOOSFileStreamStrategyImplSeekA0SystemInt64A0SystemObject
Invalid plug method! Target method not found. : A0SystemVoidA3CosmosSystem_PlugsSystemIOStreamWriterImplWriteFormatHelperA0SystemStringA0A0SystemObjectarrayA0SystemBoolean
How To Reproduce
public static VBECanvas canvas = new VBECanvas(new Mode(800, 600, ColorDepth.ColorDepth32));
[ManifestResourceStream(ResourceName = "moonwallpaper.bmp")] public static byte[] moon_image;
public static Bitmap bmp = new Bitmap(moon_image);
[ManifestResourceStream(ResourceName = "cursor.bmp")] public static byte[] cursor;
public static Bitmap curs = new Bitmap(cursor);
Context
Before posting please confirm that the following are in order
[] Both Cosmos VS Extensions are installed
[ ] In the NuGet Package Manager "Include prerelease" is selected
[ ] The Cosmos NuGet package store is selected (NOT nuget.org) in 'Manage NuGet Packages'
[ ] The Cosmos NuGet packages are installed
Add any other context about the problem which might be helpful.
When i try to build my project it outputs this error, i tried changing it to embed resource already, still not working
The text was updated successfully, but these errors were encountered: