Forum member

GreenMoose

511 posts

Posts by GreenMoose

  1. ConsoleTool: Not run tests if build is failing?

    [NCrunch Console Tool v3.10.0.6] Is there a way I can avoid running tests if NCrunch reports compile error? (I don't want to hold up the build server by running tests if the build is already set to fail. The only workaround I see is to have a separate compile step with msBuild, and avoid calling…

  2. Configuration/UseBuildConfiguration not supported by console tool?

    Setting Configuration environment variable to Release for the console tool runner process should also work I believe.

  3. Context menu Shift+F10 stopped working in 3.12.0.2 (worked in 3.10)

    When I upgraded from 3.10.0.20 => 3.12.0.2 (from http://forum.ncrunch.net/yaf_postst2253_NCrunch-failing-to-build-4-6-1-project--VS2017.aspx) in vs2015, the context menu seems to have stopped working? I have no dedicated application context menu on my laptop so I use Shift+F10 to get it to show, …

  4. Unable to run tests with .NET Core 2.0 referencing .NET Standard 2.0

    [quote=Remco;11167][quote=Der-Albert.com;11166] of course .... first thought "Running not as a Service, i switched that to the Local User Account and it worked".... well, lets take a look to be sure. No, is running under local System. WTF. So one of the Upgrade Installs, uninstalls, and reinsta…

  5. Even the simplest .NET Core project fails to build under NCrunch

    [quote=Remco;11081]I believe I've managed to find solutions for all of these issues except for the scenario 3 one, which at present is still a mystery to me. Do let me know if you find a way to consistent reproduce this one. Fixes are included in the build below: [url=http://downloads.ncrunch…

  6. Even the simplest .NET Core project fails to build under NCrunch

    Found the missing package after x trial and errors: system.collections.nongeneric . Copying this voids the internal NCrunch exception, removing it introduces the exception. ( Also now my "scenario 3" is working properly (i.e. it reports TestFailure and not "Ok") ).

  7. Even the simplest .NET Core project fails to build under NCrunch

    [quote=Remco;11055] I strongly recommend setting your CI to run under a non system account if you're running .NET Core tests. I've made a note to investigate this further.[/quote] Thanks, yes this what actually want to use. So, when creating a new user accounts (1 for tc agent, 1 for grid node) …

  8. Even the simplest .NET Core project fails to build under NCrunch

    First of all, today the day after, it is building fine (under local user) :O. I have no idea why it does since I didn't change anything. But let's assume something was corrupt during build tools install (I got warning when first trying to upgrade build tools today, reboot was needed). As to your …

  9. Even the simplest .NET Core project fails to build under NCrunch

    Is below sufficient or should I submit the entire log? Is it the process 3920 that dies for some reason? [quote] [11:46:11.348-LocalAnalysisTask-20] Adding external process with Id '7cb121fed81045e88f636985959056c4' [11:46:11.348-LocalAnalysisTask-20] Starting external process '"C:\Program Files\…

  10. Even the simplest .NET Core project fails to build under NCrunch

    (using v3.11.0.5) [quote=Remco;11025]Would you be able to submit a bug report after you've had the connection closed exception? Likely this is caused by a missing dependency. The log should reveal which one.[/quote] This is on a build system not having visual studio installed (only vs 2017 bui…

  11. 3.10.0.20 nCrunch.TaskRunner40.x64.exe flagged as virus in AVG

    [quote=GreenMoose;10899]Same issue with Avira and nCrunch.TaskRunner.DotNetCore.20.x.86.dll: https://www.screencast.com/t/USgAHK8Y (I've reported it to Avira as "suspicious false positive"). *Edit: Response from Avira team: [quote] The analysis you requested is now complete: [b]File[/b] quar…

  12. Even the simplest .NET Core project fails to build under NCrunch

    Regarding my error above, I got the dotnetcore installed by referencing Microsoft.NETCore.App in the test project's csproj (nuget install-package), and then using nuget restore to get it in my C:\Users\...\.nuget\packages\microsoft.netcore.app: [quote] <PackageReference Update="Microsoft.NETCo…

  13. Even the simplest .NET Core project fails to build under NCrunch

    I have the same issue on a build server (dotnet restore/build works fine) with NCrunch console tool, not having visual studio installed. How can I ensure "make sure you have Microsoft.NetCore.App/1.1.0 Nuget package installed." ? Some details: Using Ncrunch v3.9.0.1 I get error [quote] 14:20…

  14. vs2015 crash (NCrunch...ClipboardHelper)

    Not really, I think I was about to copy something in the test output windows when vstudio "froze" and after a few seconds crashed.

  15. vs2015 crash (NCrunch...ClipboardHelper)

    v3.10.0.20 - below stacktrace from event viewer, not sure what I was doing but probably something with copy/paste I guess :) [quote] Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.ArgumentNul…

  16. Test context menu is slow to show.

    FWIW: Now it takes about 5s for menu to show with an vstudio2015 instance been riunning for 6 days, and sometimes the "wait" cursor appears and screen blinks and then context menu is not showing at all (behavior seems to appear randomly, not reproducicable in attached screencast) https://www.screenc…

  17. jetbrains rider plugin?

    Another aspect is Jetbrains' view of having another continuous testing tool in their IDE, competing with their own continuous testing feature with DotCover (not yet available in Rider though). You wouldn't want to invest huge amount of money/time just to see JetBrains closing the door for you in ord…

  18. 3.10.0.20 nCrunch.TaskRunner40.x64.exe flagged as virus in AVG

    Same issue with Avira and nCrunch.TaskRunner.DotNetCore.20.x.86.dll: https://www.screencast.com/t/USgAHK8Y (I've reported it to Avira as "suspicious false positive"). *Edit: Response from Avira team: [quote] The analysis you requested is now complete: [b]File[/b] quarantine.zip/nCrunch.TaskR…

  19. Test context menu is slow to show.

    FWIW, I've noticed this lately as well (v3.7.0.4 with vstudio 2015, and also repro'd in vstudio2015 and 3.10.0.20). Seems to be pretty quick with a fresh vstudio session but quickly becomes slow (in this case I had it running for 1 hour and devenv process consumes ~1GB). See https://www.screencast…

  20. ConsoleTool: System.AccessViolationException: Attempted to read or write protected memory.

    Hrm I take that back, now the build reported successful but with 0 tests run, looking into build log I see [code=plain] 15:53:50][Step 2/2] [15:55:29.4888-?-14] Ceasing to send messages because of an error (was the connection closed?): System.ObjectDisposedException: Cannot access a disposed objec…