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