Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. process has no package identity

    Hi AlSki, Although you're experiencing the same symptom, this is likely to be a different problem. Would you be able to submit a bug report straight after you've been hit with this error?

  2. NCrunch failing to to detect MSTest extension attribute

    Hi, thanks for posting. NCrunch currently does not support the DataSourceAttribute this extension is derived from. Because NCrunch's support for MSTest is emulated rather than integrated, the only way to make this attribute work would be to painstakingly re-implement all its functionality (and q…

  3. Building C++/CLI project is very slow

    Great suggestion, thanks. I completely forgot about how VS would interpret it. I hope all is well now.

  4. xUnit Collection Fixtures

    Thanks, I can see this issue now. It seems to appear for me when using the framework with static analysis. Can you check whether the 'Framework utilisation type for XUnit V2+' solution-level configuration setting is set to 'DynamicAnalysis'? Also, can you confirm which versions of NCrunch and…

  5. Build Fails: Single-threaded Apartment

    Hi Ed, I did think about this afterwards and wondered if the build error was related to the warnings. It doesn't make sense to me why VS would be able to build such a project without giving a similar complaint, though I'm glad you managed to find and resolve the problem. I do also recommend u…

  6. xUnit Collection Fixtures

    Hi, can you share any sample code that can reproduce this issue? Cheers, Remco

  7. Build Fails: Single-threaded Apartment

    Hi Ed, This is a very, very old issue. To my knowledge, it only affects VS2008 and I've had no reports of this warning having any teeth. Are you using 'Warnings as errors' in your build settings?

  8. Ternary Operators

    [quote=Pjotrtje;7129]Hey, Too bad. Visual Studio code coverage tool does seem to be accurate though. [/quote] Interesting .. I do wonder how they've done that. [quote=Pjotrtje;7129] I have no clue how your algorith is. But it is not possible that when the line contains a Ternary Operators …

  9. Code coverage issue for XUnit

    Can you describe what kind of behaviour you're seeing? Is it that the coverage is showing only for one of the theory sub-tests? Also - can you confirm which version of Xunit you're running?

  10. NCrunch File Permissions

    For the 'Copy referenced assemblies to workspace' setting to have solved the problem, the file must be built from another project in your solution or be a resource associated with another project. In either case, the 'Additional files to include' wouldn't be the right solution. It may be worth l…

  11. An option to disable parallel execution by NUnit categories?

    Ralf is correct. The only way to selectively use parallel execution is by declaring attributes (at assembly, fixture or test level) to restrict test execution. This means you will need to use ExclusivelyUsesAttribute. Declaring it in your own code is an approach taken by many users as you then wo…

  12. Easy way to copy an additional file to the _ncrunchreferences folder?

    Sorry :( I've suggested the only options that I know will solve this problem. There isn't an in-between in terms of the Copy referenced assemblies behaviour - this is all controlled by MSBuild rather than NCrunch. When the setting is disabled, NCrunch just suppresses the entire set of behaviour. …

  13. Ternary Operators

    Hi Pieter, Thanks for posting! When using the ternary expression you've provided, it looks as though the compiler treats this as a single physical statement. You'll notice this if you try to set a breakpoint on the second or third line of the statement. It'll just land at the top. This …

  14. NCrunch File Permissions

    Hi, thanks for sharing this issue. This is most likely due to the file not landing in its expected place inside the NCrunch workspace. Have a look at [url=http://www.ncrunch.net/documentation/considerations-and-constraints_implicit-file-dependencies]implicit file dependencies[/url] - this gives …

  15. Easy way to copy an additional file to the _ncrunchreferences folder?

    Hi, thanks for posting! Unfortunately the 'Copy referenced assemblies to workspace' setting is intended to be the solution to this problem. The setting can't differentiate between the file you need and the files you don't, so it just copies them all as per normal build behaviour. What sort of…

  16. "Additional files to include" only relative to project file path?

    Thanks, I think I now have a better understanding of the problem you're trying to solve. The 'Additional files to include' feature wasn't intended to resolve problems such as this, so I suggest steering clear of it. The problem itself is that of an 'implicit co-location dependency' on another pr…

  17. "Additional files to include" only relative to project file path?

    Unfortunately there's no way the 'Additional files to include' feature can work with files on a different disk. This is because the feature itself works by copying the files to a location in the NCrunch workspace with an identical relative directory structure when compared to the foreground solutio…

  18. No Green Checkmark when Test Successfully Ends

    Hi Ed, Thanks for sharing this issue. When you see this happen, could you check the status of the tasks inside the Processing Queue window? Are the tasks shown here as still executing? Knowing this will help to establish whether this is a UI synchronisation issue or if there is something in …

  19. Error StackTrace is not navigatable when instrumentation is off

    [quote=Konstantin Spirin;7101] The difference is in base paths: - [b]"c:\Users\kaspir\AppData\Local\NCrunch\10692\37\"[/b] - [b]"C:\TopCoder\"[/b] <-- this is the desired path The output window could instead of highlighting the whole [u][b]C:\TopCoder\SingingEasy.cs:line 41[/b][/u] only highli…

  20. Problem with Fakes

    Great! It's interesting that MSTest didn't complain about this. I'm glad all is working well now :)