0
我的自定義工具如下:爲什麼我的Visual Studio 2010自定義工具未找到?
Class: FooBar.Blah.Tools.DataContextClassGenerator
Assembly: FooBar.Blah.Tools.DataContextClassGenerator
Project: FooBar.Blah.Tools.DataContextClassGenerator
通過GeneratePkgDef設置爲true,從項目文件中啓用CreatePkgDef任務會在生成輸出以下pkgdef文件。
[$RootKey$\Generators\{FAE04EC1-301F-11D3-BF4B-00C04F79EFBC}\DataContextClassGenerator]
@="Foo Bar DataContext Class Generator"
"CLSID"="{2155fcee-7012-400b-a6b3-5d8d0e34de6c}"
"GeneratesDesignTimeSource"=dword:00000001
"GeneratesSharedDesignTimeSource"=dword:00000000
[$RootKey$\Generators\{164B10B9-B200-11D0-8C61-00A0C91E29D5}\DataContextClassGenerator]
@="Foo Bar DataContext Class Generator"
"CLSID"="{2155fcee-7012-400b-a6b3-5d8d0e34de6c}"
"GeneratesDesignTimeSource"=dword:00000001
"GeneratesSharedDesignTimeSource"=dword:00000000
[$RootKey$\CLSID\{2155fcee-7012-400b-a6b3-5d8d0e34de6c}]
@="FooBar.Blah.Tools.DataContextClassGenerator"
"InprocServer32"="$WinDir$\SYSTEM32\MSCOREE.DLL"
"Class"="FooBar.Blah.Tools.DataContextClassGenerator"
"CodeBase"="$PackageFolder$\FooBar.Blah.Tools.DataContextClassGenerator.dll"
"ThreadingModel"="Both"
當我安裝VSIX擴展時,我在10.0_Config鍵下看到相應的鍵。但是,當我將DataContextClassGenerator設置爲自定義工具時,VS2010抱怨找不到該工具。
我試圖啓用VS2010的ActivityLog並查看它,該工具在VS2010啓動時找到並加載,但它就好像它甚至沒有。
我在我的智慧結束,並會感謝任何幫助。
我已將VSIX設置爲可用於安裝到VS2010的Ultimate,Premium和Professional版本。在安裝過程中,它說它找到了最終版本,並表示它已經安裝了它,儘管我的機器上裝有VS2010 Premier版本。