<?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: InfoPath 2013 with a InfoPath 2010 form with Code - VSTA will not load.</title><link>https://www.infopathdev.com:443/forums/thread/97210.aspx</link><pubDate>Tue, 29 Apr 2014 23:48:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97210</guid><dc:creator>rcranney</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97210.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=97210</wfw:commentRss><description>I found the below bug on Microsoft&amp;#39;s Connect site...

&lt;p&gt;
&lt;a href="https://connect.microsoft.com/VisualStudio/feedback/details/788706/visual-studio-2012-disables-source-control-for-project-type-vsta-and-vstaprojects-moves-code"&gt;Visual Studio 2012 disables Source Control for Project Type VSTA and VstaProjects moves code&lt;/a&gt;, which sheds light on why code is copied to the below folder structure, &lt;br /&gt;
&lt;br /&gt;
C:\Users\rcranney\AppData\Local\Temp\Vsta\InfoPath\VstaX9lrOWJ3ikGMWhNe2Tj3dQ\VstapWmwiOeKtEuk3x6bxS__R5g  &lt;br /&gt;
 &lt;br /&gt;
instead of using the code found in &lt;br /&gt;
 &lt;br /&gt;
C:\Users\rcranney\Documents\InfoPath Projects\ABRT&lt;br /&gt;
&lt;/p&gt;

&lt;p&gt;
I have yet to figure out the Algorithm used to create the temp folders, or where the expected folder structure info is stored... &lt;br /&gt;&lt;br /&gt;

My next step (based on info from above bug) is to recreate the project, copy in all my code, references, app.config, etc,  and confirm that VSTA will consistently open &amp;amp; close as long as the last build was successful... 

&lt;/p&gt;</description></item><item><title>InfoPath 2013 with a InfoPath 2010 form with Code - VSTA will not load.</title><link>https://www.infopathdev.com:443/forums/thread/97198.aspx</link><pubDate>Mon, 28 Apr 2014 22:27:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97198</guid><dc:creator>rcranney</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97198.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=97198</wfw:commentRss><description>&lt;p&gt;Hi all, &lt;/p&gt;

&lt;p&gt;I am vexed with the below issue... Any insight or suggestions would be greatly appreciated.&lt;/p&gt;

&lt;p&gt;I have an InfoPath 2010 form that I need to be able to develop.... I had to upgrade to InfoPath 2013, because I needed to be able to change the target .Net framework to 3.5, because some of the code I need, will not work with .Net Framework 2.0.&lt;/p&gt;

&lt;/p&gt;I have installed the following items:
&lt;ul&gt;
&lt;li&gt; Microsoft Office Professional Plus 2013&lt;/li&gt;
&lt;li&gt; Microsoft Visual Studio Tools for Applications 2012&lt;/li&gt;
&lt;li&gt; Microsoft Visual Studio Ultimate 2012 (I had to downgrade because for some inexplicable reason VSTA did not work with VS 2013 :( )&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;
&lt;p&gt;When I open a InfoPath 2010 form with code in InfoPath 2013, after the first time, I get the following Error:  The System cannot find the path specified.&lt;/p&gt;

&lt;p&gt;I  have confirmed that the projection location and it seems correct i.e. C:\Users\rcranney\Documents\InfoPath Projects\ABRT\ABRT.csproj&lt;/p&gt;

&lt;p&gt;When I execute some code from the form, I get the below error ... Not sure why it references a folder in my temp directory...   it&amp;#39;s not the path I have specified.&lt;/p&gt;

&lt;/p&gt;
System.FormatException&lt;br /&gt;
The string &amp;#39;&amp;#39; is not a valid Boolean value.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.at System.Xml.XmlConvert.ToBoolean(String s)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.at System.Xml.Schema.XmlUntypedConverter.ToBoolean(String value)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.at System.Xml.XPath.XPathNavigator.get_ValueAsBoolean()&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.at Intel_ABRT.FormCode.btnCreate_Task_Clicked(Object sender, ClickedEventArgs e) in c:\Users\rcranney\AppData\Local\Temp\Vsta\38b1ac63917c4ae69aef8fc06116300b\FormCode.cs:line 2518&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.at Microsoft.Office.InfoPath.Internal.ButtonEventHost.OnButtonClick(DocActionEvent pEvent)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.at Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)&lt;br /&gt;
&lt;/p&gt;

&lt;p&gt;Anyway, I would appreciate any suggestions on how to resolve this issue.&lt;/p&gt;

&lt;p&gt;Thanks in advance...&lt;/p&gt;

&lt;p&gt;Robert&lt;/p&gt;</description></item></channel></rss>