Forum member

alastairs

55 posts

Posts by alastairs

  1. Multiple markers when renaming class with ReSharper

    I'm using VS2017 Professional, NCrunch 3.7.0.7, ReSharper Ultimate 2017.1.1. When I rename a class using ReSharper's rename feature, the file is renamed along with the class. Each rename results in the document being reloaded (I think) and a new set of coverage markers being added to the window. …

  2. RuntimeInformation throws when running in NCrunch

    Fantastic, thanks for the quick fix and reply!

  3. RuntimeInformation throws when running in NCrunch

    I've hit another oddity when running my tests in NCrunch which I don't see when running in the VS 2017 test runner or the dotnet CLI. When my tests execute under the NCrunch test runner, every member of `RuntimeInformation` throws a `PlatformNotSupportedException`, e.g.: [code=plain]System.Platform…

  4. Load Failure _SplitProjectReferencesByFileExistence

    Thanks for the quick response, Remco :) [quote=Remco;9933]The problem you're likely facing is that NCrunch isn't able to work with projects set to target multiple frameworks at the same time.[/quote] These projects were indeed multitargeting different frameworks, so I've just gone through the so…

  5. Load Failure _SplitProjectReferencesByFileExistence

    Seeing the age of this post, I'm surprised, but I'm hitting this error in the latest build of NCrunch v3.5, with a .NET Core library targeting .NET Standard 1.6 and .NET 4.6. In my case, this project contains code that is under test so I can't just ignore it.

  6. NCrunch 2.0 Load Failure with UNC path

    Ok, thanks Remco, and no worries. I'll downgrade to v1.48 and wait for a 2.0 beta build with the fix. Cheers Alastair

  7. NCrunch 2.0 Load Failure with UNC path

    Hi I upgraded to NCrunch 2.0 today and have come across the following load failure crunching a solution that worked fine in 1.48. From the stack trace, it looks as though a UNC path to our strong-named key is being interpreted as a relative rather than an absolute path: [quote]System.Exception…

  8. Nuget Restore Error

    Just wanted to drop a quick note to say thanks for fixing this up in the 1.39 build. It's greatly appreciated, and I'm really happy to be able to use this great tool on my laptop again!

  9. Nuget Restore Error

    That explains it then! Unix OSs treat files and directories named with a leading . as hidden files and directories, and clearly Parallels (or more likely Samba) is exposing those files and directories as hidden on the Windows share too. I'll have a poke around in my config files to see if I can fix …

  10. Nuget Restore Error

    Just had another look at this, and have submitted a fresh bug report, this time from VS2010 and a different solution. I see the same behaviour if I copy the solution directory to the Virtual Machine's hard disk. One thing the two copies (remote and local) have in common is the .nuget directory…

  11. Nuget Restore Error

    Thanks Remco. Unfortunately I'm away from this machine for a couple of days, but I should hopefully be able to do a new bug report on Sunday. I recently upgraded to NuGet 1.7, but I saw the same behaviour with 1.6.

  12. Nuget Restore Error

    Ah, I see, ok. I had thought that perhaps the syntax was wrong (I was using .nuget\*.* rather than .nuget\**.* as you suggested), but this didn't make any difference, and neither did the suggestion to use ..\solutiondir\.nuget\**.*. I'll submit a bug report as requested, and hopefully that wil…

  13. Nuget Restore Error

    I'm not sure that's a correct diagnosis: the NuGet.targets file is being included, and it's clear from the error message reported that the NuGet build targets are being run: the error is thrown from within NuGet.targets, and relates to a non-existent NuGet.exe. I re-ran "Enable NuGet Package Restor…

  14. Nuget Restore Error

    Thanks Remco. It seems to be every project file that fails to build under NCrunch, so here's one chosen at random from the current solution. The only line mentioning NuGet was: [quote]<Import Project="$(SolutionDir)\.nuget\nuget.targets" />[/quote] But as I say, the .targets file was copied s…

  15. Nuget Restore Error

    Hi Remco I'm still seeing this issue in v1.38b. My setup may be a little strange: I run VS 2010 and 11 beta inside a Windows 7 VM on Mac OS X. My code is hosted on my Mac's hard disk, so is accessed in the VM via a mapped network drive. When I enable NCrunch on a solution with NuGet Package …