Skip to content

Resx generator generate bad assemblies for release configuration #1937

@aensidhe

Description

@aensidhe

Repro is in attachment with build artifacts if needed.

Expected: debug and release configurations print Hello from text file

Bug.zip

> dotnet --info
.NET Command Line Tools (1.0.1)

Product Information:
 Version:            1.0.1
 Commit SHA-1 hash:  005db40cd1

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.14393
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\1.0.1

> dotnet run --project ResxTextFiles\ResxTextFiles.csproj
Hello from text file

> dotnet run -c Release --project ResxTextFiles\ResxTextFiles.csproj
TextFile1.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions