Forum member

playtime222

17 posts

Posts by playtime222

  1. Enable Ncrunch disabled. Exception in the diagnostic output.

    Kicking myself here. The last thing I did before posting was clean up a lot of environment variables AND rebooted cos the system ones dont always take straight away. However... 1) I didnt even spot the trailing " only that in the editor the were was an entry with a ; in it! The 2nd part was the o…

  2. Enable Ncrunch disabled. Exception in the diagnostic output.

    I've been fighting this one for a few weeks now. From the diagnostic logs, it looks like ncrunch is trying to construct/use the path where VS Code is installed. There are several problems with attempting this but I'll start with the most relevant - that path 'C:\Users\ms1\AppData\Local\Program…

  3. Tests not showing on 4.7.2 test projects

    Didn't see the last reply. It does build all the projects, it just does not enumerate/display/run the tests on 472 builds. I'm persevering with just the build functionality and using another test runner for the piece of work I am doing right now but I expect to get to more investigation on Fr…

  4. Tests not showing on 4.7.2 test projects

    Hey Remco. My first issue that doesn't involve PostSharp ;) For your first point, yes, they all show as successfully built. Point 2 - I will check but this is the first run with default settings (I killed off all the files NCrunch adds behind the scenes and started again from scratch).

  5. Tests not showing on 4.7.2 test projects

    The solution contains 61 projects with the following characteristics: 1. .netstandard2 projects with test projects multi-targeted to .net6 and .net 472. 2. .net 6 projects with .net6 test projects 3. .net 472 WPF projects with .net 472 projects. No tests show for any of the .net472 test proj…

  6. Private support page does not work.

    That all makes sense. Just in case you missed it, the other workaround is to remove all the aspects from the solution and put them in a nuget package. You then only need the workaround for solutions with the aspects themselves and the main solution will consume the aspects just fine. VS bugs? …

  7. Private support page does not work.

    Turning off instrumentation for the whole solution also works - but then that sort of removes the second primary function of NCrunch - the code coverage dots. So the work around is working but it is not without strangeness... 1. Changing the project file contents was not immediately reflected …

  8. Private support page does not work.

    I'll try this workaround shortly (Coffee depletion as per usual). The TLDR version seems to be - get the nCrunch.TestRuntime.DotNetCore.dll file into the project build folder with a pre-build step. I did some more investigation myself last night and it conforms to what you are saying. The thin…

  9. Private support page does not work.

    No difference on or off. [This message may be a repeat - browser glitched!]

  10. Private support page does not work.

    Short version - it's a step in the right direction. Some of the projects now compile but some still do not and have the first error I saw: The custom attribute 'Positive' constructor threw the exception FileNotFoundException: Could not load file or assembly 'nCrunch.TestRuntime.DotNetCore, Versio…

  11. Private support page does not work.

    Thanks! As soon as coffee and the required increase in brain power permits :D

  12. Private support page does not work.

    I just stripped out the obj and bin folders. Bit more setup cos private nuget packages but its all there. Email me if you have any issues when you get around to taking a look. Thanks.

  13. Private support page does not work.

    Submitting the form at https://www.ncrunch.net/support/contact results in a 'could not find the page' error. It worked now I try with garbage parameters and no zip file. My zip file is approx 18Mb - could that be the issue?

  14. Project using PostSharp builds in Visual Studio but not in NCrunch.

    Works on my box with the test project I sent you previously, so we can call that done. I'll be migrating a large project shortly to .NET 5. This gives me some confidence I can move forward with that now. Thanks for the swift response.

  15. Project using PostSharp builds in Visual Studio but not in NCrunch.

    Will do.

  16. Project using PostSharp builds in Visual Studio but not in NCrunch.

    I've been keeping an eye on my two favourite tools - NCrunch and Postsharp - and how they handle .NET5 for a few months now and have regularly tried VS previews. The same issue has constantly blocked me. A .NET 5 project that uses Postsharp will happily build in Visual Studio but will not build in N…

  17. Debugger visualizers not working anymore after update to 3.22.1

    Upvote for a fix. Some details - NCrunch 3.22.0.1, .NET 4.7.2, PostSharp 6.0.35, VS 15.9.7. When a debug session is started on some tests (480 tests, 2 problems so far) from NCrunch, locals are not available in the debugger window. Running the test from VS Test Explorer does not have same issue. So,…