I am having trouble finding clear instructions on how to deploy an InfoPath form using only Visual Studio. It is my understanding that there are multiple ways to deploy a form with the two most popular being (1) into a Forms Library with the form stored in the library or (2) as a Content Type with the form being stored in a "central" library.
All of the blog postings I have read that claim (via blog title or content) that the article is about deploying via Visual Studio yet the first step on almost all of them is to deploy the form using InfoPath Designer. Huh?
They also tend to mention creating Event Receivers but I do not understand what that step is for...
Can somebody please explain this or point me in the proper direction? What am I missing?