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

Notification

Icon
Error

Ncrunch is asking for not needed references
melnikd
#1 Posted : Tuesday, October 20, 2015 8:09:09 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/14/2015(UTC)
Posts: 7
Location: United States of America

I am trying to build my VB.NET solution for the first time with CRUNCH and running into an issue where on one of the projects NCRUNCH complains of missing references
One of the references is another project in the same solution - adding the references does not eliminate an error and project builds without that reference fine in VS 2012
Another reference is Microsoft.ApplicationBlocks.ExceptionManagement which does not even exists in GAC on my development machine and is not used by any of the projects in the solution

Visual Studio Premium 2012 builds the solution with no problems

Thanks in advance for any inside on my problem

Remco
#2 Posted : Tuesday, October 20, 2015 9:18:30 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,144

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi, thanks for sharing this issue.

Could you share any more specific details about the errors you're receiving? I've wondering if this may be related to a separate build target running inside the project. Try setting your 'Log Verbosity' global configuration setting to 'Detailed' and examining the trace log inside the Processing Queue Window for the project failing to build. This usually contains a full build log with more detailed information about the errors.

Something also worth trying is to put the engine in compatibility mode to see if there is a setting that will solve this for you - http://www.ncrunch.net/documentation/troubleshooting_compatibility-mode.
melnikd
#3 Posted : Wednesday, October 21, 2015 6:16:56 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/14/2015(UTC)
Posts: 7
Location: United States of America

i followed your suggestions by setting the solution in compatibility mode and changing log property to "Detailed". It produced a huge file. i do not see a way to attach a document to a post so I am just coping first part. not sure how helpful it will be. Please let me know how i can provide more specific info.

