Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

.NET Core 2.0 support
mathiasv
#1 Posted : Tuesday, May 30, 2017 6:00:39 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/3/2013(UTC)
Posts: 2
Location: Denmark

Hi,

What are your plans to support the recently released .NET Core 2 bits?

I was able to get NCrunch to run on the VS preview build, however when trying to build a project targeting "netstandard2.0" I get the following:

Code:
System.ArgumentNullException: Value cannot be null.
Parameter name: type
   at _Mono.Cecil.ModuleDefinition.Import(TypeReference type)
   at nCrunch.Compiler.StaticManipulation.StaticInstrumentationImportMethodSet..ctor(CustomCecilAssemblyResolver resolver, ModuleDefinition module)
   at nCrunch.Core.PlatformTypes.DotNetCorePlatformType.GetInstrumentationMethodsForFramework(CustomCecilAssemblyResolver resolver, AssemblyDefinition assembly)
   at nCrunch.Compiler.StaticManipulation.BuiltAssembly.Instrument(ComponentSourceLineMap sourceLineMap, IDictionary`2 instrumentationDirectivesByCodeFileId, IDictionary`2 codeFileIDsByFilePath, Boolean proxyProcessIsActive, Int32 componentId, IInstrumentationFilter[] instrumentationFilters, IBuildPlatformType platformType, PerfTracker perfTracker)
   at nCrunch.Compiler.RemoteBuildRunner.(ComponentBuildParameters , FilePath , BuildOutput , DirectoryPath[] , FilePath[] )
   at nCrunch.Compiler.RemoteBuildRunner..()
   at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
   at nCrunch.Compiler.RemoteBuildRunner.(ComponentBuildParameters )
Remco
#2 Posted : Tuesday, May 30, 2017 10:45:48 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Hi,

The last I heard, .NET Core v2 was on a timetable for a September release. I'm not sure if things have changed since then.

Integrating with code still under development isn't really feasible, because the code changes faster than it can be tied into. Sorry, I'll need to make an informed assessment of the state of this platform before I can make any commitments. Eventually it will need to happen, some time between now and RTM.
narshe
#3 Posted : Monday, August 21, 2017 7:09:02 PM(UTC)
Rank: Member

Groups: Registered
Joined: 3/12/2013(UTC)
Posts: 10
Location: United States of America

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
2.0 has been released. I'm running into this issue now. I'm trying to update my library to 2.0 and rely heavily on NCrunch.
Remco
#4 Posted : Tuesday, August 22, 2017 12:23:41 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
See here for an early build with fixes for the recent .NET Core 2.0 release - http://forum.ncrunch.net/yaf_postst2234_Unable-to-run-tests-with--NET-Core-2-0-referencing--NET-Standard-2-0.aspx.
1 user thanked Remco for this useful post.
narshe on 8/23/2017(UTC)
narshe
#5 Posted : Wednesday, August 23, 2017 10:02:52 PM(UTC)
Rank: Member

Groups: Registered
Joined: 3/12/2013(UTC)
Posts: 10
Location: United States of America

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
The build great. Thanks!
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.035 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download