Return to site

Move visual studio to another drive

broken image

String titleSubject = (string)moveMail.Subject Īn email message that arrives with the word Test in the Subject field. change installation locations for Visual Studio select an installation location for Visual Studio files move installation files to different drives use the D. Outlook.MAPIFolder destFolder = inBox.Folders Outlook.Items items = (Outlook.Items)inBox.Items The above code assumes that you have created a folder on your hard drive called. Outlook.MAPIFolder inBox = (Outlook.MAPIFolder)this.Application.ĪctiveExplorer().Session.GetDefaultFolder Move( FileToMove, MoveLocation ) MessageBox.Show(File Moved). Example private void ThisAddIn_Startup(object sender, System.EventArgs e) For more information, see Features available by Office application and project type. If you have an external HDD then you should have created an offline installer so you can move it as a setup.

broken image
broken image

And Second, you didn’t create an offline installer. The example only moves messages that have the word Test in the Subject field.Īpplies to: The information in this topic applies to VSTO Add-in projects for Outlook. Answer (1 of 4): First you can’t because Visual Studio 2017 has many workloads (avoiding 100GB of space).

broken image

This example moves unread e-mail messages from the Inbox to a folder named Test.