tagged [embedded]

How to reference embedded images from CSS?

How to reference embedded images from CSS? I have a CSS file that is embedded in my assembly. I need to set a background image for certain elements using this CSS file, and the image needs to be an em...

28 Jul at 21:8

How to read embedded resource text file

How to read embedded resource text file How do I read an embedded resource (text file) using `StreamReader` and return it as a string? My current script uses a Windows form and textbox that allows the...

9 Feb at 20:48

Using embedded resources in C# console application

Using embedded resources in C# console application I'm trying to embed an XML file into a C# console application via Right clicking on file -> Build Action -> Embedded Resource. How do I then access t...

10 Nov at 04:19

Unit Testing C Code

Unit Testing C Code I worked on an embedded system this summer written in straight C. It was an existing project that the company I work for had taken over. I have become quite accustomed to writing u...

8 Aug at 15:42

Find all embedded resources in another assembly

Find all embedded resources in another assembly I'm working on localization for my project. For this, I have a class which should load an embedded resource from another assembly, and then read out the...

11 Dec at 19:30

Copying embedded resource as file to disk in C#

Copying embedded resource as file to disk in C# I have an INF file saved as an embedded resource in my C# project. I am trying to save this file to a local location on demand. I am using this method. ...

11 Dec at 08:45

Using JQuery as an ASP.NET embedded webresource

Using JQuery as an ASP.NET embedded webresource I have an ASP.NET server control which relies on JQuery for certain functionality. I've tried to add as a webresource. My problem is my method of includ...

How to use shared resource file between projects in one solution?

How to use shared resource file between projects in one solution? I have a problem with resource files. I have a solution with two projects. The first project contains `ImageResource.resx` file with t...

Cant load embedded resource with GetManifestResourceStream()

Cant load embedded resource with GetManifestResourceStream() I am embedding a binary file with the /linkres: compiler argument, but when i try to load it with: ``` System.Reflection.Assembly myAssembl...

25 Aug at 04:42

Accessing resources from code for setting NotifyIcon.Icon

Accessing resources from code for setting NotifyIcon.Icon I am trying to get the Icon of a `NotifyIcon` in WPF. So I have added a `.ico` file to my solution in a `Resources` folder and set the build a...

23 May at 12:16

Compiling an application for use in highly radioactive environments

Compiling an application for use in highly radioactive environments We are compiling an embedded C++ application that is deployed in a shielded device in an environment bombarded with [ionizing radiat...

24 Nov at 14:7

specify build action of content - Nuget

specify build action of content - Nuget What is the simplest way to tell Nuget package to add all css files as an embedded resource (ie build action is embedded resource). I am trying to do it through...

Sorting 1 million 8-decimal-digit numbers with 1 MB of RAM

Sorting 1 million 8-decimal-digit numbers with 1 MB of RAM I have a computer with 1 MB of RAM and no other local storage. I must use it to accept 1 million 8-digit decimal numbers over a TCP connectio...

30 Mar at 06:49

Resource from assembly as a stream

Resource from assembly as a stream I have an image in a C# WPF app whose build action is set to 'Resource'. It's just a file in the source directory, it hasn't been added to the app's resource collect...

7 Sep at 07:57

Why does GetManifestResourceStream fail at runtime?

Why does GetManifestResourceStream fail at runtime? I am running into a hard to reproduce bug in production code where I am seeing `GetManifestResourceStream` return `null` at runtime. Context: I am r...

Windows store app ResourceLoader at design time

Windows store app ResourceLoader at design time I've started creating a Windows Store App for Windows 8.1 and now I encountered a problem concerning localization. I would like to display a string reso...

Application.GetResourceStream called on a Content Resource still return null

Application.GetResourceStream called on a Content Resource still return null Here is the task-related part of the VS2010 project (Windows Phone) structure: ![enter image description here](https://i.st...

How to change the URL using CefSharp WinForms

How to change the URL using CefSharp WinForms So, I decided to give CefSharp another go, grabbed the CefSharp.Winforms nuget, and dropped in the following code : ``` public CefSharp.WinForms.ChromiumW...

24 May at 08:41

Visual Studio 2010 Winforms keeps forgetting resources

Visual Studio 2010 Winforms keeps forgetting resources For some reason on my current project I create my resource file via the project properties, add a load of existing images. Then go to add these i...

How to embed multilanguage *.resx (or *.resources) files in single EXE?

How to embed multilanguage *.resx (or *.resources) files in single EXE? There are plenty of tutorials how to create multilanguage RESX files and how to create satellite assemblies with AL.exe, but I h...

Power Efficient Software Coding

Power Efficient Software Coding In a typical handheld/portable embedded system device Battery life is a major concern in design of H/W, S/W and the features the device can support. From the Software p...

29 Aug at 08:30

How to refer to Embedded Resources from XAML?

How to refer to Embedded Resources from XAML? I have several images that i want to be Embedded into the exe. When i set the to I get through out the code an error that the Resource isn't available and...

23 Feb at 19:12

Test framework for black box regression testing

Test framework for black box regression testing I am looking for a tool for regression testing a suite of equipment we are building. The current concept is that you create an input file (text/csv) to ...

17 Jul at 22:17

Is there a way to avoid X-Frame-Options in a CEF Windows Chromium Desktop App?

Is there a way to avoid X-Frame-Options in a CEF Windows Chromium Desktop App? I created a simple app using the suggested "app init", then I dropped a pre-compiled ReactApp in place. The app has a bro...

Using 'switch' with strings in resource file

Using 'switch' with strings in resource file I have a bunch of strings in my resource(.resx) file. I am trying to directly use them as part of switch statement (see the sample code below). ``` class T...