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

We have some custom controls in VS 2010 in a web project that we would like to compile using a DLL for external use. I saw articles on how to do this in VS 2008 with publishing settings, but VS 2010 does not have equivalent publishing options, and it seems that no one has a good record on how to compile user controls in a DLL, and include this in an external project.

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

+4
source share

Source: https://habr.com/ru/post/1342153/


All Articles