これは、私がフォローしている OpenCLの最初のチュートリアルです。
新しい OpenCL プロジェクトを作成できません。Windows 7、64 ビットの Visual Studio 2010 で新しい OpenCL プロジェクトを作成しようとすると、"Strong name validation failed. (Exception from HRESULT: 0x8013141A)"
エラーが発生します。したがって、新しいプロジェクトの作成に失敗します。
いくつかのフォーラムを読むと、 dll で何かをしなければならないと書かれています。しかし、何を言われているのかわかりません。
いくつかのアドバイスはhttp://www.lookout.net/2006/04/bypassing-strong-name-verification-for.html にあります。
sn -Vr *,36e4ce08b8ecfb17
しかし、36e4ce08b8ecfb17 には何を入力すればよいでしょうか。これはアセンブリの名前ですが、私の場合、アセンブリの名前は何ですか? 新しい OpenCL プロジェクトを作成しようとすると、最初にこの問題に直面しています。
OpenCL に固有のヒントを教えてもらえますか?
次に OK をクリックすると、次のようになります。
私が試したこと
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>sn -Vl
Microsoft (R) .NET Framework Strong Name Utility Version 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.
Assembly/Strong Name Users
===========================================
*,* All users
iisresolver,B03F5F7F11D50A3A All users
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>sn -Vr * ,B03F5F7F11D50A3
A
Microsoft (R) .NET Framework Strong Name Utility Version 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.
Failed to open registry key -- Unable to format error message 00000005
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>sn -Vr iisresolver , B03F
5F7F11D50A3A
Microsoft (R) .NET Framework Strong Name Utility Version 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.
Failed to open metadata scope on iisresolver -- The system cannot find the file
specified.
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>sn -Vr * , *
Microsoft (R) .NET Framework Strong Name Utility Version 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.
Failed to open registry key -- Unable to format error message 00000005
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>
CMDの昇格された許可を使用した後
C:\Windows\system32>sn -Vr * ,B03F5F7F11D50A3A
Microsoft (R) .NET Framework Strong Name Utility Version 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.
Verification entry added for assembly '*,B03F5F7F11D50A3A'
ここで利益が得られないので、これは疲れています:
C:\Windows\system32>sn -Vr * ,*
Microsoft (R) .NET Framework Strong Name Utility Version 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.
Verification entry added for assembly '*,*'
C:\Windows\system32>
残念ながらゲインはありません。