Skip to content

Resx files are not working for fsharp project #4591

@nguerrera

Description

@nguerrera

From @Lanayx on February 28, 2018 15:1

Steps to reproduce

  1. Create empty F# console project (.NET Core)
  2. Add type Test = Test of string
  3. Add Resources folder
  4. Add Resource Test.en.resx to Resources folder
  5. Build project

Expected behavior

VS build works
dotnet build works

Actual behavior

VS build works
dotnet build doesn't work.
resources.cs file with fsharp content is created and CS compiler errors are shown

Environment data

.NET Command Line Tools (2.1.4)

Product Information:
Version: 2.1.4
Commit SHA-1 hash: 5e8add2190

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

Microsoft .NET Core Shared Framework Host

Version : 2.0.5
Build : 17373eb129b3b05aa18ece963f8795d65ef8ea54

Copied from original issue: dotnet/cli#8697

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions