Forum member

BrianAdams

8 posts

Posts by BrianAdams

  1. ASP.Net Core 3 ContentRoot?

    Ahh, I didn't know about the GetAllAssemblyLocations method, brilliant! FWIW, it's not the new version of NCrunch that made this start happening. I can run a different branch of the same solution that hasn't been upgraded to Asp.NET Core 3.1 and it works fine. The solution is a bit odd in tha…

  2. ASP.Net Core 3 ContentRoot?

    I am using Microsoft.AspNetCore.Mvc.Testing but no, unfortunately, that doesn't work for me. The structure I'm getting now is this: AppData\Local\NCrunch\47380\82\WEBPROJECT AppData\Local\NCrunch\47380\83\TESTPROJECT Notice WEBPROJECT is under subfolder named 82 while TESTPROJECT is under 83…

  3. ASP.Net Core 3 ContentRoot?

    I have a test project that uses the ASP.NET Core TestServer to host the web project for testing. I've recently upgraded from Asp.NET Core 2.2 targeting net48 to an Asp.NET 3.1 targeting netcoreapp3.1. Previously, NCrunch would copy both the Web Project and the Test project folders into the temp lo…

  4. Couldn't find 'project.json'

    I'm using NCrunch 2.23.0.2 and I have a ASP.NET Core project using DNX version 1.0.0-rc1-update2. I'm getting the following error with all projects. When I open the build folder in AppData the only file in that folder is a .xproj file. Couldn't find 'project.json' in 'C:\Users\<UserName>\AppD…

  5. Not loading debug symbols

    It's definitely intermittent. It seems to correspond with the lack of a popup window. When the Window is popping up fairly regularly then everything works, but when the window stops debug symbols fail to load. But, this is all anecdotal since I can't test that scenario. I let NCrunch run continu…

  6. Not loading debug symbols

    Ok, I put together an example WebAPI project with EF that was a simpler version of a similarly architected project as our production product. I couldn't reproduce it. I then loaded our product and everything was working fine, async and non-async tests. So, it being the weekend, I naturally starte…

  7. Not loading debug symbols

    1: I'll work on this for you. Unfortunately I can't give you the project I'm working on that fails. It's hundreds of thousands of lines and thousands of files big... The trivial example project I created to try to reproduce failed to reproduce the issue. I'll need to put together something a bit…

  8. Not loading debug symbols

    When debugging a MSTest test, if that test is async, then I always get "does not exist in the current context." when watching local variables. I also get the same thing when debugging non async tests about 50% of the time. When debugging non async tests and I get that, rebooting will often times h…