Hello,
I deployed a visual web part into SharePoint Online (version 16.0.0.2016) but when I run the web part. I got an error as below:
"Could not load type 'Microsoft.SharePoint.WebControls.EncodedLiteral' from assembly 'Microsoft.SharePoint, Version=16.900.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'". This web part, I have tested and it ran well on local SharePoint Foundation 2013 environment.
My question is:
1. That problem is a limitation of SharePoint Online?
2. How to fix it if it does not a limitation?
3. How to upgrade my local SharePoint to same version with SharePoint Online? (current local version is 15.0.0.0)Thanks,
HDK.