Scenario:
1) Form Library is created using Visual Studio 2010 ....follow the link below for steps of creating form library using visual studio.
http://microsofttechnologies.blogspot.com.au/2012/11/creating-sp-2010-form-library-using.html
2) Infopath form is created with few fields on it , when the user tries to publish the form to form library which was created using Visual Studio....it doesn't appear in Infpath Form Library list.
Solution:
Open List Definition in Visual Studio and change URL by removing List before slash
Wrong-----This form library will not appear in infopath form when we try to publish a form and want to select a form library which was created before..
OnQuickLaunch="TRUE"
TemplateType="115"
Url="Lists\ListURL"
Description="List Description">
Correct-----This form library will appear in infopath form when we try to publish a form and want to select a form library which was created before..
OnQuickLaunch="TRUE"
TemplateType="115"
Url="ListURL"
Description="List Description">