本文介绍了增加C#用户控件现有的asp.net vb.net项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有写在vb.net中现有的asp.net项目。另一个人已经用C#用户控件。

I've got an existing asp.net project written in vb.net. Another person has written a user control in c#.

能否请你让我知道步骤,并称C#用户控件的vb.net应用程序?

Could you please let me know the steps for adding that C# user control to the vb.net app?

我试图将它们复制到该文件夹​​,使用添加现有项目,但它不会编译落后于所有code。

I've tried copying them to the folder and using "Add existing item", however it doesn't compile the code behind at all.

谢谢,
菲德尔

Thanks,Fidel

推荐答案

创建一个C#一个新的asp.net用户控件库项目,添加C#用户控件到该项目,比在Visual Basic项目中添加引用到库,就是这样;)

create a new asp.net user control library project with c#, add C# user control to that project, than in your visual basic project add reference to that library and that's it ;)

这篇关于增加C#用户控件现有的asp.net vb.net项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-09 05:32