Missing copy local in reference


(marc hoffman) #21

Some more additional entries needed in the .deps file.


(JohnMoshakis) #22

Thanks, this is fixed as well.


(JohnMoshakis) #23

Unfortunately I found a problem.

Newtonsoft 11.03 support .net standard 2 and has no dependencies.

Newtonsoft 10.0.3 only supports .net standard 1

and has dependencies. When I try and run CarterConsoleHelloWorldWebApp with Newtonsoft.Json [10.0.3] I get

Unhandled Exception: System.InvalidOperationException: Cannot find library information for NETStandard.Library/2.0.3
at Microsoft.Extensions.DependencyModel.DependencyContextJsonReader.CreateLibrary(TargetLibrary targetLibrary, Boolean runtime, Dictionary2 libraryStubs) at Microsoft.Extensions.DependencyModel.DependencyContextJsonReader.<>c__DisplayClass20_0.<CreateLibraries>b__0(TargetLibrary property) at System.Linq.Enumerable.SelectListIterator2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() at System.Linq.Enumerable.CastIterator[TResult](IEnumerable source)+MoveNext() at System.Collections.Generic.LargeArrayBuilder1.AddRange(IEnumerable1 items) at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Microsoft.Extensions.DependencyModel.DependencyContextJsonReader.Read(JsonTextReader reader)


(marc hoffman) #24

Ok, we gotta stop piling new stuff on these threads, as it’s becoming largely unmanageable to follow what’s going on :(.

This seems to be a new issue, so I’d need a new test case, new detailed description whats going on and, ideally, a new thread. :pray:t3:

That said, if 10.3 does not support .NET Standard 2, wouldn’t you expect to fail on that?