VS2012をインストールせずに別のマシンにWcfTestClient(VS2012に含まれているもの)を実行したいと思います。これは可能ですか?マシン上で私は.NET 4.5をインストールしているが、私はそれは私に次のスタックトレースを与えるWebサービスを追加しようとすると:WcfTestClientフォルダで別のマシンにコピーするときにWcfTestClientにサービスを追加できません
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Tools.Common.SdkPathUtility.GetRegistryValue(String registryPath, String registryValueName)
at Microsoft.Tools.Common.SdkPathUtility.GetSdkPath(Version targetFrameworkVersion)
at Microsoft.Tools.TestClient.ToolingEnvironment.get_MetadataTool()
at Microsoft.Tools.TestClient.ServiceAnalyzer.GenerateProxyAndConfig(String projectPath, String address, String configPath, String proxyPath, Int32 startProgressPosition, Int32 endProgressPostition, BackgroundWorker addServiceWorker, String& errorMessage)
at Microsoft.Tools.TestClient.ServiceAnalyzer.AnalyzeService(String address, BackgroundWorker addServiceWorker, Single startProgress, Single progressRange, String& errorMessage)
at Microsoft.Tools.TestClient.Workspace.AddServiceProject(String endpoint, BackgroundWorker addServiceWorker, Single startProgress, Single progressRange, String& error)
at Microsoft.Tools.TestClient.AddServiceExecutor.Execute(AddServiceInputs inputs, Workspace workspace, BackgroundWorker addServiceWorker)
at Microsoft.Tools.TestClient.UI.MainForm.addServiceWorker_DoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
私は唯一の2つのファイルを持って、私は必要な任意の他のファイルがあります含める? WcfTestClient.exe WcfTestClient.exe.config
どちらもVS2012 IDEフォルダから直接コピーされます。
私と同じですが手掛かりはありません。 – abatishchev
[Process Explorer](http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx)を使用して、テストクライアントがロードしているDLLを確認しようとしましたか?それは、あなたが欠けているかもしれないものについての手がかりを与えるかもしれません。 – Tombala
Hehは実際にスタックトレースを見て、SDK固有のレジストリエントリを読み込もうとしています。私は思うWCF SDKはありませんし、それはあなたが運が尽きるかもしれないのでVSが付属しています。 – Tombala