Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. VS2017 Custom.After.Microsoft.Common.targets was not found

    Try the following: 1. Browse to the following directory: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\v15.0\ 2. Create a file in this directory with the name: Custom.After.Microsoft.Common.targets 3. Inside this file, add the following: <Project xmlns="(- BROKEN LIN…

  2. VS2017 Custom.After.Microsoft.Common.targets was not found

    Hi, thanks for sharing this problem. Can you confirm that you're using the latest version of VS2017? Do you experience this for all projects on your system? Or just a specific solution? (i.e. if you create a dummy project out of one of the default VS templates and try to build it, does this w…

  3. VS2017 multi-target project issue

    A fix for this is now [url=https://www.ncrunch.net/download]out with v3.6[/url].

  4. Load Failure _SplitProjectReferencesByFileExistence

    A fix for this is now [url=https://www.ncrunch.net/download]out with v3.6[/url].

  5. Error occurred while analysing project

    A fix for this is now [url=https://www.ncrunch.net/download]out with v3.6[/url].

  6. RuntimeInformation throws when running in NCrunch

    A fix for this is now [url=https://www.ncrunch.net/download]out with v3.6[/url].

  7. [VS2017] When NCrunch is Enabled, NuGet packages are being uninstalled

    A fix for this is now [url=https://www.ncrunch.net/download]out with v3.6[/url].

  8. Tests not discovered in net462 CPS .csproj

    A fix for the test discovery problem under CPS projects is now [url=https://www.ncrunch.net/download]out with v3.6[/url].

  9. build failed on Resharper Change Signature function

    A fix for this is now [url=https://www.ncrunch.net/download]out with v3.6[/url].

  10. Tests not discovered in net462 CPS .csproj

    [quote=jnm236;9960]For the GAC issue, I actually don't think it's your fault. See my second comment: https://github.com/dotnet/roslyn-project-system/issues/1739#issuecomment-286236502 Somewhere in the course of fixing the GAC issue and other issues like [url=https://github.com/dotnet/roslyn-proj…

  11. VS2017 Version 3.5.0.1 Microsoft.CSharp.Core.Targets

    I've had another user report this same problem. They were running VS2017 RC, and upgrading to VS2017 RTM apparently solved the problem for them. For anyone else that hits this issue and is running VS2017 RC, try upgrading to RTM.

  12. build failed on Resharper Change Signature function

    GOT IT! The 'Unable undo' checkbox is critical in producing this problem. When ReSharper changes the source files, it does so at the same time as opening them. This by-passes NCrunch's change handler, so the in-memory change goes undetected. A fix will be in the next build. This problem…

  13. build failed on Resharper Change Signature function

    Thanks! We're getting closer here. A couple more questions: - At the time the refactoring was done, were any of the XXX source files open in Visual Studio? - Are the XXX source files and the YYY interface file sitting inside the same project?

  14. [VS2017] When NCrunch is Enabled, NuGet packages are being uninstalled

    Ok, I've managed to get this happening for me. It's because the project changes haven't been saved to disk. NCrunch accepts the in-memory changes from VS, and then uses these changes to load the project. It doesn't save the changes to disk, so 'dotnet.exe restore' doesn't have them when it wo…

  15. [VS2017] When NCrunch is Enabled, NuGet packages are being uninstalled

    Wow.. It just vanished! That's crazy. There is one thing I can think of that will do this. When NCrunch loads a project for the first time, it will run 'dotnet.exe restore' for this project. This will happen if the project is using the new CPS system (i.e. minimal .csproj template). So my…

  16. build failed on Resharper Change Signature function

    I've had a bit of a spin on this, but can't seem to make it happen in the way that you've described. There's something here that seems a bit strange for me and I'm wondering if you can share some more information about the pattern you've found. Basically, there are broadly two different types …

  17. [VS2017] When NCrunch is Enabled, NuGet packages are being uninstalled

    Hi, thanks for sharing this issue. This is .. very weird. I haven't heard a report like this before. Can you describe in detail what you're seeing when these packages uninstall? Are we talking about the references from a project to Nuget packages? Package references are usually declared i…

  18. RuntimeInformation throws when running in NCrunch

    Hi Alastair - Thanks for sharing this issue. I managed to fix this one over the weekend. The fix will be included in the v3.6 release that I'm hoping to push later this week. An early build is available below: [url=http://downloads.ncrunch.net/NCrunch_Console_3.6.0.1.msi]http://downloads.…

  19. Error occurred while analysing project

    [quote=cbondeson;9942]Thank you very much Remco that worked after I disabled the "NUnit v3+ Enabled" setting under "Test Frameworks" for my dotnetstandard reference project. When do you foresee this being placed into a full release?[/quote] Great, thanks for confirming this! I'd like to put v3…

  20. Load Failure _SplitProjectReferencesByFileExistence

    [quote=alastairs;9943] [h]It turned out the problem was that I needed to change [b]TargetFramework[i]s[/i][/b] to [b]TargetFramework[/b].[/h] It's interesting that this only causes a build error in NCrunch, and not in VS or the dotnet CLI tool. Might it be possible to catch this error and provi…