[12:59:23.3028-LocalBuildTask-19] Launching task: Building BCU.Data.Repository.Symitar
[12:59:23.3028-LocalBuildTask-19] Processing task. Cloned component hash = 55235474
[12:59:23.3369-LocalBuildTask-19] Building new workspace C:\Users\USER\AppData\Local\NCrunch\5952\48 for component BCU.Data.Repository.Symitar in context of grid client (local)
[12:59:23.3369-LocalBuildTask-19] Registered usage of workspace: C:\Users\USER\AppData\Local\NCrunch\5952\48 (now 1 usages)
[12:59:23.3379-LocalBuildTask-19] Writing new workspace member C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\ConvertToCUIntegrator.vb (version 1)
[12:59:23.3741-LocalBuildTask-19] Writing new workspace member C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\My Project\Application.Designer.vb (version 1)
[12:59:23.377-LocalBuildTask-19] Writing new workspace member C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\My Project\Application.myapp (version 1)
[12:59:23.3946-LocalBuildTask-19] Writing new workspace member C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\My Project\AssemblyInfo.vb (version 1)
[12:59:23.3995-LocalBuildTask-19] Writing new workspace member C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\My Project\Resources.Designer.vb (version 1)
[12:59:23.4014-LocalBuildTask-19] Writing new workspace member C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\My Project\Settings.Designer.vb (version 1)
[12:59:23.4034-LocalBuildTask-19] Writing new workspace member C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SpecfileResponse.vb (version 1)
[12:59:23.4073-LocalBuildTask-19] Writing new workspace member C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymPull.vb (version 1)
[12:59:23.4092-LocalBuildTask-19] Writing new workspace member C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (version 1)
[12:59:23.4258-LocalBuildTask-19] Writing new workspace member C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\My Project\Settings.settings (version 1)
[12:59:23.4278-LocalBuildTask-19] Writing new workspace member C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\packages.config (version 1)
[12:59:23.4307-LocalBuildTask-19] Writing new workspace member C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\My Project\Resources.resx (version 1)
[12:59:23.4327-LocalBuildTask-19] Writing new workspace member C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\MinimumRecommendedRules.ruleset (version 1)
[12:59:23.4366-LocalBuildTask-19] Now building BCU.Data.Repository.Symitar
[12:59:23.4366-LocalBuildTask-19] Project configuration is:
[12:59:23.4375-LocalBuildTask-19] BuildPriority=1000
[12:59:23.4375-LocalBuildTask-19] RequiredCapabilities=[Capabilities:]
[12:59:23.4375-LocalBuildTask-19] IgnoredTests=nCrunch.Core.Configuration.ITestSelector[]
[12:59:23.4375-LocalBuildTask-19] HiddenWarnings=System.String[]
[12:59:23.4375-LocalBuildTask-19] ImplicitProjectDependencyPathsRelativeToSolutionDirectory=System.String[]
[12:59:23.4375-LocalBuildTask-19] FilesExcludedFromAutoBuild=nCrunch.Common.IO.FileSpec[]
[12:59:23.4375-LocalBuildTask-19] CopyReferencedAssembliesToWorkspace=False
[12:59:23.4375-LocalBuildTask-19] ConsiderInconclusiveTestsAsPassing=False
[12:59:23.4375-LocalBuildTask-19] PreloadReferencedAssemblies=True
[12:59:23.4375-LocalBuildTask-19] AllowDynamicCodeContractChecking=True
[12:59:23.4385-LocalBuildTask-19] AllowStaticCodeContractChecking=False
[12:59:23.4385-LocalBuildTask-19] AllowCodeAnalysis=False
[12:59:23.4385-LocalBuildTask-19] IgnoreThisComponentCompletely=False
[12:59:23.4385-LocalBuildTask-19] RunPreBuildEvents=True
[12:59:23.4385-LocalBuildTask-19] RunPostBuildEvents=True
[12:59:23.4385-LocalBuildTask-19] PreviouslyBuiltSuccessfully=False
[12:59:23.4385-LocalBuildTask-19] InstrumentAssembly=False
[12:59:23.4385-LocalBuildTask-19] PreventSigningOfAssembly=False
[12:59:23.4385-LocalBuildTask-19] AnalyseExecutionTimes=True
[12:59:23.4385-LocalBuildTask-19] DetectStackOverflow=True
[12:59:23.4385-LocalBuildTask-19] IncludeStaticReferencesInWorkspace=False
[12:59:23.4385-LocalBuildTask-19] DefaultTestTimeout=60000
[12:59:23.4385-LocalBuildTask-19] AdditionalFilesToInclude=System.String[]
[12:59:23.4385-LocalBuildTask-19] UseBuildConfiguration=
[12:59:23.4385-LocalBuildTask-19] UseBuildPlatform=
[12:59:23.4385-LocalBuildTask-19] ProxyProcessPath=
[12:59:23.4385-LocalBuildTask-19] UseCPUArchitecture=AutoDetect
[12:59:23.4385-LocalBuildTask-19] MSTestThreadApartmentState=STA
[12:59:23.4385-LocalBuildTask-19] BuildProcessArchitecture=x86
[12:59:23.4385-LocalBuildTask-19] ConfigFilePath=C:\TFS\Middleware\DEVELOPMENT\RFP_POC_Refactoring\Source\BCU.Data.Repository.Symitar\BCU.Data.Repository.Symitar.v2.ncrunchproject
[12:59:23.4395-LocalBuildTask-19] Found referenced assembly: C:\Users\USER\AppData\Local\NCrunch\5952\19\BCU.Common.Interfaces\bin\Debug\BCU.Common.Interfaces.dll:
[12:59:23.4395-LocalBuildTask-19] Found referenced assembly: C:\Users\USER\AppData\Local\NCrunch\5952\23\BCU.Common\bin\Debug\BCU.Common.dll:
[12:59:23.4395-LocalBuildTask-19] Found referenced assembly: C:\Users\USER\AppData\Local\NCrunch\5952\20\BCU.Constants\bin\Debug\BCU.Constants.dll:
[12:59:23.4395-LocalBuildTask-19] Found referenced assembly: C:\Users\USER\AppData\Local\NCrunch\5952\11\BCU.Data.Repository.Interfaces\bin\Debug\BCU.Data.Repository.Interfaces.dll:
[12:59:23.4395-LocalBuildTask-19] Found referenced assembly: C:\Users\USER\AppData\Local\NCrunch\5952\29\Entity\Bin\BCU.Entity.dll:
[12:59:23.4395-LocalBuildTask-19] Found referenced assembly: C:\Users\USER\AppData\Local\NCrunch\5952\39\Framework\Base\Bin\BCU.Framework.Base.dll:
[12:59:23.4395-LocalBuildTask-19] Found referenced assembly: C:\Users\USER\AppData\Local\NCrunch\5952\40\Framework\Data\Bin\BCU.Framework.Data.dll:
[12:59:23.4405-LocalBuildTask-19] Found referenced assembly: C:\Users\USER\AppData\Local\NCrunch\5952\31\Framework\Encryption\Bin\BCU.Framework.Encryption.dll:
[12:59:23.4405-LocalBuildTask-19] Found referenced assembly: C:\Users\USER\AppData\Local\NCrunch\5952\33\Framework\Exception\Bin\BCU.Framework.Exception.dll:
[12:59:23.4405-LocalBuildTask-19] Found referenced assembly: C:\Users\USER\AppData\Local\NCrunch\5952\38\Framework\Session\Bin\BCU.Framework.SessionManagment.dll:
[12:59:23.4405-LocalBuildTask-19] Found referenced assembly: C:\TFS\Middleware\DEVELOPMENT\RFP_POC_Refactoring\Source\3rdParty\CUIntegrator.dll:
[12:59:23.4405-LocalBuildTask-19] Found referenced assembly: C:\TFS\Middleware\DEVELOPMENT\RFP_POC_Refactoring\Source\packages\Unity.2.1.505.2\lib\NET35\Microsoft.Practices.Unity.dll: Private = True
[12:59:23.4405-LocalBuildTask-19] Found referenced assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Configuration.dll:
[12:59:23.4405-LocalBuildTask-19] Found referenced assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll:
[12:59:23.4405-LocalBuildTask-19] Found referenced assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll:
[12:59:23.4405-LocalBuildTask-19] Found referenced assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll:
[12:59:23.4405-LocalBuildTask-19] Found referenced assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll:
[12:59:23.4434-LocalBuildTask-19] Adjusted assembly references for this project are as follows:
[12:59:23.4434-LocalBuildTask-19] C:\Users\USER\AppData\Local\NCrunch\5952\19\BCU.Common.Interfaces\bin\Debug\BCU.Common.Interfaces.dll
[12:59:23.4434-LocalBuildTask-19] C:\Users\USER\AppData\Local\NCrunch\5952\23\BCU.Common\bin\Debug\BCU.Common.dll
[12:59:23.4434-LocalBuildTask-19] C:\Users\USER\AppData\Local\NCrunch\5952\20\BCU.Constants\bin\Debug\BCU.Constants.dll
[12:59:23.4434-LocalBuildTask-19] C:\Users\USER\AppData\Local\NCrunch\5952\11\BCU.Data.Repository.Interfaces\bin\Debug\BCU.Data.Repository.Interfaces.dll
[12:59:23.4434-LocalBuildTask-19] C:\Users\USER\AppData\Local\NCrunch\5952\29\Entity\Bin\BCU.Entity.dll
[12:59:23.4434-LocalBuildTask-19] C:\Users\USER\AppData\Local\NCrunch\5952\39\Framework\Base\Bin\BCU.Framework.Base.dll
[12:59:23.4434-LocalBuildTask-19] C:\Users\USER\AppData\Local\NCrunch\5952\40\Framework\Data\Bin\BCU.Framework.Data.dll
[12:59:23.4434-LocalBuildTask-19] C:\Users\USER\AppData\Local\NCrunch\5952\31\Framework\Encryption\Bin\BCU.Framework.Encryption.dll
[12:59:23.4434-LocalBuildTask-19] C:\Users\USER\AppData\Local\NCrunch\5952\33\Framework\Exception\Bin\BCU.Framework.Exception.dll
[12:59:23.4434-LocalBuildTask-19] C:\Users\USER\AppData\Local\NCrunch\5952\38\Framework\Session\Bin\BCU.Framework.SessionManagment.dll
[12:59:23.4434-LocalBuildTask-19] C:\TFS\Middleware\DEVELOPMENT\RFP_POC_Refactoring\Source\3rdParty\CUIntegrator.dll
[12:59:23.4434-LocalBuildTask-19] C:\TFS\Middleware\DEVELOPMENT\RFP_POC_Refactoring\Source\packages\Unity.2.1.505.2\lib\NET35\Microsoft.Practices.Unity.dll
[12:59:23.4434-LocalBuildTask-19] C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Configuration.dll
[12:59:23.4434-LocalBuildTask-19] C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll
[12:59:23.4434-LocalBuildTask-19] C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll
[12:59:23.4434-LocalBuildTask-19] C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll
[12:59:23.4434-LocalBuildTask-19] C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll
[12:59:23.4444-LocalBuildTask-19] Returning process 4236 from pool with signature: [ProcessSignature:
Compiler
nCrunch.Compiler.RemoteBuildRunner
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Remco Software\NCrunch for Visual Studio 2012\nCrunch.build.4.0.config
x86
(local)
nCrunch.Core.ProcessManagement.DefaultProcessLoader
Framework4_0

]
[12:59:24.67-LocalBuildTask-19] Process c0b689f2663b406aad435cf441be2668 with system Id 4236 has 64188416 bytes in use, checking against a configured memory limit of 125000000
[12:59:24.671-LocalBuildTask-19] Storing process 4236 in pool
[12:59:24.671-LocalBuildTask-19] ERROR (Build): BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (21): Reference required to assembly 'BCU.Framework.Security, Version=2.0.0.70, Culture=neutral, PublicKeyToken=null' containing the implemented interface 'ICMVisitor'. Add one to your project.

