error MIDL2212 : error while writing to file .\msaddndr_i.c??

Add-in Express™ Support Service
That's what is more important than anything else

error MIDL2212 : error while writing to file .\msaddndr_i.c??
 
Wyatt Albiston


Guest


error MIDL2212 : error while writing to file .\msaddndr_i.c midl

I'm getting this error after having the plugin in my project for a period of time. The only way I have been able to get ride of the error is by deleting the add-in project and creating a new one. This only works for a very short time before the error pops up again. Has anyone encountered this issue?

Thanks,
Wyatt
Posted 19 Apr, 2006 16:15:33 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Wyatt.

Could you please send me the shim project? I will check it.
Posted 20 Apr, 2006 07:24:25 Top
Brad Smith




Posts: 49
Joined: 2005-11-22
Are you perchance using source control (ie. Sourcesafe?). Visual Studio has this irritating habit of deciding to check in generated files like this. The result is it's read-only on your machine and next time you go to build, the compiler chokes.

Brad.
Posted 20 Apr, 2006 11:45:10 Top
Wyatt Albiston


Guest


That was exactly it. I noticed in the message that it couldnt write to the msaddndr_i.c file. Read only was in fact checked.

Thanks for the help.
Posted 20 Apr, 2006 11:51:00 Top