Modifying the Task Pane App Into Content App Using Visual Studio 2012

In this article I will explain how to convert a task pane app into a content app using Visual Studio 2012. For this we must make various modifications in the application.

Let's have a look at the following steps:

  1. First go to Visual Studio 2012 RC.
     
  2. Then go to File -> Open -> Project.
     
  3. Here we will open the taskpane project. So just go to the location of your project.

    hello1.jpg
     
  4. Click on the Open button.

    hello2.jpg
     
  5. Here we have opened the project named Hello World.

    hello3.jpg
     
  6. Here under the project name just double-click on the manifest file named hello world .xml.

    hello4.jpg
     
  7. In the first line is the xsi : type attribute; in this manifest file the TaskPaneApp value has been set.

    hello5.jpg
     
  8. To change the task pane app into a content app just set the value from TaskPaneApp to ContentApp.

    hello6.jpg
     
  9. Now press F5 key or just select the start debugging under the Debug menu option.

    hello7.jpg
     
  10. The output window will appear like this.

    hello8.jpg
     
  11. In this the Contents are coming in the Excelsheet itself.

    hello9.jpg

Up Next
    Ebook Download
    View all
    Learn
    View all