Skip to content

NetCore App 2.1.12 produces Case-insensitive *.deps.json file for case sensitive operating systems #3449

Open
@mdjaniga

Description

@mdjaniga

I maintain my production build environment within a docker container. This env uses 2.1.12.

Application is named Jobe. Builds from this environment produce a deps.json file with an application target application dll in all lower case, "jobe.dll". The actual DLL is "Jobe.dll". I encounter a runtime error when jobe.dll is not found.

My local environment is env uses 2.1.4. In this env using the same build script produces deps.json file with a properly named target. Subsequently no runtime errors.

2.1.12 jobe.deps.json

{
  "runtimeTarget": {
    "name": ".NETCoreApp,Version=v2.1/linux-x64",
    "signature": "969bce325de8fec99cfd3c7d0c2302841251901c"
  },
  "compilationOptions": {},
  "targets": {
    ".NETCoreApp,Version=v2.1": {},
    ".NETCoreApp,Version=v2.1/linux-x64": {
      "jobe/1.0.0": {
        "dependencies": {
          "ApexRest": "1.0.0",
          "CommandLineParser": "2.5.0",
          "Microsoft.NETCore.App": "2.1.12",
          "log4net": "2.0.8"
        },
        "runtime": {
          "jobe.dll": {}
        }
      },

2.1.4 Jobe.deps.json

{
  "runtimeTarget": {
    "name": ".NETCoreApp,Version=v2.1/linux-x64",
    "signature": "b3039513c0756a28a84f26a7dc4af69f86efbaa9"
  },
  "compilationOptions": {},
  "targets": {
    ".NETCoreApp,Version=v2.1": {},
    ".NETCoreApp,Version=v2.1/linux-x64": {
      "Jobe/1.0.0": {
        "dependencies": {
          "ApexRest": "1.0.0",
          "CommandLineParser": "2.5.0",
          "Microsoft.NETCore.App": "2.1.4",
          "log4net": "2.0.8"
        },
        "runtime": {
          "Jobe.dll": {}
        }
      },

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