引用在打开解决方案时复制copy local = true。 [英] References With copy local = true are copied when solution is opened.
问题描述
嘿!
$
在我的解决方案中,我有一些Web项目,其中包含对copy local = true的其他项目的引用。当我打开我的解决方案或将其中一个Web项目加载到解决方案中时,所有具有copy local = true的程序集引用都将复制到Web项目
输出目录中。我希望这只会在我实际构建时发生。怎么办呢?
谢谢!
< blockquote>
嗨JoWi85,
在我身边,我可以重复你的情况,它默认运行。在我这边我做了很多设置,但它没有用,除非我设置copy local = flase。在构建之前,然后设置copy local = true。
您的项目是否太大而不会影响打开解决方案的速度。如果没有,则没有必要禁用本地复制。如果是,我认为你需要为本地复制设置flase。
这是关于你的问题的类似问题,我建议你可以参考
Sayed Ibrahim Hashimi的回复,这可能会帮助你理解。 :)
此致,
奥斯卡
>
Hey!
In my solution I have some web projects that have references to other projects with copy local = true. When I open my solution or load one of those web projects into the solution then all assembly references with copy local = true are copied to the web projects
output directory. I'd like that to only happen when I actually build. How can this be done?
Thank you!
Hi JoWi85,
In my side I could repro your situation, it is run by default. And in my side I have done many settings, but it did not work, unless I set copy local = flase. And before build, then set copy local = true.
Whether your project is too large that could impact the speed of opening a solution. If not, there is no necessary to disable copy local. If yes, I think you need to set flase for copy local.
And here is a similar issue about your issue, I suggest you could refer to Sayed Ibrahim Hashimi’s reply, which maybe help you make sense. :)
Sincerely,
Oscar
这篇关于引用在打开解决方案时复制copy local = true。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!