How to make my office app run just by double click

154 Views Asked by At

I have created an office app and if i run it through VS2013 the task pane is getting loaded well.

But what i want is to run my xls file just by double clicking on it.

I tried by publishing the web app in IIS and publish the office app by using the published website in the IIS which generated the office AppManifest for me.

I don't know how to use those to run my xls file just by double clicking it.

What i mean is if i debug from VS2013 this is how my xls file look like with the Task pane right side. enter image description here

This TestXl belongs to my solution

If i double click the TestXl this is how my xl file look like with the error

enter image description here

what i want is i should see the same xl file in fig 1 when i double click the TestXl

1

There are 1 best solutions below

4
On

This a bit of a long shot but.... Try opening Excel first instead of using 'Start' to debug, then from your Visual Studio solution click on the Debug menu -> 'Attach to Process' and select EXCEL.EXE from the list of available processes.

then open your xls file.

I hope it will address you issue.