dotnet / dotnet/msbuild

Resources File in .NET Standard (1.4) with New csproj

Open
#1,984 19 comments 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

I'm developing an application targeting .NET Standard 1.4, using the new csproj style (not project.json), and trying to get a localizable resources file to become available throughout the project.

I get compiler errors when including a resources file currently, similar to 'Resources' does not contain a definition for 'X'

The csproj automatically includes the resources file as follows:



True
True
Resources.resx



ResXFileCodeGenerator
Resources.Designer.cs


Did it miss a step in the generation? Why can't I access any of the members of my resources file throughout the assembly?

http://stackoverflow.com/questions/43454441/resources-file-in-net-standard-1-4-with-new-csproj

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.