Looks like creating COM Interop projects with ASP.NET just got a whole lot less pleasant with Visual Studio 2005. In VS.2003 if you updated the underlying COM server and then rebuild and refreshed the project that contained in imported Interop assembly the interop assembly automatically refreshed itself to provide the updated COM interface.

 

I can no longer get that to work. The only way to get the assembly to work is to physically remove it and then add it back into the project…

 

This is definitely a few steps backwards. Not that I advocate using COM in ASP.NET projects anyway, but this is still a PITA when you do need to do it. I’m working on some Fox demos at the moment where a Web Service needs to talk to a Fox Com object to provide the data layer, and any change to the COM server requires removing and reading the COM reference. This gets old real quick especially knowing that this used to be automatic by a recompile.

 

I guess it's possible to add some MSBuild logic to the project to make this happen automatically.

 

Now playing: Rollins Band - You Didn't Need