Using assembly with TFS2010 for projects using assembly of malls does not work with -1002 because it cannot resolve the link

After long games, I managed to get TFS to be able to run builds on all my projects except for test projects. They have a mole in them.

The errors I get

C: \ Program Files \ Microsoft Moles \ bin \ Microsoft.Moles.targets (79):
Command "C: \ Program Files \ Microsoft Moles \ bin \ moles.exe"
@ "C: \ Builds \ 2 \ CV2 \ DevBranchBuild \ Sources \ CV.BL.Tests \ Obj \ Release \ Moles \ moles.args ""
with the code -1002.

Warning

C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Microsoft.Common.targets (1360):
This link could not be resolved .
Could not find assembly "CV.DAL.Moles, Version = 1.0.0.0, Culture = neutral, processorArchitecture = MSIL".
Make sure the assembly exists on disk.
If this link is required for your code, you may get compilation errors.

CV.DAL is the assembly on which I urinate.

I am using the latest version of pex and moles.

I also have a file CV.DAL.molesregistered in TFS (and not an assembly). Everything works fine on my local machine. The machine I use to build has exactly the same configuration. Exactly, I mean that one of them is 32 bits, and the other is 64 bits: o (serious supervision there).

Any ideas?

pex moles , , , .

molesAssemblies?
?
.

+3
2

- :

() 32 . cv.dal.dll . Moles.exe - , Load.RefrectionOnly - moles.exe ILONLY, 64- 64- . .

- moles.exe 32 :

corflags moles.exe/Force/32BIT +

() (, .msbuild BuildInParallel = "true", msbuild.exe /m ) unit test PreBuildEvent, msbuild. PreBuildEvent , , , , PreBuildEvent .

. ( ), *.moles.dll ( , ).

+3

All Articles