//create a new FolderConnectionProjectItem var folderLocationItem = ItemFactory.Instance.Create(@"C:\temp\mydata"); await QueuedTask.Run(() => Project.Current.AddItem(folderLocationItem as IProjectItem);
Target Platforms: Windows 10, Windows 8.1, Windows 7