.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

Extending the Web Publishing Pipeline to package database project deployed SQL file

A Visual Studio solution file may contain both database project and a web application project.  When deploying (not building) the database project, it can generate a .sql file containing the full sql file or an incremental upgrade file against a database.  This blogs walkthrough one way to package database project generated sql file ...

How to package and deploy COM component

I’ll use a walkthrough example to show how to package a web application with speech API COM component using Visual Studio 2010.  I wrote and tested the sample in Win7 x86 with IIS7.5, and packaged and manually installed to win2k3 x86 IIS6 (which only had 3.5 framework installed). 1. Create a C# 3.5 web application 2. Add COM reference...

How to package .NET assemblies

If we want to package and deploy .NET assemblies for a web application only, we can simply reference them and change their “Copy Local” property to “True”.  For example, we can do the following to package a MVC project from VS2010. Create a MVC project In its...

How to extend target file to include registry settings for web project package

Web project package and deployment targets files are written with extensibility in mind.  User can easily extend a property to include more functionalities in their package by using msbuild targets and properties.  If we check the Microsoft.Web.Publishing.targets file under “%Program Files%MSBuildMicrosoftVisualStudiov10.0Web...