添加新的dll和asp.net页,而无需重新编译整个Web项目 [英] add new dlls and asp.net pages without recompiling all the whole web project

查看:366
本文介绍了添加新的dll和asp.net页,而无需重新编译整个Web项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

如何在不重新编译Web项目的情况下添加新的dll和asp.net页?
例如
在这种情况下:
项目名称空间MyProj.core
dll nel bin/引用MyProj.Core.dll

命名空间MyProj.Utils
{
公共类MyUtils
{
公共静态字符串getString()
{
返回"Hello world !!!";
}
}
}

此类在名为
的单独文件中编译 Myproj.Utils.dll

我可以将此文件包含在bin文件夹中吗?
MyNewPage.aspx.cs
使用Myproj.Utils;

命名空间Myproj.Pages
{
公共类MyNewPage:页面
{
Response.Write(MyUtils.getString());
}
}

谢谢

hi Guys,

how can i add new dlls and asp.net pages without recompiling the web project?.

For example
in this scenario:
project namespace MyProj.core
dll nel bin/references MyProj.Core.dll

namespace MyProj.Utils
{
public class MyUtils
{
public static string getString()
{
return "Hello world!!!";
}
}
}

this class compiles in a separated file called
Myproj.Utils.dll

can i include this file in bin folder and uses it like:

MyNewPage.aspx.cs
using Myproj.Utils;

namespace Myproj.Pages
{
public class MyNewPage : Page
{
Response.Write(MyUtils.getString());
}
}

thanks

推荐答案

AFAIK,如果不重新编译项目就不能引用新的dll.
但是,您可以更改aspx页面.
AFAIK, you cannot refer to new dll without recompiling your project.
You can, however, change an aspx page.


感谢您的响应,您是否看到了joomla组件的安装?尽头的光,

谢谢
Thanks for the response, had you seen the joomla component installation?, there''s not nedd to recompile nothing, surely there''s a light at the end,

thanks


这篇关于添加新的dll和asp.net页,而无需重新编译整个Web项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