I do alot of programming in C#, so im obviously running MPLAB and VS.net 2005 on the same machine (sometimes at the same time).
Im experiencing wierd problems trying to build tried and tested code in MPLAB.
If i re-install MPLAB, all the problems vanish until the next time I run VS.net.
Then I get build errors the next time I try and assemble code in MPlab.
I have just found a
website that says
"
If you are running Visual Studio, then you may or may not know that Visual Studio appears to co-opt the file extension .cod. Apparently, Visual Studio doesn't play well with others, as it won't let other programs that need or use files having that extension...like MPLAB...use it for their own purposes.
* To the best of my observation, computers running Visual Studio will give linker errors when you attempt to build assembly files in MPLAB. The visible symptoms of the problem are error messages that refer to stack underflow or core errors. I will try to get specific error messages, so that you know what you're looking for to see if it's happened.
* The quickest solution (the one that was applied to best effect in the CEL) is to do a clean reinstall of MPLAB. This will make MPLAB work again, at least up to the point where you use Visual Studio to do something. Since no one uses Visual Studio in the CEL, we haven't had the chance to observe whether it attempts to grab the extension again.
* If you use Visual Studio often, you may find the MPLAB problem to be a recurring one. "