How to Overcome Microsoft.Office.Interop.Excel errors in Visual Studio 2012
When you are developing Excel Applications in visual Studio 2012 not sure about Visual studio 2010 (didn't have time to check on that) you will get some kind of harsh errors every developer don't want to see....Ha ha joking.. so when These error occurs I'm doing a simple trick to overcome those things. In the below I mention that trick in a step by step manner.
- So these are the some of errors you will get when you build the application
- To solve these kind of problems you can do various things. you can use Appropriate Application Interface to overcome some problems but when comes to the coding I'm bit lazy....ha ha joke again.so What I'm doing is Go Project Properties and Change the Target FrameWork to 3.5 or low
- And remove System.Threading.Tasks namespace from your project. And Rebuild it...It should work smoothly. Hope This will help you.... See you soon.
Comments
Post a Comment