我正在嘗試使用svcutil.exe爲服務生成代理類,但是當我使用/reference
選項來引用爲.NET 4.0構建的程序集時,出現錯誤。Svcutil.exe for .NET 4.0?
Could not load file or assembly [...] or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
所以看來我使用的是舊版本的svcutil.exe。我使用的是"C:\Program Files\Microsoft SDKs\Windows\v7.0A
這是我能找到的最新版本。有一個更新的版本,我應該使用的地方?
微軟的SDK \的Windows \ v7.0A \ BIN \ NETFX 4.0工具是正確的答案。謝謝! – Mark 2010-07-21 20:47:15
謝謝,太MEE,我非常感謝...等<3(非法評論,我知道,所有的人只是投票這件事) – 2017-03-15 15:57:52