visual-studio-2010-beta-1

How to get work items associated with a changeset id using tfs api?

谁说我不能喝 提交于 2020-01-02 19:11:07
问题 Hi I need to get a list of work items that are associated with selected changesets programmatically. So far I have been able to get the changesets associated with a work item ID using the concept of Artifacts, as well as got the changesets and/or workitems associated with a particular build using : InformationNodeConverters.GetAssociatedChangesets() and InformationNodeConverters.GetAssociatedWorkItems() respectively. I am using VSTS 2010 beta 1. Anyone know the solution? 回答1: Try this:

e.data.GetData is always null

情到浓时终转凉″ 提交于 2019-12-24 00:25:00
问题 I am working with Visual Studio 2010, developing an Extension I need to drag and drop from a WPF TreeView in a Toolwindow onto a DSL Diagram but when I call e.data.GetData I can not get a value and want to know what I am doing wrong private void OnDragDrop(object sender, DragEventArgs e) { if (e.Data.GetDataPresent(typeof(SqlServerTable))) { try { SqlServerTable table = (SqlServerTable)e.Data.GetData(typeof(SqlServerTable)); MessageBox.Show(table.Name); } catch (Exception ex) { MessageBox

.NET inherited (WinForms) Form - VS designer issue

馋奶兔 提交于 2019-11-27 07:40:21
问题 I have several forms in a C# application. I use Visual Studio 2010 Beta, but .NET 3.5 and C# 3. I have a base form, called FilteredQueryViewForm in the Shd namespace and I want some other forms to inherit it (because they will basically do the same stuff, but with some additions). I changed things from private to protected in the FilteredQueryViewForm class, so they're accessible from the derived forms. After this I've created a derived form and set the base class to FilteredQueryViewForm.