Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
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?
31 Mar 2015 22:54 UTC
-
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…
31 Mar 2015 21:59 UTC
-
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.
31 Mar 2015 08:39 UTC
-
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…
30 Mar 2015 23:00 UTC
-
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…
30 Mar 2015 22:28 UTC
-
xUnit Collection Fixtures
Hi, can you share any sample code that can reproduce this issue? Cheers, Remco
27 Mar 2015 22:42 UTC
-
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?
27 Mar 2015 22:42 UTC
-
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 …
27 Mar 2015 22:35 UTC
-
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?
27 Mar 2015 22:30 UTC
-
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…
27 Mar 2015 22:30 UTC
-
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…
27 Mar 2015 22:25 UTC
-
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. …
27 Mar 2015 11:09 UTC
-
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 …
26 Mar 2015 22:46 UTC
-
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 …
26 Mar 2015 22:32 UTC
-
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…
26 Mar 2015 22:30 UTC
-
"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…
26 Mar 2015 22:27 UTC
-
"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…
26 Mar 2015 11:38 UTC
-
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 …
24 Mar 2015 21:44 UTC
-
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…
23 Mar 2015 23:03 UTC
-
Problem with Fakes
Great! It's interesting that MSTest didn't complain about this. I'm glad all is working well now :)
23 Mar 2015 22:52 UTC