You can workaround this issue by placing a esriRegasm.exe.config file in the same folder as esriRegasm.exe (e.g. under C:\program files\common files\arcgis\bin) with the following content <?xml version="1.0" encoding="utf-8"?><configuration><startup useLegacyV2RuntimeActivationPolicy="true"><supportedRuntime version="v2.0.50727" /><supportedRuntime version="v4.0.21006" /></startup></configuration>
I am getting an error "This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded" when targeting 4.0. I'm hoping that there is a workaround, esp after you've added support for VS2010 in Beta 2, so overlooking this seems weird.
By any chance this project targets .NET framework 4.0 (created via Visual Studio 2010 beta)?
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.