我有一个这样的项目:
测试解决方案
Project TestApplication
References: TestFunctions.dll(ver 1.0.0.0),Project TestDLL
Project TestDLL
References: TestFunctions.dll(ver 1.0.0.1)
在应用程序中,当我在其中调用 TestDLL.Methodx() 时,它会调用 TestFunctions.HelloWorld() 但它会给出 MissingMethodException 因为 TestFunctions.HelloWorld() 仅存在于 TestFunctions.dll(版本 1.0.0.1)中并且它会尝试调用版本 1.0.0.0 dll 中的函数...
如何强制它调用正确的版本?
我尝试使用“外部别名”无济于事......