How to package COM component

February 20th, 20102:53 am @ Editor

0


If we want to package and deploy COM component 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 references, change the following three assemblies “Copy Local” property value to True. System.Web.Mvc System.Web.Routing System.Web.Abstractions You can multi-select them and set the value together. Right click the project node and select “Build Deployment Package” Examine the package, you will see the above assemblies' corresponding dll files are included in the package’s bin directory.   Deploy the above package to a 4.0 site, no matter if the corresponding MVC runtime is…(read more)