开发者

Visual Studio 2010 - Any way to take a user control (.ascx file) and compile to DLL?

开发者 https://www.devze.com 2023-02-15 02:59 出处:网络
We have several user controls in VS 2010 in a web project that we\'d like to compile down to a DLL to use externally. I\'ve seen articles about how to do this in VS 2008 with the publish settings but

We have several user controls in VS 2010 in a web project that we'd like to compile down to a DLL to use externally. I've seen articles about how to do this in VS 2008 with the publish settings but VS 2010 doesn't have equivalent publish settings and it seems like nobody has开发者_JAVA技巧 a good writeup on how to compile user controls into a DLL and include that in an external project.

Anyone done this for VS 2010? We have both markup in the ascx file and code logic that needs to be compiled into a DLL.


http://devio.wordpress.com/2011/02/11/migration-asp-net-user-controls-to-a-dll-in-visual-studio-2010/

0

精彩评论

暂无评论...
验证码 换一张
取 消