[12:59:24.672-LocalBuildTask-19] Publishing Event: [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (21): Reference required to assembly 'BCU.Framework.Security, Version=2.0.0.70, Culture=neutral, PublicKeyToken=null' containing the implemented interface 'ICMVisitor'. Add one to your project.
Details:
]]
[12:59:24.672-LocalBuildTask-19] Event [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (21): Reference required to assembly 'BCU.Framework.Security, Version=2.0.0.70, Culture=neutral, PublicKeyToken=null' containing the implemented interface 'ICMVisitor'. Add one to your project.
Details:
]] is being published on thread CoreThread to subscriber: ErrorHandler.
[12:59:24.672-LocalBuildTask-19] Event [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (21): Reference required to assembly 'BCU.Framework.Security, Version=2.0.0.70, Culture=neutral, PublicKeyToken=null' containing the implemented interface 'ICMVisitor'. Add one to your project.
Details:
]] is being published on thread UIThread to subscriber: SharedEventPump.
[12:59:24.672-LocalBuildTask-19] ERROR (Build): BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (28): Reference required to assembly 'BCU.Framework.Security, Version=2.0.0.70, Culture=neutral, PublicKeyToken=null' containing the implemented interface 'ICMVisitor'. Add one to your project.

[12:59:24.672-LocalBuildTask-19] Publishing Event: [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (28): Reference required to assembly 'BCU.Framework.Security, Version=2.0.0.70, Culture=neutral, PublicKeyToken=null' containing the implemented interface 'ICMVisitor'. Add one to your project.
Details:
]]
[12:59:24.672-LocalBuildTask-19] Event [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (28): Reference required to assembly 'BCU.Framework.Security, Version=2.0.0.70, Culture=neutral, PublicKeyToken=null' containing the implemented interface 'ICMVisitor'. Add one to your project.
Details:
]] is being published on thread CoreThread to subscriber: ErrorHandler.
[12:59:24.672-LocalBuildTask-19] Event [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (28): Reference required to assembly 'BCU.Framework.Security, Version=2.0.0.70, Culture=neutral, PublicKeyToken=null' containing the implemented interface 'ICMVisitor'. Add one to your project.
Details:
]] is being published on thread UIThread to subscriber: SharedEventPump.
[12:59:24.672-LocalBuildTask-19] ERROR (Build): BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (48): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.

