Resource files are those files that are used to instruct the compiler/linker toolchain on which resources (icons, dialogs, etc.) are to be embedded in the binary being built.
Questions tagged [resource-files]
267 questions
0
votes
1 answer
Cannot load resource files using Scala / Mill
I cannot load resources in Scala, using Mill (0.10.5) as the build tool.
The minimal example is:
.
├── app
│ └── src
│ └── main
│ ├── resources
│ │ └── hello_world.txt
│ └── scala
│ └──…

Amaterasu
- 153
- 10
0
votes
1 answer
prevent visual studio from reverting the Resource designer properties in to internal
I know the resource designer files are auto generated, we are achieving WPF localization through resource files at project level. And its possible only if we have the resource designer properties as public qualified. Now any time i add a new resx…

ioWint
- 1,609
- 3
- 16
- 34
0
votes
1 answer
Resources available locally but "No such file or directory" when packaged and deployed with Poetry
I use paths defined as constants, e.g. TF_CONSTS = 'consts/tf_keras_param_config.json' and they work fine during development.
However, when the package is built with Poetry (i.e. poetry build --format sdist) and deployed, these references become…

Marek Grzenkowicz
- 17,024
- 9
- 81
- 111
0
votes
1 answer
Azure Batch and API Job ADD: upload file in wd directory with
I'm using API Job Add to create one Job with one Task in Azure Batch.
This is my test code:
{
"id": "20211029-1540",
"priority": 0,
"poolInfo": {
"poolId": "pool-test"
},
"jobManagerTask": {
"id": "task2",
…

Robertino
- 34
- 5
0
votes
1 answer
ResourceManager.GetString() not returning value
I am trying to implement multiple language support for my web project. I am new to it.
I am not able to get the resource file value by using ResourceManager.GetString() function. I am passing the name and current CuluralInfo. The resource file…

san
- 1,859
- 4
- 26
- 38
0
votes
1 answer
Visual Studio embed large resource file (almost 4gb)
I am trying to embed a large resource file (almost 4gb), its a .dat file. However i am running into issues where it throws an error
"Error reading resource 'Sx64.x-none.dat' -- 'Specified argument was out of the range of valid values.
It appears…

Samuel Dague
- 55
- 7
0
votes
1 answer
How do I implement this code into a dialog type resource file?
// Epvolume.rc -- Resource script
#include "resource.h"
#include "windows.h"
#include "commctrl.h"
//
// Dialog box
//
VOLUMECONTROL DIALOGEX 0, 0, 160, 60
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_SETFONT
CAPTION "Audio Endpoint…

BeefCake
- 3
- 2
0
votes
1 answer
Editing .rc resource files via script or command line?
Trying to automate some of our processes in a C++ Windows app build using Jenkins. What we would like to do is make the updating of the version information in the resource file (.rc) automatic. Currently there is a script that prompts user for which…

bpeikes
- 3,495
- 9
- 42
- 80
0
votes
2 answers
ASP.net default resource file handling - best practice?
i have a piece of code in my ASP.NET that is depend on the culture/uiCulture that the user is coming from to load few connection string values (right now, we have two, en-US and de-DE resources files).
In my globalization, i set the following two…

Or A
- 1,789
- 5
- 29
- 55
0
votes
0 answers
.NET Core 3.1 API cannot find shared resource files that contain region codes
Context
I am currently working on a .net Core 3.1 API that will replace an old .NET Framework and Delphi back-end. The API needs to supports globalization and localization to translate error messages and a few data values.
The localization is passed…

Joep Verhoeven
- 110
- 12
0
votes
1 answer
Error while using asp.net resource files
I have som text-content that I want to be able to change without recompiling my project. I have created a resource file and put some text-content in it.
I was under the impression that I could write <%$ Resources:mapLink2 %> wherever I wanted but…
Fluff
0
votes
2 answers
How to reference a resource file from a Model in ASP.Net Core (3.1)?
So, I read all about the new localization system in ASP.Net Core (3.1) and successfully made use of the IStringLocalizer and the IViewLocalizer. I also could use the localization for the [DisplayName("Property description") in…

Dabblernl
- 15,831
- 18
- 96
- 148
0
votes
1 answer
File not found when located in "Test Resources Root"
I am new to IntelliJ IDEA and I am trying to use specific files for my unit tests, but it seems that these cannot be found. I have built a special project/module to "reduce" the error in a totally clean setting to make sure that I don't miss…

Pantelis Natsiavas
- 5,293
- 5
- 21
- 36
0
votes
0 answers
"resource script" opens like a folder?
I am new to creating desktop apps, and I have been following a tutorial, which mentions creating a "resource file." However, when I follow instructions for creating such a file, it creates something which opens like a folder. The tutorial seems…

theratkeeper
- 67
- 2
- 10
0
votes
1 answer
replace string dynamically in resource file
In my cshtml page i have one bootbox dialog like this
bootbox.dialog({
title: "Addresstitle " + ADDRESS + " save",
message: "you will be send to " + fromaddress + "for verification dear" + customer,
…

James
- 1,827
- 5
- 39
- 69