Forum member

johnmwright

45 posts

Posts by johnmwright

  1. Coverage markers don't show in 1.40b

    Just FYI: I had this issue the day after 1.40b was initially released. Uninstall/reinstalled fixed it for me.

  2. No corner spinner in VS 2012 RC

    I started using Visual Studio 2012 RC with NCrunch v1.39.0.15b Having used NCrunch with VS2010, I expected there to be a corner spinner in the lower right corner along side my ReSharper status icon; however I'm not seeing it there. NCrunch is indeed running, as indicated by the per-line status…

  3. Build failure - no space before base class

    Quick update: I haven't had any signs of these issues recently, although I haven't been running the external script to update referenced .dlls. So, it appears that the ncrunch update has resolved the other issues I was seeing. I did notice an instance a few minutes ago where NCrunch said it was…

  4. links to failing line of code acts odd when methods collapsed

    When a test fixture file has mutliple methods, and the method above a failing test are collapsed, when you click the link in the NCrunch Tests window to go to the line of code that is failing, the failing line is positions just off the top of the screen. Specifically, using the test fixture code …

  5. Build failure - no space before base class

    Update: I upgraded to v1.39.0.15b, but am still seeing (similar) issues. Below is what I found. In the NCrunch Tests window, the UI project is showing as 'Build failure' with messages like these: C:\Users\jwright\AppData\Local\NCrunch\9616\99\MySolutionName\MyProjectName\Controls\Authenticat…

  6. Build failure - no space before base class

    I was saw one of the issues today and have a better idea of what's happening. Below is what I did. I submitted a bug report from within Visual Studio with the name "NCrunch code out of sync" as soon as this happened. A little more background: I have two visual studio solutions open: 1) my proj…

  7. Build failure - no space before base class

    I know the CrmAuthentication file was closed when I _noticed_ the NCrunch indicator was orange, but it's possible it was open when it actually started to break. I'll keep you posted as I discover more detail. FYI: I haven't seen the issues I originally reported for a while, even though I've been …

  8. Build failure - no space before base class

    Ok, had another issue today. Not exactly the same issue, though. In this case, NCrunch was complaining that my UI project was failing to build, with messages like this: ' Controls\SomeWizardControl.xaml.cs (34): The name 'CrmAuthentication' does not exist in the current context ' Controls\SomeCod…

  9. Build failure - no space before base class

    I hadn't noticed the Browse To Workspace menu before -- that will definitely help troubleshoot this issue the next time it occurs. This project uses TFS for source control, and the Visual Studio integration will mark all files as Read Only on the filesystem until you explicitly set them for edit,…

  10. Build failure - no space before base class

    It seems that I have once again lost the ability to reproduce this issue, as unloading/loading the projects in the solution no longer force the errors. The below answers are to the best of my recolection from when the errors were occurring. - Are there any other references from the failing proje…

  11. Build failure - no space before base class

    Just the standard encoding used by visual studio when you say "Add New" and select a C# file.

  12. Build failure - no space before base class

    I'm able to reliably reproduce the issue in my project by using the "Unload Project" menu option in solution explorer. Immediately upon unloading the project NCrunch generates the error messages I've been seeing, and reloading the project does not make them go away. As before, touching the files c…

  13. Build failure - no space before base class

    The error occurred again and I have submitted a bug report via visual studio titled "build failure - files out of sync" with the following message: NCrunch is saying "The type of namespace 'ViewModelBase' could not be found (are you missing a using directive or an assembly reference?)". The "V…

  14. NCrunch complains about constructor param count, but has wrong count

    For this specific case, the class which is failing to compile (TestFooCodeBehind) is in a different project/assembly than the EntityMapper class. Unlike the items I mentioned in the other thread, I haven't seen this one reoccur, but it does seem related. If it does happen again, I'll submit a bug …

  15. Build failure - no space before base class

    It's happened again when I added a new class to the folder with my ViewModels. Touching the files that NCrunch was complaining about allowed it to re-sync and build. If I'm able to recreate this again, is there any data in particular that would be useful to you in troubleshooting?

  16. NCrunch complains about constructor param count, but has wrong count

    Started using NCrunch on a new C# project today and saw an error: NCrunch is failing to build the module with the following error: Controls\TestFooCodeBehind.cs (81): 'MyNamespace.Common.EntityMapping.EntityMapper' does not contain a constructor that takes 2 arguments EntityMapper indeed has …

  17. Build failure - no space before base class

    I started running NCrunch on a new C# project today and had some weird behavior I wanted to pass along. Initially, NCrunch was unable to build one of the VS projects, with the message "ViewModels\SelectableField.cs (10): The type of namespace 'ViewModelBase' could not be found (are you missing …

  18. attempts to run tests in class not marked with [TestFixture]

    NCrunch is attempting to run tests in a class which is not marked as a test fixture. Specifically, I have a base class which has several methods marked with [Test], as well as a setup method marked with [SetUp] Example: public class BaseTestClass { [SetUp] public void MySetup() {} public…

  19. Tests inconsistent with Pass/Fail status

    I'm having two issues, which may be related, so I'll report them together: Issue 1: Tests fail in background mode, pass in debug/TestDriven.net. Issue 2: When stepping through a failed test and it passes, icons are left in funny state. The original issue I'm investigating is that NCrunch is rep…

  20. Issue with linking to libraries which aren't built by solution and aren't in GAC

    hmm. The forum doesn't like my use of spaces in the folder tree diagrams. If this isn't readable, let me know and I'll try a different approach.