Top "Resources" questions

Assets (like memory, disk space, CPU power or alike) necessary for effective operation or physical files (like images, configuration files or other) to provide some externalized enrichment to an application.

Is there a tool to find unused resources in an Android project?

I'd like to find any unused resources in my Android project - this includes strings, ids, drawables, integers etc. Does …

android resources find
UriFormatException : Invalid URI: Invalid port specified

The assembly qualified string used as a parameter below for a Uri works in XAML, but gives me the error …

wpf xaml resources uri
Why can't I use resources as ErrorMessage with DataAnnotations?

Why can't I do like this? [Required(ErrorMessage = "*")] [RegularExpression("^[a-zA-Z0-9_]*$", ErrorMessage = Resources.RegistrationModel.UsernameError)] public string Username { get; set; } …

c# asp.net asp.net-mvc resources data-annotations
VC++ resources in a static library

Is it possible to build resources into a static library and reuse them by simply linking with the library? I'm …

visual-c++ resources static-libraries
Text with shapes in drawable resource

Can i create text-shape in drawable resource? I was googling much but found nothing... Here is my drawable file: <?…

android text resources drawable shape
How to get the Android ID for a menu item in Android?

Is there a way to get the Android ID for a menu item? I can see getTitle() but not a …

android string menu resources monkeyrunner
In Terraform 0.12, how to skip creation of resource, if resource name already exists?

I am using Terraform version 0.12. I have a requirement to skip resource creation if resource with the same name already …

resources terraform exists
C# - Get number of references to object

I'm trying to write a simple Resource Manager for the little hobby game I'm writing. One of the tasks that …

c# reflection resources reference resourcemanager
Beginning OpenCL tutorials?

I have seen some videos and articles about how powerful OpenCL can be - and I'm hooked. The problem is …

c++ resources cross-platform opencl gpu
How to inject complete propertiesfile in a springbean

I have a properties-file with a lot of values and I do not want to list them in my bean-configuration-file …

spring resources properties-file