MSBuild - Build Error because of dll Fakes -


configuration : visual studio 2012 premium + update 2

hi, unittest project uses 2 fake assemblies. 1 of theses assemblies produces build error , don't know why. if take off assembly, compilation ok. error "result: unexpected exception occured (-1002 - 0xfffffc16)"

i have seen other post same error because of moles assembly. has solution fix issue ?

here 1 part of build result :

.fakes fakes\technical.sdk.fakes generate ...\workflow.unittests\fakesassemblies\technical.sdk.fakes.dll   verbosity: warning   x86: false   framework version: v4.5   target runtime version: v4.0.30319   referencefiles: 78     ...\packages\automapper.3.0.0-ci1037\lib\net40\automapper.dll     ...\packages\automapper.3.0.0-ci1037\lib\net40\automapper.net4.dll     ...\lib\directory.proxy.dll     ...\lib\platform.common.dll     ...\lib\platform.interfaces.dll     ...\bin\release\technical.entityframework.dll     ...\bin\release\technical.sdk.dll     ...\bin\release\technical.servicebus.dll     d:\371\buildtype\..\src\main\source\bin\release\microsoft.practices.prism.dll     c:\program files (x86)\microsoft visual studio 11.0\common7\ide\publicassemblies\microsoft.qualitytools.testing.fakes.dll     ...\lib\microsoft\microsoft.servicebus.dll     c:\program files (x86)\microsoft visual studio 11.0\common7\ide\publicassemblies\microsoft.visualstudio.qualitytools.unittestframework.dll     ...\lib\moq\moq.dll     c:\program files (x86)\reference assemblies\microsoft\framework\.netframework\v4.5\mscorlib.dll     ...\lib\autofixture\ploeh.autofixture.dll     c:\program files (x86)\reference assemblies\microsoft\framework\.netframework\v4.5\system.dll     c:\program files (x86)\reference assemblies\microsoft\framework\.netframework\v4.5\system.xml.dll     ...\bin\release\wfcommon.context.dll     ...\bin\release\wfcommon.datatransferobjects.dll     ...\bin\release\wfcommon.loggingexceptions.dll     ...\bin\release\wfcommon.servicebuscontract.dll     ...\bin\release\workflow.bll.dll     ...\workflow.unittests\fakesassemblies\workflow.bll.fakes.dll     ...\bin\release\workflow.businessobjects.dll     ...\bin\release\workflow.dal.dll     ...\bin\release\workflow.servercontext.dll     ...\bin\release\workflow.servicebus.dll     ...\bin\release\entityframework.dll     c:\program files (x86)\reference assemblies\microsoft\framework\.netframework\v4.5\system.configuration.dll     c:\program files (x86)\reference assemblies\microsoft\framework\.netframework\v4.5\system.data.dll     c:\program files (x86)\reference assemblies\microsoft\framework\.netframework\v4.5\system.core.dll     c:\program files (x86)\reference assemblies\microsoft\framework\.netframework\v4.5\system.data.entity.dll     c:\program files (x86)\reference assemblies\microsoft\framework\.netframework\v4.5\system.web.dll     c:\program files (x86)\reference assemblies\microsoft\framework\.netframework\v4.5\microsoft.csharp.dll     ...\bin\release\sdk.dll     ...\bin\release\presentationcore.dll     c:\program files (x86)\reference assemblies\microsoft\framework\.netframework\v4.5\windowsbase.dll     ...\bin\release\sdk.media.dll     ...\bin\release\restsharp.dll     c:\program files (x86)\reference assemblies\microsoft\framework\.netframework\v4.5\system.runtime.serialization.dll     c:\program files (x86)\reference assemblies\microsoft\framework\.netframework\v4.5\system.xml.linq.dll     c:\program files (x86)\reference assemblies\microsoft\framework\.netframework\v4.5\system.servicemodel.dll     ...\bin\release\microsoft.practices.transientfaulthandling.core.dll     ...\bin\release\microsoft.practices.enterpriselibrary.windowsazure.transientfaulthandling.dll     ...\bin\release\...technical.util.dll     ...\bin\release\presentationframework.dll     ...\bin\release\microsoft.practices.enterpriselibrary.logging.dll     ...\bin\release\microsoft.practices.composite.dll     c:\program files (x86)\reference assemblies\microsoft\framework\.netframework\v4.5\system.drawing.dll     ...\bin\release\eftracingprovider.dll     ...\bin\release\efproviderwrappertoolkit.dll     c:\program files (x86)\reference assemblies\microsoft\framework\.netframework\v4.5\system.windows.forms.dll     c:\program files (x86)\reference  ... assemblies\microsoft\framework\.netframework\v4.5\system.enterpriseservices.dll     ...\bin\release\microsoft.practices.unity.dll   framework assembly path: c:\program files (x86)\microsoft visual studio 11.0\common7\ide\publicassemblies   output path: ...\workflow.unittests\fakesassemblies   intermediate path: ...\workflow.unittests\obj\release\fakes    fakes: 2 (2 .fakes files)     fakes\workflow.bll.fakes     fakes\technical.sdk.fakes   fakes tool: c:\program files (x86)\msbuild\microsoft\visualstudio\v11.0\fakes\fakes.x86.exe   result: unexpected exception occured (-1002 - 0xfffffc16)   fakes assemblies:     ...\workflow.unittests\fakesassemblies\workflow.bll.fakes.dll     ...\workflow.unittests\fakesassemblies\workflow.bll.fakes.fakesconfig done building project "...\workflow.unittests\workflow.unittests.csproj" (default targets) -- failed. 

thanks.

this indicates problem fakes code generator not prepared handle gracefully. troubleshoot it, increase logging verbosity setting verbosity="noisy" in fakes element of .fakes files. make fakes code generator write lot more information msbuild log and, hopefully, identify problem. make sure msbuild log verbosity set detailed or diagnostic level in visual studio options or command line because fakes not write diagnostics information msbuild log @ lower verbosity levels.

if can narrow problem small repro project, encourage submit @ http://connect.microsoft.com/visualstudio.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -