使用哪种参考? [英] Which referenes being used?

查看:54
本文介绍了使用哪种参考?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我认为某些项目参考(VS.NET)没有被使用,怎么能确认这个?b / b
谢谢,

Brett

解决方案

一次删除一个,然后重新编译。如果您收到错误,请将其退回

。如果没有,请转到下一个。


-

-

真相,

James Curran

[以前的VC ++ MVP]


主页: www.noveltheory.com 工作: www.njtheater.com

博客: www.honestillusion.com 日间工作: www.partsearch.com

" Brett" ; < no@spam.com>在消息中写道

news:ud ************** @ tk2msftngp13.phx.gbl ...

如果我相信某个项目引用(VS.NET)没有被使用,如何确认


谢谢,
Brett



"布雷特" < no@spam.com>在消息中写道

news:ud ************** @ tk2msftngp13.phx.gbl ...

如果我相信某个项目引用(VS.NET)没有被使用,
如何确认?




嗨。删除引用并重新编译。如果有错误,那么_____使用了b $ b你需要把它放回去。如果编译好了,那就是

无关。


- Alan


我希望有一种更有效的方式。


将删除未使用的参考缩小整体装配尺寸?


VS.NET将添加我不一定需要的某些参考 - system.data,

system.xml。如果我知道他们不会使用
,有什么情况应该保留吗?


谢谢,

Brett

" James Curran" < JA ********* @ mvps.org>在消息中写道

news:e3 ************** @ tk2msftngp13.phx.gbl ...

删除它们,一个在一段时间,并重新编译。如果您收到错误,请将其恢复原状。如果没有,继续前进到下一个。

-
-
真相,
James Curran
[以前的VC ++ MVP]

主页: www.noveltheory.com 工作: www.njtheater.com
博客: www.honestillusion.com 日间工作: www。 partsearch.com

Brett < no@spam.com>在消息中写道
新闻:ud ************** @ tk2msftngp13.phx.gbl ...

如果我相信某些项目参考(VS. NET)没有被使用,怎么


这可以确认吗?

谢谢,
Brett




If I believe certain project references (VS.NET) aren''t being used, how can
this be confirmed?

Thanks,
Brett

解决方案

Remove them, one at a time, and recompile. If you get an error, put it
back. If not, move on to the next.

--
--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com

"Brett" <no@spam.com> wrote in message
news:ud**************@tk2msftngp13.phx.gbl...

If I believe certain project references (VS.NET) aren''t being used, how can this be confirmed?

Thanks,
Brett



"Brett" <no@spam.com> wrote in message
news:ud**************@tk2msftngp13.phx.gbl...

If I believe certain project references (VS.NET) aren''t being used, how
can this be confirmed?



Hi. Delete the reference and recompile. If there are errors, it _was_ being
used and you need to put it back in. If it compiles OK, then it was
extraneous.

-- Alan


I was hoping there was a more efficient way.

Will removing the unused reference shrink the overall assembly size?

VS.NET will add certain references I don''t always need - system.data,
system.xml. Are there any cases these should remain if I know they will not
be used?

Thanks,
Brett
"James Curran" <ja*********@mvps.org> wrote in message
news:e3**************@tk2msftngp13.phx.gbl...

Remove them, one at a time, and recompile. If you get an error, put it
back. If not, move on to the next.

--
--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com

"Brett" <no@spam.com> wrote in message
news:ud**************@tk2msftngp13.phx.gbl...

If I believe certain project references (VS.NET) aren''t being used, how


can

this be confirmed?

Thanks,
Brett




这篇关于使用哪种参考?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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