In Visual Studio 2010, stop debugging. Your site should return to its previous style. In ContosoBranding.master, find the <div> with id contosofooter. Replace the <div> with the following code which adds a class to hide this element from dialogs. (Toolbox code snippet 8.2.14) ASP.NET <div id="contosofooter" class="s4-notdlg"> Press F5 to deploy the package to your local SharePoint 2010 instance and debug the project. Note: This step shows how it is easy to quickly make and test changes using Visual Studio 2010. Again click the Add document link and now see that the footer is not part of the dialog. In Visual Studio 2010, stop debugging. Your site should return to its previous style. Task 1 – Deploy the Solution Package to SharePoint Online In this task, you will deploy the solution package to SharePoint online to confirm that it works as expected. In the Solution Explorer, right-click on the BrandingWithCustomMasterPage project and select Package to package the project. Open Internet Explorer and navigate to your SharePoint Online site. Click Site Actions and then select Site Settings. Click the Solutions link in the Galleries section to view the site collection’s solution gallery. Click on the Solutions tab in the ribbon and click the Upload Solution button.
In Visual Studio 2010, stop debugging. Your site should return to its previous style. In ContosoBranding.master, find the <div> with id contosofooter. Replace the <div> with the following code which adds a class to hide this element from dialogs. (Toolbox code snippet 8.2.14) ASP.NET <div id="contosofooter" class="s4-notdlg"> Press F5 to deploy the package to your local SharePoint 2010 instance and debug the project. Note: This step shows how it is easy to quickly make and test changes using Visual Studio 2010. Again click the Add document link and now see that the footer is not part of the dialog. In Visual Studio 2010, stop debugging. Your site should return to its previous style. Task 1 – Deploy the Solution Package to SharePoint Online In this task, you will deploy the solution package to SharePoint online to confirm that it works as expected. In the Solution Explorer, right-click on the BrandingWithCustomMasterPage project and select Package to package the project. Open Internet Explorer and navigate to your SharePoint Online site. Click Site Actions and then select Site Settings. Click the Solutions link in the Galleries section to view the site collection’s solution gallery. Click on the Solutions tab in the ribbon and click the Upload Solution button.