<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Error building IP03 compatable forms in VS08</title><link>https://www.infopathdev.com:443/forums/thread/27408.aspx</link><pubDate>Mon, 24 Mar 2008 23:54:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27408</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27408.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=27408</wfw:commentRss><description>&lt;p&gt;Sounds like you are using the InfoPath 2007 programming OM instead of the 2003 OM.&lt;/p&gt;
&lt;p&gt;IP07 OM uses Microsoft.Office.InfoPath&lt;br /&gt;&lt;font size="2"&gt;IP03 OM uses Microsoft.Office.Interop.InfoPath.SemiTrust&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Check in your Tools | Form Options | Programming to see if you have &amp;quot;C# (InfoPath 2003 Compatible)&amp;quot; selected.&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Error building IP03 compatable forms in VS08</title><link>https://www.infopathdev.com:443/forums/thread/27383.aspx</link><pubDate>Sun, 23 Mar 2008 00:04:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27383</guid><dc:creator>djay</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27383.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=27383</wfw:commentRss><description>&lt;p&gt;I just installed Visual Studio 2008 and Office 2007 and I am trying to build a InfoPath 2003 compatable form, but I am getting an odd error.&lt;/p&gt;
&lt;p&gt;I am following the walkthrough at &lt;a href="http://msdn2.microsoft.com/en-us/library/aa945289.aspx"&gt;http://msdn2.microsoft.com/en-us/library/aa945289.aspx&lt;/a&gt;&amp;nbsp;exactly.&amp;nbsp; When I go to try to debug I get 6 errors that look like this:&lt;/p&gt;&lt;font size="1"&gt;
&lt;p&gt;C:\HelloWorld\HelloWorld\FormCode.Designer.cs(19,35): error CS0234: The type or namespace name &amp;#39;InfoPath&amp;#39; does not exist in the namespace &amp;#39;Microsoft.Office&amp;#39; (are you missing an assembly reference?)&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&amp;nbsp;I&amp;#39;m taking a wild guess that this is how interoperability works in the new 2007 object model.&amp;nbsp; As Microsoft.Office.InfoPath (and System.AddIn and some Microsoft.VisualStudio dll&amp;#39;s) are included when targeting InfoPath 2007, which works fine.&amp;nbsp; If I try to include the needed libraries it compiles, but it won&amp;#39;t run on Office 2003.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;So, whats going on here, and why is VS still trying to include this?&amp;nbsp; And does anyone have a good reference to what Designer.cs is?&amp;nbsp; I have been able to find very little info on it online.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&amp;nbsp; I deleted everything in the Designer.cs file and it seems to work fine now.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>