question

PrasadSwarna-8900 avatar image
0 Votes"
PrasadSwarna-8900 asked Jerryzy edited

We are unable to upgrade sharepoint farm solution implemented with VS 2010 to VS 2016 automatically

We tried upgrading the VS 2010 Sharepoint farm solution to VS 2015 but not asking popup to upgrade the solution automatically.
Earlier we have seen message asking to upgrade solution.
We have tried in my local machines.

I have tried changing the framwork manually to 4.5 in the csproj file and reopened the project but couldn't help.Also tried uninstalling and reinstalling the softwares couldn't help to fix the issue.
Please suggest

office-sharepoint-server-development
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

sadomovalex avatar image
0 Votes"
sadomovalex answered Jerryzy edited

may be some local issue: did you try to open original VS2010 solution in newer version of VS on different PC?

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello Sadomovalex,

Thanks for response.
We have tried in couple of local machines but facing same issue, suspecting solution may asked for upgradation earlier and we choose not to upgrade then later it is not suggesting to upgrade.

0 Votes 0 ·
Jerryzy avatar image Jerryzy PrasadSwarna-8900 ·

Hi @PrasadSwarna-8900 ,

Try to get the original solution file which never open with Visual Studio 2015 instead of the one you are using now, then it should be able to pop up and suppose you are migrate the solution from SharePoint 2010 to SharePoint 2016, then some other points needs to migrate, please refer this blog:

Custom Visual Studio Solution upgrade from SharePoint 2010 to 2016

Another point is to check if the Visual Studio have installed the Office/SharePoint development tool:

lLatest Microsoft Office Developer Tools for Visual Studio 2015

If this tool didn't install for Visual Studio 2015, then the popup also won't come up.

Thanks
Best Regards


0 Votes 0 ·
Jerryzy avatar image
0 Votes"
Jerryzy answered Jerryzy edited

Hi @PrasadSwarna-8900 ,

Please check the ".csproj" file inside the project folder, open it with NotePad, check the Visual Studio version information:

89178-snipaste-2021-04-20-10-35-03.png

Visual Studio 2015's Project ToolsVerison is 14.0, if it's the same 14.0 in your side, then the solution may have been opened with Visual Studio 2015 and upgraded before as sadomovalex's post, then no need to upgrade again.

Thanks
Best Regards



If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.