Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. ncrunch cant build Xamarin.Forms 3.0

    I've taken a deeper look at this problem and confirmed that it is a compatibility issue between NCrunch and the Xamarin toolset. Although this is a netstandard project, adding the reference to Xamarin.Forms includes a range of Xamarin build targets including additional compilers and complex steps…

  2. NCrunch Menu Still In VS2017 After Uninstall

    Hi, thanks for sharing this problem. I offer my apologies for this as I realise how frustrating uninstall problems can be. Try the following: 1. Close all instances of Visual Studio 2. Browse to the NCrunch installation directory (for VS2017, this is usually C:\Program Files (x86)\Microsoft …

  3. Microsoft.AspNet.TestHost performance issues

    [quote=Pauls;12195] Many thanks for the quick reply and no problem for moving the post. I have experimented with that setting but ultimately it is off for all projects, the warning is stating that the copy referenced assemblies is being enabled implicitly for that project. Obviously it is not one o…

  4. Microsoft.AspNet.TestHost performance issues

    Hi Paul, Thanks for posting! I apologise for moving your message into its own thread, as the previous one was becoming a catch-all for all problems related to Microsoft.AspNet.TestHost and most of the information in that thread is badly out of date. .NET Core and NCrunch's integration with it h…

  5. Can i use NCrunch for CodeCoverage in VSTS?

    [quote=BerndU;12191] This is mainly what is needed - if there would be a VSTS dashboard plugin to show the coverage over time - would be great ;-)[/quote] Great to hear :) There is no plugin for VSTS at the moment. You are [dead link].

  6. Can i use NCrunch for CodeCoverage in VSTS?

    Hi, thanks for posting! NCrunch does have a console tool that can be used inside a CI system to capture and report code coverage information. See here for more details - [url=http://www.ncrunch.net/documentation/tools_console-tool]http://www.ncrunch.net/documentation/tools_console-tool[/url]. …

  7. Build failure: System.ArgumentNullException

    Hi Rasmus, Thanks for posting! Can you confirm whether you're running the latest version of NCrunch? We fixed a problem with exactly this description in v3.15.

  8. Reducing CodeAnalysis build time

    Hi, Thanks for sharing this issue. The problem you're experiencing is due to limitations in the design of MSBuild and its targets. MSBuild cannot safely build a solution in parallel with another session. Because NCrunch does also use MSBuild when loading projects, naturally this clashes with…

  9. Debugging With NCrunch Doesn't let me see values of vars

    It's possible that this is caused by a metadata issue with the PDBs. Previously, where we've seen these problems it's been related to compiler generated structures such as async/await and yield. If you're able to isolate this problem in code that you can share with me, I can take a closer look to …

  10. Error: An error occurred while analysing this project after it was built

    I'm glad you were able to find a solution to this problem. The situation here still remains a mystery to me. I wonder if this could be some kind of cross-version issue between the Xunit components. Thanks for taking the time to share your solution.

  11. Debugging With NCrunch Doesn't let me see values of vars

    Hi, thanks for sharing this issue. Do you notice this with ALL variables in all methods? Do any of your locals work correctly?

  12. Error: An error occurred while analysing this project after it was built

    Hi, thanks for sharing this issue. For NCrunch to build your project, the xunit.execution DLL file needs to be adjacent to your output assembly file. This is typically handled by a build step within Xunit itself. If you build your project normally, do you see the xunit.execution DLL being pla…

  13. Endless Churn while logged out?

    Right now all the critical state for your NCrunch session is stored on the client machine. The remote server is essentially a slave - it holds only the data it needs to be able to perform work and return results. The actual processing queue and all the coordination happens on the client side. So …

  14. Endless Churn while logged out?

    Hi, thanks for posting. At the moment, I can't think of a way that this could be possible. Churn Mode exists as a UI-based feature (i.e. requires the NCrunch VS Plugin to work). It don't think it's really possible to leave VS running while you are logged out of the machine. Why do you need t…

  15. Failing on test discovery if using IXunitSerializable in xUnit tests

    Thanks for the code sample. Using this I can observe the same behaviour as you've described - the test cases are being rolled up under the main test. It looks like in this case, the limitation is in Xunit itself. Because the test case is reliant on a user defined type for its parameter data, it…

  16. Failing on test discovery if using IXunitSerializable in xUnit tests

    Sorry, but we cannot support this use case with NCrunch. You will need to change your design.

  17. ncrunch cant build Xamarin.Forms 3.0

    Sorry Daniel - I misunderstood in thinking this was actually a Xamarin project. I do definitely recommend trying the compatibility mode to see if that resolves the problem. It's likely that there is a XAML build step that is malfunctioning because of NCrunch's workspacing. If you can find the r…

  18. Building Sql Server Database for each test

    Hi, thanks for posting. This can be quite a complex area, depending on the number of tests involved and what you are trying to achieve. Building and tearing down a database for each individual test can be very expensive and will greatly increase the length of your test run. It will work, but …

  19. How does NCrunch run tests?

    Hi, thanks for posting. NCrunch runs MSTest-based tests using an emulator that behaves very similar to VSTest, but with much higher performance. As under VSTest, the TestInitialize and TestCleanup methods are just considered to be extensions of the test method itself. They are run directly be…

  20. ncrunch cant build Xamarin.Forms 3.0

    Hi Daniel, Thanks for sharing this problem. Unfortunately, [url=https://www.ncrunch.net/support/frameworks]Xamarin in all its forms is not officially supported by NCrunch[/url]. Xamarin uses a different build system to other .NET-based projects and no investment has been made to handle its ed…