
Merhaba,
MSB3283: Cannot find wrapper assembly for type library “Microsoft.Office.Core”. Verify that (1) the COM component is registered correctly and (2) your target platform is the same as the bitness of the COM component. For example, if the COM component is 32-bit, your target platform must not be 64-bit.
şeklinde visual studio da derleme hatası alıyorsanız,
muhtelemende projeyi run ettiğinizde şeklinde hata alıyorsunuzdur,
Çözüm için;
öncelikle projeye sağ tıklayıp “Add Reference” diyoruz ,
Sonrasında ,
COM –>Type Libraries –>Microsoft Office 14.0 Object Library’ideki tiki kaldırıp projeye gelip “Clean Solution” diyoruz, akabinde Build ediyoruz,
Projemiz hatasız derlenmiş oluyor ve f5 ile çalıştırabilirsiniz.
Sağlıcakla,
Oğuz ALTUNTAŞ © 2016