1

I have googling before, in here and in stackoverflow for example this. for dependencies is solve, not getting error. but when I want to call my method in class (on .Net Class Library) not showing in Intellisense.I can't call namespace reference.

I was check and compare my project.json with result my googling and was downgrade netstandard library to 1.4 and 1.3, still can't call my method...Uninstall my resharper not help to, still getting error.

I am using Vs.2015 update 3.

.Netcore v.1.0.1

here is my project.json in .Net Core Class Library ,name Project "DataContextCore"

{
  "version": "1.0.0-1",

  "dependencies": {
    "NETStandard.Library": "1.5.0-rc2-24027"
  },

  "frameworks": {
    "netstandard1.4": {
      "imports": "dnxcore50"
    }
  }
}

and here is my project.json in Asp.Net Core

  "dependencies": {
   ....other package library
    "DataContextCore": {"target" : "project", "version" : "1.0.0-1"}
  },

does anyone know why it happened. or or indeed asp.net core is still not stable until now. I am very frustrated with asp.net cores and with all its configurations, look like fools or asp.net core is not stable..I hope microsoft guys can answer this.

3
  • What error are you getting?
    – svick
    Nov 4, 2016 at 18:48
  • i not have error....just cannot call all function in other .NET Core Class Library.....when restore dependencyis solve, not getting error...just that. Nov 5, 2016 at 6:25
  • Now I try Uninstall or Repair My Visual Studio, may getting update when install again....thanks for your time Nov 5, 2016 at 6:45

1 Answer 1

0

I would remove that rc2 reference that is outdated, update it like this:

"NETStandard.Library": "1.6.0-*"

"netstandard1.6": {
        "imports": "dnxcore50"
    }
2
  • sorry, Update...I was update to remove like you sugested, but still not work. Nov 5, 2016 at 6:26
  • Now I try Uninstall or Repair My Visual Studio, may getting update when install again....thanks for your time Nov 5, 2016 at 6:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.