No-Touch Deployment (NTD) and ComVisible

Today at work I was working with WinForms through Internet Explorer (otherwise known as No-Touch Deployment), this is a new topic for me and I have just started working with this technology this week. I had multiple test projects working with no problems. I then attempted to integrate everything into a working project, then everything stopped working.

I once again took the code out then put the code into a new project, and it worked as expected. I was able to determine (using MessageBox.Show) that my constructor(s) were being called, but was unable to call any methods or properties on my .NET component. The JavaScript error message was "Object doesn't support this property or method". I was talking to another co-worker and we decided that there must be a setting within the project (the *.csproj file) that was incorrect, but we were unable to find anything. We finally found the problem located in the AssemblyInfo.cs file. I wasted almost 6 hours trying to figure out what the problem was.

The working project had been ran through FxCop and someone had set ComVisible equal to false, once we set it to true, everything worked as expected. Yet another lifetime lesson learned!


Very little so far

I am working on some Vim tutorials (and there isn't many there) as of now. I hope to slowly get things put up.