2012-11-22 145 views
0

我創建使用VS2010的一個項目,我現在用vs2012但我歌廳誤差製作VS2010項目DLL與Visual Studio 2012兼容

Error 1 The type 'Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.IInstrumentationEventProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.Practices.EnterpriseLibrary.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. C:\Users\dcss3\Desktop\21nov2012\NuggettsCloud\AppDAL\AssetCardDAL.cs 103 18 AppDAL 

回答

0

嘗試添加組件參考Microsoft.Practices.EnterpriseLibrary.Common到你的項目。可以通過右鍵單擊項目中的參考節點並選擇「添加參考」來完成。

+0

仍然沒有工作,爲什麼我geting這些問題是這個版本問題4.0至4.5 – user1681166

相關問題