How to Deploy Excel AddIn created with office.js - excel

Created Excel AddIn with VSTO and office.js, not sure how to deploy to other computers.. For Normal Excel AddIn created Visual Studio Setup project, for this one tried to create WebSetup project provided by Visual Studio, but not working..
Any suggestion is welcome.

Please see https://blogs.msdn.microsoft.com/officeapps/2014/01/15/publishing-apps-for-office-and-sharepoint-to-windows-azure-websites/.
In the step where the blog talks about downloading an Azure publish profile (if you're targeting Azure), see Where is "download publish profile" in the new Azure Portal?.

Related

SharePoint Task Pane Add-In Publishing

I have developed a custom task pane add-in for SharePoint Online(Word) and got stuck in Publishing the Add-in SharePoint in a Organizational Level. I tried the following methods.
Publishing it in the App Catalog (Using Manifest.xml file).
Publishing it using the Integrated Apps using the manifest file.
Please post your thoughts about this and help me with publishing the Add-in
Thanks in advance

Deploy Office Word Add-in to office store

The office word-in contains two projects i.e the add-in that contains the manifest file and web.
On the Microsoft site there is only a step to deploy the manifest file, how do I deploy the web project? How does the manifest file reference the web project?
It sounds like from your description that you are using Visual Studio to create your Word Add-in with the standard template. Visual Studio can help you with the steps of deploying your website and updating the manifest. Here's how:
-On the Add-in Project in Visual Studio, choose Publish.
-Create a new Publishing Profile
-Deploy the Web Project
-Return to the Publish your add-in page and choose Package the add-in. It will give you an option to choose the location of the web project that you just published.
Detailed instructions can be found here: https://learn.microsoft.com/en-us/office/dev/add-ins/publish/package-your-add-in-using-visual-studio

Not able to see Add->Existing Project as Azure Web Job Option when I right click on Web project in Solution Explorer of Visual Studio 2017

When I right click on the Web Project in the Solution Explorer of Visual Studio 2017, I don't see an option 'Add Existing Project as Azure Web Job'.
I did install Nuget-packages such as Microsoft.Web.WebJobs.Publish for the web project.
I am following this link https://learn.microsoft.com/en-us/azure/app-service-web/websites-dotnet-deploy-webjobs#convertlink to enable automatic WebJobs deployment with a web project.
Ideally, I am supposed to see like this, but that highlighted option is not shown in my visual studio 2017
Click to see image for how actually visual studio should have shown me an option
I don't see an option 'Add Existing Project as Azure Web Job'.
As far as I know, Visual Studio does not support to deploy WebJobs with ASP.NET Core Web Application currently.
But this feature is available in ASP.NET Web Application.
If you can not see 'Add Existing Project as Azure Web Job' option in your ASP.NET Web Application, you can try to repair or reinstall your Visual Studio and upgrade/reinstall your Azure SDK.

Can Visual Studio Code be used to create a SharePoint Online Hosted Add-in?

I see the visual Studio Code office add-in guide.
But what about SPO hosted add-in Apps?
To create a SharePoint-Hosted App you can do the following:
Click on New Project
Under Templates -> Visual C# -> Office/SharePoint -> Apps
Select "App for SharePoint". Give a name to your app. Click on OK.
A window will open up. There you can select "SharePoint-hosted" to create a SharePoint hosted app. enter the name of the site collection where you want to deploy your app.

Publish an app for Office that is packaged as an autohosted app for SharePoint Online Portal

My aim is develop an excel application and use it on my sharepoint online 2013 portal. So I developed an excel task pane app on napa. I downloaded it for visual studio and open it on visual studio 2012. After that I changed it's project type from app for office to auto hosted app for sharepoint and I publish it, got .app file. Than I opened my sharepoint online portal app catalog site and upload my .app file to apps for sharepoint library. You can see my app(AddressCleaner) from below image.
After all of these steps I went site content and click add an app. But I can't see my app in available apps. I can't find any solution. Actually I followed this ->post
What I'm missing? Is any suggestion as to what is wrong?
Thanks
I solved my problem. I didn't understand its cause but it was solved. I downloaded my project again from napa and changed its package type in visual studio. After than i uploaded it to apps for sharepoint library in app catalog site. I installed it. Than i added my catalog site as trusted site to excel file and inserted my app. Thats all.

Resources