Forum Discussion
Unable to update .cs file with Visual Studio 2017
- AnonymousMay 22, 2018
Do you have visual studio 2015 installed on the same machine?
Can you check if your .csproj file has line below , remove the line and reload the project?
<MinimumOfficeToolsVersion>14.6</MinimumOfficeToolsVersion>
If you're still having problems opening the project, be sure Visual Studio Tools for Office are installed for Visual Studio 2017. You can install them by opening Visual Studio Installer, modifying your installation, checking "Office/SharePoint Development" and then being sure "Visual Studio Tools for Office (VSTO)" is selected under "Optional" on the right
The .cs file is in SharePoint 2016 on premise.
Do you have visual studio 2015 installed on the same machine?
Can you check if your .csproj file has line below , remove the line and reload the project?
<MinimumOfficeToolsVersion>14.6</MinimumOfficeToolsVersion>
If you're still having problems opening the project, be sure Visual Studio Tools for Office are installed for Visual Studio 2017. You can install them by opening Visual Studio Installer, modifying your installation, checking "Office/SharePoint Development" and then being sure "Visual Studio Tools for Office (VSTO)" is selected under "Optional" on the right
- js listMay 22, 2018Copper Contributor
Thanks this seemed to have worked.
Only Visual Studio 2017 is installed on the machine. And the 2017 office tools were installed. Removing <MinimumOfficeToolsVersion>14.6</MinimumOfficeToolsVersion>
allowed me to open the .cs file.
JS