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

Notification

Icon
Error

NCrunch can't build my core2.2 solution
mrpaul
#1 Posted : Tuesday, December 11, 2018 12:48:07 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/11/2018(UTC)
Posts: 1
Location: Germany

Hey everyone,

I really hope to find some help here, as it took me hours to probably solve my problem with no luck.

NCrunch Version: 3.22.0.1
VS Version: VS2017 15.9.3
By-Side Installation: R#

Problem:
Ncrunch can't built the solution.

2 colleagues have similar setups - all fine there. We find no differences in configuration and the like.
I already tried to reinstall the whole setup - no success.

Stacktrace
Code:

System.Exception: An exception was thrown in the remote environment: System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> nCrunch.Common.UserException: Errors occurred while trying to load the project file:
Die Ressourcendatei "C:\Sources\platform\Softfair.Kolumbus\src\Softfair.Kolumbus.Host\obj\project.assets.json" verfügt über kein Ziel für ".NETCoreApp,Version=v2.2/win-x64". Stellen Sie sicher, dass die Wiederherstellung ausgeführt wurde, und dass Sie "netcoreapp2.2" in die TargetFrameworks für Ihr Projekt aufgenommen haben. Unter Umständen müssen Sie auch "win-x64" in die RuntimeIdentifiers Ihres Projekts aufnehmen.
bei nCrunch.Compiler.ComponentAnalysisContext.()
bei nCrunch.Compiler.ComponentAnalysisContext.AnalyseComponentBuild()
bei nCrunch.Compiler.RemoteBuildRunner.AnalyseComponentBuild(ComponentLoadParameters parameters)
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
bei System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
bei nCrunch.TaskRunner.Ipc.IpcMessageProcessor.(CallMethodMessage )
bei nCrunch.TaskRunner.Ipc.IpcMessageProcessor.ProcessMessageReturningResult(Byte[] data)
bei nCrunch.TaskRunner.Ipc.RemoteInstance.(Byte[] )
bei nCrunch.TaskRunner.Ipc.RemoteInstance.Invoke(IMessage msg)
bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
bei nCrunch.Compiler.IRemoteBuildRunner.AnalyseComponentBuild(ComponentLoadParameters parameters)
bei nCrunch.Core.BuildManagement.BuildProcessLauncher..(IRemoteBuildRunner )
bei nCrunch.Core.BuildManagement.BuildProcessLauncher.(Action`1 , FilePath , String , ExternalProcess )
bei nCrunch.Core.BuildManagement.BuildProcessLauncher.(Action`1 , EffectiveProcessorArchitecture , GridClientId , BuildSystemParameters , IList`1 , Nullable`1 , GridAddress )
bei nCrunch.Core.BuildManagement.BuildProcessLauncher.AnalyseComponentBuildInExternalProcess(ComponentLoadParameters parameters, IList`1 customEnvironmentVariables)
bei nCrunch.Client.ComponentLoader.SnapshotComponentLoader.(EffectiveProcessorArchitecture , String )
bei nCrunch.Client.ComponentLoader.SnapshotComponentLoader.CreateComponentFromXml(FilePath projectFilePath, ParsedBuildXml projectXml, FilePath solutionFilePath, String[] additionalFilesToIncludeAtSolutionLevel, Boolean isLoadedFromFile, VisualStudioVersion vsVersion, ComponentUniqueName componentName, TaskSettings componentTaskSettings, Exception parseException, String targetFramework)
Remco
#2 Posted : Tuesday, December 11, 2018 11:21:29 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi, thanks for sharing this problem.

This is an error being raised by MSBuild when NCrunch tries to load the project file. Something is not right with the project.assets.json file inside the project's directory. Try deleting ALL the 'bin' and 'obj' directories for ALL your solutions while you have the IDE closed. The next time you open the solution, the IDE should restore the file in a hopefully uncorrupted state.
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.027 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download