[12:59:24.672-LocalBuildTask-19] Publishing Event: [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (48): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]]
[12:59:24.672-LocalBuildTask-19] Event [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (48): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]] is being published on thread CoreThread to subscriber: ErrorHandler.
[12:59:24.672-LocalBuildTask-19] Event [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (48): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]] is being published on thread UIThread to subscriber: SharedEventPump.
[12:59:24.672-LocalBuildTask-19] ERROR (Build): BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (67): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.

[12:59:24.672-LocalBuildTask-19] Publishing Event: [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (67): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]]
[12:59:24.672-LocalBuildTask-19] Event [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (67): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]] is being published on thread CoreThread to subscriber: ErrorHandler.
[12:59:24.672-LocalBuildTask-19] Event [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (67): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]] is being published on thread UIThread to subscriber: SharedEventPump.
[12:59:24.672-LocalBuildTask-19] ERROR (Build): BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (81): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.

[12:59:24.672-LocalBuildTask-19] Publishing Event: [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (81): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]]
[12:59:24.672-LocalBuildTask-19] Event [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (81): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]] is being published on thread CoreThread to subscriber: ErrorHandler.
[12:59:24.672-LocalBuildTask-19] Event [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (81): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]] is being published on thread UIThread to subscriber: SharedEventPump.
[12:59:24.672-LocalBuildTask-19] ERROR (Build): BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (95): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.

