I\'m trying to create a new work item for TFS 2010 via the client SDK.
In the SDK you can do something like this:
WorkItem item = ...; item.Attachmen
This is not possible.
There is a nice implementation of adding a screenshot to the work item using a temporary file: http://witcustomcontrols.codeplex.com/SourceControl/changeset/view/74794#336038