Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

React to the deprecation of Microsoft.AspNetCore.All #8751

Merged
merged 1 commit into from
Nov 21, 2018
Merged

Conversation

natemcmaster
Copy link
Contributor

// it depends on Microsoft.AspNetCore.Mvc even though it does. Explicitly list it so that referencing this runtime causes
// assembly discovery to work correctly.
"Microsoft.AspNetCore.All",
"Microsoft.AspNetCore.App",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think app did not have the same problem as All, but this is fine

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For context: here is what the deps.json file looks like now: https://gist.githubusercontent.com/natemcmaster/928c1973a136e7c3690f0ac628873a1d/raw/50a0a387e45a3878e114ef90bc90ab82a57dbee7/webapp1.deps.json.

If I understand right, this section of code is looking for dependencies. Microsoft.AspNetCore.Mvc won't appear as in "dependencies" or "libraries" anymore.

    ".NETCoreApp,Version=v3.0": {
      "webapp1/1.0.0": {
        "dependencies": {
          "Microsoft.AspNetCore.App": "3.0.0-preview-001",
          "Microsoft.NETCore.App": "3.0.0-preview-27113-06"
        },
        "runtime": {
          "webapp1.dll": {}
        },
        "compile": {
          "webapp1.dll": {}
        }
      },
      "Microsoft.AspNetCore.App/3.0.0-preview-001": {
        "compile": {
          // ... list of ref assemblies here
          "ref/netcoreapp3.0/Microsoft.AspNetCore.Mvc.dll": {},
        }
      },

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants