Showing posts with label visual studio. Show all posts
Showing posts with label visual studio. Show all posts

Sunday, March 27, 2011

Iterative Development Creates a Ton of Unwanted web.config Backup Files

Whenever SharePoint modifies the web.config file, it creates a backup copy with a BAK extension as shown in figure below:

image

These backup files can be helpful on the occasion a previous version of the web.config is needed. However, when you deploy SharePoint assets using MS Visual Studio for iterative development, they can accumulate a ton of unwanted files.

The following steps teach you how to run DOS command after each successful deployment will keep the web application IIS home directory much tidier.

  • Select the SharePoint node, as shown in figure below:

image

  • Type the following into the “Post-deployment Command Line” textbox:

DEL C:\inetpub\wwwroot\wss\VirtualDirectories\[WebApplicationHomeDirectory]\*.bak

Replace [WebApplicationHomeDirectory] with the actual file system directory that IIS refers to as the web application’s home directory.

  • Just below the Post-deployment Command Line, verify that the Default option is selected in the Active Deployment Configuration drop-down.

Saturday, March 12, 2011

Visual Studio 2010 Service Pack 1 is Now Available

Yes, Visual Studio 2010 Service Pack 1 has been released this week. Don’t forget to download and install – get the download from here: Microsoft Visual Studio 2010 Service Pack 1 (Installer).

Tuesday, February 22, 2011

Visual Studio Productivity Tool–Latest Update Released

Today Microsoft has released latest update to Visual Studio Productivity Tools. This update includes many improvements, if you like to know more about it, read the following blogs:

Enjoy it!!

Visual Studio is SIMPLY THE BEST!!!

Thursday, January 20, 2011

View SharePoint Content and Settings From Visual Studio 2010

One of coolest and newest features of Visual Studio 2010 is the ability to view SharePoint Content and Settings from Server Explorer.

ServerExplorer

To do this you are require to launch Visual Studio as an administrator. Locate the “Microsoft Visual Studio 2010” shortcut in the Start menu under All Programs > Microsoft Visual Studio 2010. Right click on the Microsoft Visual Studio 2010 shortcut and choose “Run as administrator” from the context menu.

Alternatively, if you just want to make Visual Studio start up with administrator privileges every time you launch it, you can change the
Microsoft Visual Studio 2010 shortcut properties to always run as administrator. To do this, right click on the Microsoft Visual Studio 2010 shortcut and choose Properties. Click the Compatibility tab and then check the “Run this program as an administrator” check box and
press OK.

VisualStudioSettings