开发者

Is there a User Control Library project type in VS 2010

开发者 https://www.devze.com 2022-12-11 12:32 出处:网络
I was looking for it all night, but it seems that the project type is not on vs 2010. But the main problem is, I want to make a custom control (or a user control compiled to a dll, if vs 2010 does no

I was looking for it all night, but it seems that the project type is not on vs 2010.

But the main problem is, I want to make a custom control (or a user control compiled to a dll, if vs 2010 does not have the custom control library feature). Unluckily, I was not able to find any article for 2010 but only for 2008, which is pretty much different from th开发者_运维百科e 2010 IDE.

http://msdn.microsoft.com/en-us/library/aa479318.aspx#customcontrolfromusercontrol_topic3

How will I be able to create a custom control in vs2010? Thanks in advance.


It seems there are big differences between VS2005 and VS2010 concerning ascx controls. Most of the solutions I found while researching this problem for a project I'm working on deal with VS2005 and cannot be translated to VS2010.

However, I found and described a solution on my blog (introduction, implementation) to implement User Control libraries in VS2010.


Have you tried the process listed in that article? It should still work in VS2010. I'm surprised Microsoft recommends that process, however. It's a bit of a hack. I've tried it in the past and found it unreliable.

0

精彩评论

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