开发者

Convert website to webapplication (User Controls)

I'm developing a website in asp.net and now I need to convert it to a webapplication.

I created a new project with a new webapplication template and copy me files. I did a right click in the sollution and convert to webapplication and it worked fine, the vs2010 has created a design.vb files for each webform and it's good.

But, there are some webforms that uses some user controls and this user control doesn't created the declation in design.vb. I'd like to know if is there any way to fix the declat开发者_JS百科ions in webform to a my desing file to be used in code-behine ???

Thanks


You can right click on each user control and select Convert To Web Application (or something like that) individually to generate the designer files.


There is no easy way to do this through VS. You can alternatively try ReSharper's Adjust Namespace functionality.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