TFS: “Could not load type ' ' from assembly” - but only shows sometimes

主宰稳场 提交于 2019-12-11 06:15:59

问题


In my solution, I run my unit tests and they all pass. When I then commit via TFS then sometimes the following shows in the TFS build step regarding one of the projects:

Could not load type 'Castle.Proxies.HttpContextProxy' from assembly
'DynamicProxyGenAssembly2, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=xxx'

Why is the error only showing sometimes?

I've checked all the Assembly Names under 'Application' tab of properties in VS as suggested in "Could not load type from assembly error" - also tried to clear my bin-folder, but nothing happens - still errors show occassionaly in the tfs-build steps for one of the projects unit test (which again never shows in VS17).

来源:https://stackoverflow.com/questions/56702178/tfs-could-not-load-type-from-assembly-but-only-shows-sometimes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!