Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Test Project build just stucks
Do you have any .licx files included as items in the problematic project? If so, does removing these files make any difference in your NCrunch build? Would you be able to share the MSBuild XML being used to include them in the project?
12 Jul 2012 05:48 UTC
-
Does NCrunch require the x86 platform to be defined for a project?
NCrunch will always use the default platform that is specified in the .proj file (whether this is x86 or x64 totally depends upon how your .proj file is laid out). Look for a line in your project file that's something similar to the following: <Platform Condition=" '$(Platform)' == '' ">x64</P…
12 Jul 2012 05:44 UTC
-
Exception During Install
Is the environment you're installing into somehow access restricted? The first thing that comes to mind is if the Windows Installer package somehow failed to elevate itself. Weird. Thanks for letting me know about the 'Remco Software' documentation problem - I've just fixed it now :)
12 Jul 2012 05:40 UTC
-
Support for running Moles (Fakes in 2012)
Hi Rob, Thanks for your understanding. Right now the main issue with NCrunch is that it's an extremely integrated product, and every new integration point needs to be carefully tested, maintained and supported. Mocking frameworks in general can be challenging to integrate with NCrunch due to th…
11 Jul 2012 06:48 UTC
-
Constantly running out of disk space on my 6GB RamDrive with a 200mb solution
Are there any obvious indications around what is taking up all the space? Can you give me a rough count of the number of project workspaces that NCrunch has created on your RAM drive? (these are basically just directories with numbered names nested underneath a directory with the same name as the I…
11 Jul 2012 06:22 UTC
-
Test Project build just stucks
Ok - this means that the problem isn't caused by anything to do with the workspacing, which helps narrow things down considerably. Do you make use of any pre/post build events as part of the build for this project? If so, try turning on the run pre/post build event settings in your NCrunch proje…
11 Jul 2012 06:20 UTC
-
System.IO.FileNotFoundException : Could not load file or assembly
Hi Rob - It looks to me like this test is making assumptions about the locations of assemblies required in the sandbox application domain. There is a section of the [url=https://www.ncrunch.net/documentation/troubleshooting_test-and-runtime-related-issues]test troubleshooting guide[/url] that ex…
11 Jul 2012 06:16 UTC
-
Support for running Moles (Fakes in 2012)
Hi Rob, Thanks for posting! Right now NCrunch does not support Moles or Fakes, as both of these frameworks require a level of integration in order for them to properly operate. As Moles has been officially deprecated by Microsoft (replaced by Fakes), right now there are no plans to introduce …
11 Jul 2012 06:13 UTC
-
Test Project build just stucks
Thanks for sending through the bug report. Would you be able to try the following for me? - Wait until the build has hung, then terminate lc.exe using task manager - Click the green 'check' in the NCrunch Tests Window to show the problematic project that's just been built - Right click on th…
10 Jul 2012 06:21 UTC
-
ccrewrite (0)#0: Rewrite aborted due to metadata errors. Check output window
Nice working on identifying the indirect dependency. Most likely the code contracts rewriter was expecting the indirect dependency to exist in the same directory as the project being built, which would probably only be the case if the 'Copy referenced assemblies to workspace' setting was enabled. …
10 Jul 2012 06:15 UTC
-
Lines in unit tests given "not executed" color coding.
Hi, thanks for posting! Something that often creates much configuration when people are using NCrunch is the difference between what I like to call 'logical' test coverage and 'physical' test coverage. Logical test coverage basically describes code that could normally be expected to be execute…
10 Jul 2012 06:09 UTC
-
Debugging tests that require an external dll
Hi Kaleb, Thanks for the detailed analysis of the issue. Differing CPU architectures have a history of causing problems with test runners, as it can sometimes be difficult to establish what is the correct behaviour in setting up the test environment. The 'Use CPU architecture' configuration opt…
10 Jul 2012 06:01 UTC
-
Test Project build just stucks
Often the Processing Queue Window can give you more information about unexpected build errors and internal problems. After your build has hung/failed, do you see any information in the Processing Queue Window against the build task? Also - would you be able to submit a bug report? I may be able …
10 Jul 2012 05:28 UTC
-
Excessive shadow copies of solution assemblies
Hi Bob, Nice analysis! I'll need to look deeper into this issue to find out how NCrunch is wrecking havoc with MSTest. My gut tells me this will be quite complicated to fix, so I'm afraid it may need to be included in a future release of NCrunch (or VS??). I can suggest a possible workaround…
09 Jul 2012 02:16 UTC
-
ccrewrite (0)#0: Rewrite aborted due to metadata errors. Check output window
Hi, thanks for posting! Does the project build correctly in NCrunch if you turn off the 'Allow dynamic code contract checking' option in your NCrunch project-level configuration? What happens if you enable the 'Allow static code contract checking' option? When you built your project via the c…
09 Jul 2012 02:10 UTC
-
vbc.exe issue on build
Are you making use of any assembly-level attributes as part of your project? To a key-file or so perhaps?
09 Jul 2012 02:04 UTC
-
Test Project build just stucks
Thanks. Can you share any more details about the build failure? (i.e. error message?). Does the project make use of any additional build steps or frameworks (other than MSTest)?
09 Jul 2012 02:02 UTC
-
ReflectionOnlyAssemblyResolve error during build
Done! Thanks again.
09 Jul 2012 02:00 UTC
-
Debugging tests that require an external dll
Hi, thanks for posting! In some application domains, the GetAssemblies().Select(x => x.Location) code will cause the exception you've described to be thrown. I've updated the documentation with an adjustment to this to avoid referencing System.Reflection.Emit assemblies which often are responsib…
09 Jul 2012 01:53 UTC
-
Which Configuration doe NCrunch use for tests?
Hi, thanks for posting! You can control the build configuration used by NCrunch by adjusting the project-level NCrunch configuration option, 'Use build configuration'. NCrunch will normally use the default build configuration specified in the .proj file if you don't supply one, so normally thi…
06 Jul 2012 04:00 UTC