I am creating a "Hello world" web part in Visual Studio 2015 and deploying it on SharePoint Foundation Server. It works: I can add it from "Custom web parts" and display it on a page.
Then I'm publishing it (
Build-> Publish...-> Publish to file System) and try to add the published file to SharePoint in Office 365 following this tutorial:
Unfortunately I'm failing on step 7 - Activating Web Part - receiving this error:
"Sorry, something went wrong
Error validating assembly 'VisualWebPartProject6.dll'.
There are no addidtional imports or anything like that. It is just a plain web part created in Visual Studio 2015 and a label created in designer with
label.text = "hello world" within
How can I export my web part to SharePoint in Office 365?
This is "Sandbox solution".
When im uploading(
SharePointProject1.webpart) file directly on site im getting