Trying out ncrunchConsole on a TeamCity agent, not having vstudio 2017 installed. The plan is to build dotnetcore projects first of all.
Is this possible or must I have vstudio2017 installed, or is sufficient with https://blogs.msdn.microsoft.com/vcblog/2016/11/16/introducing-the-visual-studio-build-tools/ ?
When currently just trying the console app on my solution on the build agent I get popups like below
---------------------------
nCrunch.BuildHost462.x86.exe - This application could not be started.
---------------------------
This application requires one of the following versions of the .NET Framework:
.NETFramework,Version=v4.6.2
Do you want to install this .NET Framework version now?
---------------------------
Yes No
---------------------------
Well, installing build tools 2017, net famework 4.6.2 and then rebooting didn't really help:
[14:15:56.706-InitialisationQueueTask-8] ERROR (Load): Error occurred during load of component at D:\TeamCity\buildAgent\work\....NUnitTests.csproj: System.Exception: An exception was thrown in the remote environment: System.Reflectio
Exception: Exception has been thrown by the target of an invocation. ---> nCrunch.Common.UserException: Errors occurred while trying to load the project file:
The target "_SplitProjectReferencesByFileExistence" does not exist in the project.
at nCrunch.Compiler.RemoteBuildRunner.☻(FilePath ☻, LoadTimeQuery ♥, String ♣, String, DirectoryPath ♠, String ♫, String ☼)
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 ☻, ProcessorArchitecture ♥, GridClientId ♣, BuildSystemParameters, IList`1 ♠)
at nCrunch.Core.BuildManagement.BuildProcessLauncher.AnalyseComponentBuildInExternalProcess(ComponentLoadParameters parameters, IList`1 customEnvironmentVariab
at nCrunch.Client.ComponentLoader.SnapshotComponentLoader.☻(ProcessorArchitecture ☻, String ♥)
at nCrunch.Client.ComponentLoader.SnapshotComponentLoader.CreateComponentFromXml(FilePath projectFilePath, ParsedBuildXml projectXml, FilePath solutionFilePath
nalFilesToIncludeAtSolutionLevel, Boolean isLoadedFromFile, VisualStudioVersion vsVersion, ComponentUniqueName componentName, TaskSettings componentTaskSettings,
eption, String targetFramework)