We have built a custom application, for internal use, that accesses TFS.  We 
use the Microsoft libraries for this (e.g Microsoft.TeamFoundation.dll).

 

When this application is deployed to PCs that already have Team Explorer or VS 
installed, everything is fine.  When it's deployed to PCs that don't have this 
installed, it fails.

 

We include all the required DLLs, but the error we get is "Common Language 
Runtime detected and invalid program".  The error occurs on the moderately 
innocuous line:

TeamFoundationServer myServer = new 
TeamFoundationServer("ourserver.ourdomain.com");

 

Interestingly the popular TFSAdmin tool (when you drop in the required DLLs to 
the exe directory) gives the same error.

I also note that many other custom applications that access TFS (e.g. 
http://hinshelwood.com/tfsstickybuddy.aspx) also require Team Explorer or VS to 
be installed to work.

 

Clearly the DLLs are not enough and there is some magic that happens when these 
installs occur.  Anyone know what it is?  Anyone know how to make the magic 
happen?

 

Nic.

 

____________________________________
Nic Stronell
Development Team Leader
____________________________________

Next Digital
Level 8, 15 William St, Melbourne 
VIC 3000 Australia
p +61 3 8612 6817
f  +61 3 8612 6899
 <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
 <http://www.nextdigital.com/> www.nextdigital.com
____________________________________

This email and any attachments are intended only for the use of the recipient 
and may be confidential and/or legally privileged. Next Digital Group Pty Ltd 
("Next Digital") disclaims liability for any errors, omissions, viruses, loss 
and/or damage arising from using, opening or transmitting this email. If you 
are not the intended recipient you must not use, interfere with, disclose, copy 
or retain this email and you should notify the sender immediately by return 
email or by contacting Next Digital by telephone on +61 3 8612 6888.

 




OzTFS.com - to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject. View the web archives at 
http://www.mail-archive.com/[email protected]/

Powered by mailenable.com, supported by www.readify.net

Reply via email to