0

enter image description here

I want to add reference in my project Automapper as i am migrating from EF6 to Ef Core. So i need to add automapper which i had used. When i try to add from package console it get successfully installed but actually it is not as i can see at the right pane yellow color.

Can you please assist me, is there any other dependencies i have to add in json file ?

Thank you in advance.

1 Answer 1

1

Modify your project.json file framework section like this

"frameworks": {
    "netcoreapp1.0": {
      "imports": [
        "dotnet5.6",
        "portable-net45+win8"//This will missing in your json file
      ]
    }
  },
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.