Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Build failure after activating Code Analysis
Noffls
#1 Posted : Thursday, August 18, 2011 3:04:58 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 8/18/2011(UTC)
Posts: 2

Was thanked: 1 time(s) in 1 post(s)
Hi,

NCrunsh is a really cool tool; unfortunately i've get an Build Failure after activating the Code Analysis Feature of Visual Studio.
Here is the Log from the NCrunch Processing Queue Window:

Code:

[16:53:31.8262-BuildTask-49] Error 'Compilation': my.testproject: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\CodeAnalysis\Microsoft.CodeAnalysis.targets (129): The "CodeAnalysis" task failed unexpectedly.
System.Exception: Innerload: Cannot load assembly: FxCopTask.resources, Version=10.0.0.0, Culture=de-DE, PublicKeyToken=b03f5f7f11d50a3a, checked paths: 
C:\Users\Stefan\AppData\Local\NCrunch\7428\11\FxCopTask.resources.dll
C:\Users\Stefan\AppData\Local\NCrunch\7428\11\FxCopTask.resources.exe
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Remco Software\NCrunch for Visual Studio 2010\FxCopTask.resources.dll
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Remco Software\NCrunch for Visual Studio 2010\FxCopTask.resources.exe

   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   at Microsoft.Build.Utilities.TaskLoggingHelper.FormatResourceString(String resourceName, Object[] args)
   at Microsoft.Build.Tasks.CodeAnalysis.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)


I'm using Visual Studio 2010 Premium (EN) on Windows 7 Ultimate 64-Bit (GERMAN). The NCrunch Version is 1.32.0.0b.

Stefan
Remco
#2 Posted : Thursday, August 18, 2011 9:18:32 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,636

Thanks: 873 times
Was thanked: 1184 time(s) in 1104 post(s)
Hi Stefan,

Thanks for reporting this - it definitely looks like a defect. Would you be able to punch it through the bug report tool using the option in the NCrunch menu? The bug reporter submits a log file of recent failures and this should help me to get more information about what is failing under the hood.


Cheers,

Remco
Noffls
#3 Posted : Friday, August 19, 2011 6:02:54 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 8/18/2011(UTC)
Posts: 2

Was thanked: 1 time(s) in 1 post(s)
Done
1 user thanked Noffls for this useful post.
Remco on 8/19/2011(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.024 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download