There are tons of great examples of creating work items using the TFS API, which is all packaged as part of the VS 2008 SDK. So, imagine I've created a simple web service that takes a few bits of information, then creates a work item.
Everything works wonderfully locally, but what if I want to deploy that web service somewhere else? Locally, I just reference:
1) Microsoft.TeamFoundation.Client
2) Microsoft.TeamFoundation.WorkItemTracking.Client
Has anyone had any luck figuring out how to deploy a library or service using these libraries on a machine that doesn't have Visual Studio or the VS SDK installed on it? Is there some sort of TFS SDK redistributable available? Probably some licensing reason for this?
BTW, if I just copy those dlls out to the web server, I get the following error:
System.InvalidProgramException: Common Language Runtime detected an invalid program.
Ick.
Thanks in advance!
EDIT: something of note, this person had the exact same problem, no resolution...
EDIT: sigh. googled/hacked for three hours, then posted this, then five minutes later found what I think is the answer. Must install Team Explorer? Verifiable?
FINAL EDIT: Yep, that's it. Install Team Explorer and away it goes...