2

VS2012 Update 1 をインストールした後、Microsoft.Practices.EnterpriseLibrary.Logging.dll参照用の偽のアセンブリを作成できません。ただし、 のアセンブリを偽造しMicrosoft.Practices.EnterpriseLibrary.Commom.dllSystem.dllその他は正常に作成します。私が見つけたこの問題の唯一の解決策は、VS2012 の Update 1 をアンインストールすることでした。状況は正常に戻りました。この問題は、ローカル マシンと tfs ビルド サーバーの両方で発生しました。

VS2012がエラーリストに表示するエラーは次のとおりです。

'Microsoft.Practices.EnterpriseLibrary.Logging.Fakes.StubLogWriter' does not implement inherited abstract member 'Microsoft.Practices.EnterpriseLibrary.Logging.LogWriter.GetFilter(string)' [c:\users\administrator\documents\visual studio 2012\Projects\DeleteMe\DeleteMe\obj\Debug\Fakes\mpell\f.csproj]    c:\users\administrator\documents\visual studio 2012\Projects\DeleteMe\DeleteMe\f.cs 68219   DeleteMe    26

VS2012 Update 1 のバグだと思いますが、確認するプロパティが不足しているのではないでしょうか?

4

1 に答える 1