Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Tests not discovered in net462 CPS .csproj
[quote=jnm236;9938] One of my test projects is now working properly with NCrunch. The only weird thing with this project is that it gives this warning, even though .NET Core is not in the picture: [quote]The dotnet package restore command timed out: "C:\Program Files\dotnet\dotnet.exe" restore "…
11 Mar 2017 21:42 UTC
-
Error occurred while analysing project
[quote=cbondeson;9939]Do I need to install all of these MSIs?[/quote] Only install the one(s) relevant to you. My expectation is that you'll probably only want the VS2017 MSI. I always provide a full set of installers with every build in case people are using multiple components and want to k…
11 Mar 2017 21:39 UTC
-
Tests not discovered in net462 CPS .csproj
Thanks for sharing this problem. I've managed to reproduce it using your code sample above. I've included a targeted fix for this problem in the build below. Would you be interested in giving it a try? [url=http://downloads.ncrunch.net/NCrunch_Console_3.6.0.1.msi]http://downloads.ncrunch.net…
11 Mar 2017 06:13 UTC
-
Error occurred while analysing project
Thanks! There are two problems I've identified using the sample you've submitted. The first problem (that you've described above) appears when NCrunch tries to construct an environment to discover NUnit tests in the NetStandard assembly. As described earlier, NCrunch can't actually build a test…
11 Mar 2017 06:12 UTC
-
VS2017 Version 3.5.0.1 Microsoft.CSharp.Core.Targets
Thanks for this extra information. This must be something related to the setup of your environment. Do you have multiple versions of VS2017 installed? Can you confirm that you're using the latest update of VS2017? Something else that could be revealing. Under the NCrunch Tests Window, right…
10 Mar 2017 23:47 UTC
-
Load Failure _SplitProjectReferencesByFileExistence
Hi, The _SplitProjectReferencesByFileExistence problem appears when the build system doesn't contain the expected targets, which can happen if NCrunch doesn't properly recognise the target platform of the project being built. These problems have always been solved with functional fixes, so I gue…
10 Mar 2017 22:48 UTC
-
3.5.1 installer installs only in one VS 2017 Instance
[quote=Der-Albert.com;9926]I think with VS2017 and the New Installer it will be more often that es User has several Versions Side-By-Side. Because of the posbillities to also install Previews https://www.visualstudio.com/vs/preview/ [/quote] This is a good reason that I hadn't considered befor…
10 Mar 2017 11:01 UTC
-
build failed on Resharper Change Signature function
[quote=alberd_m;9924]Hi, Thanks for answer. Yes I think it's happens every time. I'm not sure exactly for the exact pattern but I can begin with that. -> Have a class with an interface and one implementation of that. -> User resharper «change signature» feature to add parameter to a fun…
10 Mar 2017 06:21 UTC
-
Error occurred while analysing project
[quote=cbondeson;9918]Yes I think I can pair it down to the most basic. How would you like me to send it to you?[/quote] Yes!! Thanks! Can you submit it through the [url=https://www.ncrunch.net/support/contact]contact form[/url]?
10 Mar 2017 03:35 UTC
-
build failed on Resharper Change Signature function
Hi, thanks for sharing this problem. Can you confirm that this happens each and every time you choose this particular refactoring? Is there a pattern around how these dependencies work across assemblies? NCrunch has a history of desync problems when certain refactoring changes are made (such as…
10 Mar 2017 03:34 UTC
-
VS2017 Version 3.5.0.1 Microsoft.CSharp.Core.Targets
Hi, thanks for sharing this problem. I'll need to some more information to try and understand what is happening here. Do you receive this for all projects on your machine? If you set up a new dummy empty project, does it happen? Is this for .NET Core projects, or standard .NET projects, or…
10 Mar 2017 03:26 UTC
-
Error occurred while analysing project
Is there any chance you can reproduce the problem using a test project that you can share with me? If I can get the problem to happen in my own environment, I may be able to extract more information from the process before it dies.
09 Mar 2017 21:35 UTC
-
VS2017 multi-target project issue
Hi, thanks for sharing this problem. Right now there is a problem with targeting multiple frameworks simultaneously using NCrunch. I'm assessing ways in which this can be solved, but it appears to be a rather complex thing. It may be a few weeks before I have a solution to this. For the time…
09 Mar 2017 21:22 UTC
-
Error occurred while analysing project
[quote=cbondeson;9913]The test project is a dotnetcore DLL, the project I am trying to test is a dotnetstandard DLL. Is there a way to configure NCrunch to work with this kind of project structure? The reference project will be packaged and used as a nuget package and I would like to keep it a dotne…
09 Mar 2017 21:15 UTC
-
Error occurred while analysing project
Hi, thanks for sharing this problem. To use this project with NCrunch, you'll need to either retarget it to netcoreapp or disable the NUnit integration with it by turning this off in your NCrunch project-level settings. NCrunch cannot construct a test environment for a netstandard project beca…
09 Mar 2017 20:49 UTC
-
Build failure in VS2017
Sorry, I wish I had an easy way to figure out what was happening here :( Somewhere there must be logic telling the build system where to find these files. Please do let me know if you manage to isolate this problem.
09 Mar 2017 10:09 UTC
-
.NET Core support for NCrunch (first public build)
Ok, I've figured out the System.Diagnostics.TraceSource resolution issue. This is happening because the unit test project is set to target netstandard, rather than netcoreapp. When projects are built for netstandard, they are platform-independent and do not have the .deps bindings for platform…
09 Mar 2017 00:45 UTC
-
3.5.1 installer installs only in one VS 2017 Instance
Hi Albert, This is correct. I've yet to find a way to produce an MSI that can target multiple install locations dynamically. I had expected multiple installations of VS2017 to be quite a rare edge case :) It is still possible to install to multiple IDEs, but you'll need to do a manual instal…
08 Mar 2017 23:19 UTC
-
Build failure in VS2017
Hi, thanks for sharing this problem. VS2017 introduced a complex change to MSBuild dependency resolution under which the references are no longer stored in the GAC. This means they can only be loaded from known locations. The IDE works around this problem through a series of binding redirection…
08 Mar 2017 23:17 UTC
-
.NET Core support for NCrunch (first public build)
For NCrunch.Framework, you'll need to use the NCrunch.Framework.DotNetCore.dll that's sitting in the NCrunch installation directory (under VS extensions/RemcoSoftware). This will be published through the NCrunch NuGet package when I find a clean way to do this :)
08 Mar 2017 23:06 UTC