Forum member
CodeAdze
29 posts
Posts by CodeAdze
-
System.Windows.Application Not Populated Under NCrunch
Inside a class library of a WPF app I am using the [h]FindRecourse()[/h] method of [h]System.Windows.Application.Current[/h] class. The code compiles and runs fine but NCrunch is reporting a NullReferenceException on this line. It would appear that System.Windows.Application isn't populated under Nc…
22 Dec 2018 06:22 UTC
-
NCrunch Builds and 'Hangs'
Hi Remco, I think I might have found what the problem is, it appears that it could be the ransomware protection inside my antivirus software which is weird as these two have been happily playing on the same box for ages now. I have turned the ransomware protection off and NCrunch appears to be bac…
09 Apr 2018 06:22 UTC
-
NCrunch Builds and 'Hangs'
Hi Remco, thanks for getting back to me, the answers to your questions are below: I only really work with one solution but testing NCrunch on some stuff I had the problem appears to be just with this one solution. I built this solution from the begining with NCrunch and it's been working fine …
09 Apr 2018 05:51 UTC
-
NCrunch Builds and 'Hangs'
Hi, I'm having a problem with NCrunch. After opening my Solution NCrunch initializes ok but the first time you make a change and NCrunch has to do a build it stops responding. I noticed that: [list][*]NCrunch shows that it builds forever (the build icon with it's orbitor never goes from the status…
08 Apr 2018 10:30 UTC
-
System.InvalidOperationException. The thread must be STA
Hi Ralf, Thanks for your help with this, yes I was using NUnit 3 which I forgot to mention in my post and your suggestion to change <STAThread> to <Apartment(ApartmentState.STA)> worked perfectly. Thanks again!
13 Mar 2016 09:58 UTC
-
System.InvalidOperationException. The thread must be STA
Hi, I have the following test fixture.[code=vb] Imports System.Windows.Controls Imports NUnit.Framework <TestFixture> Public Class SearchResultPaserTests <Test> <STAThread> Public Sub ParseMethodReturnsComboBoxItem() Dim srp As New SearchResultPaser Assert.AreEqual(GetT…
12 Mar 2016 11:51 UTC
-
NCrunch cannot compile projects with spaces in its name
Hi Remco, I just installed version 2.9 and it has sorted this problem. Thanks for your help with this.
05 Sep 2014 02:33 UTC
-
NCrunch cannot compile projects with spaces in its name
Hi Remco, No I didn't change the name of the output assemblies. To rename the projects and the files in them I just used the Rename context menu item from inside VS solution explorer.
04 Sep 2014 00:59 UTC
-
NCrunch cannot compile projects with spaces in its name
Hi Remco, I think I am facing the same issue as Ralf but Ralf's renaming solution didn't work for me. My VS solution has 6 projects in it most of which have spaces in there names and in the names of the files they contain but NCrunch is only complaining about one of the projects. I did what Ralf su…
03 Sep 2014 13:43 UTC