Rank: Member
Groups: Registered
Joined: 3/22/2016(UTC) Posts: 21 Location: Sweden
Thanks: 14 times Was thanked: 2 time(s) in 2 post(s)
|
While I was traversing the history, checking out commit after commit and rerunning all tests I found what seems to be a similar issue. I was doing the checkouts from the command line this time and I imagine that there are less events for you to listen on from Visual Studio in that case. Unless you think of an immediate solution for this I wouldn't worry about it. Visual Studio doesn't handle it that particularly well either, so I don't mind NCrunch failing one time in ten as well for this edge case. Just wanted to let you know for completeness sake. Here's the stack trace (note the difference at the first line, but the similarities after that): Code: System.Exception: An exception was thrown in the remote environment: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> nCrunch.Common.UserException: Errors occurred while trying to load the project file: Unable to find project information for 'C:\xxx\xxx\xxx.csproj'. If you are using Visual Studio, this may be because the project is unloaded or not part of the current solution so run a restore from the command-line. Otherwise, the project file may be invalid or missing targets required for restore. at nCrunch.Compiler.ComponentAnalysisContext.() at nCrunch.Compiler.ComponentAnalysisContext.AnalyseComponentBuild() at nCrunch.Compiler.RemoteBuildRunner.AnalyseComponentBuild(ComponentLoadParameters parameters) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at nCrunch.TaskRunner.Ipc.IpcMessageProcessor.(CallMethodMessage ) at nCrunch.TaskRunner.Ipc.IpcMessageProcessor.ProcessMessageReturningResult(Byte[] data) at nCrunch.TaskRunner.Ipc.RemoteInstance.(Byte[] ) at nCrunch.TaskRunner.Ipc.RemoteInstance.Invoke(IMessage msg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at nCrunch.Compiler.IRemoteBuildRunner.AnalyseComponentBuild(ComponentLoadParameters parameters) at nCrunch.Core.BuildManagement.BuildProcessLauncher..(IRemoteBuildRunner ) at nCrunch.Core.BuildManagement.BuildProcessLauncher.(Action`1 , FilePath , String , ExternalProcess ) at nCrunch.Core.BuildManagement.BuildProcessLauncher.(Action`1 , EffectiveProcessorArchitecture , GridClientId , BuildSystemParameters , IList`1 , Nullable`1 , GridAddress ) at nCrunch.Core.BuildManagement.BuildProcessLauncher.AnalyseComponentBuildInExternalProcess(ComponentLoadParameters parameters, IList`1 customEnvironmentVariables) at nCrunch.Client.ComponentLoader.SnapshotComponentLoader.(EffectiveProcessorArchitecture , String ) at 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)
Other than that it has been working without problems, thanks for excellent support!
|