[12:59:24.672-LocalBuildTask-19] Publishing Event: [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (95): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]]
[12:59:24.672-LocalBuildTask-19] Event [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (95): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]] is being published on thread CoreThread to subscriber: ErrorHandler.
[12:59:24.6729-LocalBuildTask-19] Event [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (95): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]] is being published on thread UIThread to subscriber: SharedEventPump.
[12:59:24.6729-LocalBuildTask-19] ERROR (Build): BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (109): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.

[12:59:24.6729-LocalBuildTask-19] Publishing Event: [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (109): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]]
[12:59:24.6729-LocalBuildTask-19] Event [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (109): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]] is being published on thread CoreThread to subscriber: ErrorHandler.
[12:59:24.6729-LocalBuildTask-19] Event [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (109): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]] is being published on thread UIThread to subscriber: SharedEventPump.
[12:59:24.6729-LocalBuildTask-19] ERROR (Build): BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (123): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.

[12:59:24.6729-LocalBuildTask-19] Publishing Event: [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (123): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]]
[12:59:24.6729-LocalBuildTask-19] Event [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (123): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]] is being published on thread CoreThread to subscriber: ErrorHandler.
[12:59:24.6729-LocalBuildTask-19] Event [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (123): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]] is being published on thread UIThread to subscriber: SharedEventPump.
[12:59:24.6729-LocalBuildTask-19] ERROR (Build): BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (592): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.

[12:59:24.6729-LocalBuildTask-19] Publishing Event: [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (592): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]]
[12:59:24.6729-LocalBuildTask-19] Event [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (592): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]] is being published on thread CoreThread to subscriber: ErrorHandler.
[12:59:24.6729-LocalBuildTask-19] Event [ErrorEvent:[Error:
Context: (global)
Category: Build
Message: BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (592): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Details:
]] is being published on thread UIThread to subscriber: SharedEventPump.
[12:59:24.6729-LocalBuildTask-19] ERROR (Build): BCU.Data.Repository.Symitar: C:\Users\USER\AppData\Local\NCrunch\5952\48\BCU.Data.Repository.Symitar\SymitarRepository.vb (592): Reference required to assembly 'Microsoft.ApplicationBlocks.ExceptionManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the base class 'Microsoft.ApplicationBlocks.ExceptionManagement.BaseApplicationException'. Add one to your project.
Remco
#4 Posted : Wednesday, October 21, 2015 10:11:21 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,144

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Thanks. Is there any chance you could submit the entire log through the contact form? You can zip it up and attach it if the file is very large.

Something else worth trying is to troubleshooting the project file NCrunch has generated for this project in its workspace.

Try the following:

1. Right click on the failed build inside the Tests Window
2. Go to Advanced->Browse to workspace
3. Find the generated .vbproj file in the workspace
4. Open up the file, take a look a it. Note that NCrunch will have adjusted the project references and replaced them with assembly references
5. Open a command prompt next to the file. Try running MSBuild.exe against the file
6. Take note of any errors. Do you see the same results as when NCrunch builds the project?

Note that you can freely change the generated file in the workspace and re-run MSBuild as necessary to troubleshoot the build and work out which dependency is causing the problem. When you're done, you can just reset the NCrunch engine and it will clear/rebuild the workspace.
melnikd
#5 Posted : Sunday, October 25, 2015 6:38:45 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/14/2015(UTC)
Posts: 7
Location: United States of America

I believe I figured out a problem.

Following your suggestion i tried executing a build directly through msbuild.exe and realized that it is using VS 2015 MSBuild instead of 2012 and failing with the same errors as NCrunch build.
Pulling up the project in Visual Studio 2015 showed me all of the same errors. I think it is possible that NCrunch build the solution using 2015 msbuild even thought the solution is 2012. Correct me if i am wrong of course, but getting the solution work in 2015 and running NCrunch worked and build all of the projects

Thanks !!!!
Remco
#6 Posted : Sunday, October 25, 2015 8:41:14 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,144

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Thanks for sharing the solution to this. What you've described is not actually the intended behaviour in NCrunch. NCrunch will always use the version of MSBuild that ships with the version of VS currently loaded. However, it does this via the MSBuild API, and I have noticed that the VS2015 release seemed to rewire a few things in MSBuild itself. If VS2015 has implicitly redirected the VS2012 version of MSBuild into VS2015, there likely won't be much NCrunch can do to force the correct version.

When running msbuild.exe against the project, did you use the one from VS2012 or the one from VS2015?
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.265 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download