chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
Hi,
We have upgraded to TypeMock 7.0.9 recently and I need to create a new template to use TypeMock TFS2010 as shown below.
http://docs.typemock.com/isolator/Default.aspx##typemock.chm/Documentation/TFSBuild.html

My goal is to run the latest Typemock in parallel builds using the parallel build template at http://blogs.msdn.com/b/jimlamb/archive ... s2010.aspx

I have found from other forum saying TypeMock is not supporting the parallel build yet as below.

https://www.typemock.com/answers/10909/
https://www.typemock.com/answers/11200/

any news yet?

Also, I tested out Typemock.TFS2010.dll and TypeMock.dll v.7.0 in TFS 2010 that I can't find a way to generate the testresult file or a way to set the build status partially succeeded instead of success build whenever a or some unit test(s) fails.
asked by ilovegamefly (12.5k points)

6 Answers

0 votes
Hi,

Thank you for the application.

We are unfamiliar with the parallel build template that you use.
For this reason we are going need extra time to study this case.

I will update you when we make progress.
answered by alex (18k points)
0 votes
Thank you, Alex, for looking into the issue.

Can I have another question to ask? Do I need to open up a new discuss for asking another issue?

In the event viewer, I'm getting lots of exception errors repeatedly as below, there are three messages.

Exception Message: Problem with loading custom assemblies: Could not load file or assembly 'file:///C:UsersTFSSERVICEAppDataLocalTempBuildAgentTypeMock7ProfileLinker.dll' or one of its dependencies. The module was expected to contain an assembly manifest. (type Exception)


Exception Message: Problem with loading custom assemblies: Could not load file or assembly 'file:///C:UsersTFSSERVICEAppDataLocalTempBuildAgentTypeMock7MockWeaver.dll' or one of its dependencies. The module was expected to contain an assembly manifest. (type Exception)

Exception Message: Problem with loading custom assemblies: API restriction: The assembly 'file:///C:UsersTFSSERVICEAppDataLocalTempBuildAgentTypeMock7TypeMock.dll' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain. (type Exception)

Exception Message: Problem with loading custom assemblies: Could not load file or assembly 'NAnt.Core, Version=0.85.1932.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. (type Exception)

I did try to register using RegSrv32 "C:Program Files (x86)TypemockIsolatorAutoDeployProfilelinker.dll" and "-MockWeaver.dll" to register to the server and they did registered successfully.
But I can't make stopping these error message in the event viewer.

By the Typemock.dll got installed to a GAC and started to throw the error above.

Any suggestion to resolve these issues?

John.
answered by ilovegamefly (12.5k points)
0 votes
Hi,

Do you see in the event log which application throws the exceptions?
answered by ohad (35.5k points)
0 votes
hi, ohad,

I'm getting these errors from Visual Studio 2010 when I'm trying to open up the application.

TFSSERVICE is the dedicated account for TFS build.
answered by ilovegamefly (12.5k points)
0 votes
Any updates on this issue?
I have tried 7.1.16 and got the same issues still in VS2012 as well.
Please keep me in posted.

Thanks,

John.
answered by ilovegamefly (12.5k points)
0 votes
Hi John,

We hope this issue will be resolved by the end of the year, and I'll be happy to keep you posted.
answered by NofarC (4k points)
...