Forum member

dvircohen

8 posts

Posts by dvircohen

  1. Reducing CodeAnalysis build time

    Hi, We enabled CodeAnalysis in our solution, we saw that it adds about ~1.5 minute to the build time on the build server. We thought maybe to let MSBuild build the solution with the CodeAnalysis, and in parallel ncrunch will build and test (without CodeAnalysis enabled). We got the following er…

  2. NCrunch console tool kills msbuild process

    i didn't understand fully how this should help to the issue..?

  3. NCrunch console tool kills msbuild process

    I have some problem still.. If i run 2 builds on parallel, for example if 2 developers check in their code, so i get timeout exception from that more longer tests..usually it will be integration tests. I increased the timeout for these projectsto 120 seconds instead of 60..it helps but there are s…

  4. NCrunch console tool kills msbuild process

    I forgot to check in the file "FusionClient.v3.ncrunchsolution" that contains this parameter: <AllowParallelTestExecution>True</AllowParallelTestExecution> Now it works and finishes in 3.8 minutes instead of 24 minutes (!!!) Thanks for the support!

  5. NCrunch console tool kills msbuild process

    Thanks, it is working now and the TFS Build are using the NCrunch. But, it takes really long time. Again, it uses maximum of 2 or 3 processes of the TestHost and all other look like idle. It is the same if i running it from the command line. If i'm taking this configuration and run it from the co…

  6. NCrunch console tool kills msbuild process

    Another thing, i took the config file from my PC - where the tests are flying - and put it on the build server. This is my conf file: <GlobalConfiguration> <Settings> <CPUCoresAssignedToNCrunch>0,1,2,3,4,5,6,7,8,9,10,11,12,13</CPUCoresAssignedToNCrunch> <CPUCoresAssignedToVisualStudio…

  7. NCrunch console tool kills msbuild process

    That's exactly what i did after uploading the post.. Probably it didn't have the configuration and also the NCrunchCacheStoragePath variable.. So i put the config file in some absolute path and run it from the command line and now it works.. Now how can i pass the config file path to the tfs …

  8. NCrunch console tool kills msbuild process

    Hi, We followed the instructions here for running the console tool in our TFS build server: https://www.ncrunch.net/documentation/guides_console-tool-usage We had some licence problems and other stuff, currently when everything should work, the build fails and we get: Exception Message: MSBu…