<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re : Visual Studio 2015 SP1 in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/visual-studio-2015-sp1/m-p/5932332#M69057</link>
    <description>&lt;P&gt;Found it.&amp;nbsp;I posted too fast. On my project, &lt;STRONG&gt;Managed compatibility mode&lt;/STRONG&gt; was enabled with the &lt;STRONG&gt;DebugEngine&lt;/STRONG&gt; element in the .csproj file, so I was in managed compatibility mode. It remains mandatory, so &lt;STRONG&gt;Edit and continue&lt;/STRONG&gt; is still not available in VS 2015 SP1 + Revit.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Dec 2015 09:30:15 GMT</pubDate>
    <dc:creator>FRFR1426</dc:creator>
    <dc:date>2015-12-02T09:30:15Z</dc:date>
    <item>
      <title>Visual Studio 2015 SP1</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/visual-studio-2015-sp1/m-p/5932318#M69056</link>
      <description>&lt;P&gt;Just updated my Visual Studio 2015 yesterday evening to SP1. It works, but I have to disable E&lt;STRONG&gt;dit and continue&lt;/STRONG&gt; in the options because when VS stops on an exception, it shows the message "Changes ... could not be applied. Edit or rebuild.." (it's not the exact message, because I've translated it from French). It must be a bug, because no code have changed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the good news, Revit starts now without &lt;STRONG&gt;Managed compatibility mode&lt;/STRONG&gt; enabled, but as we need to disable Edit and continue, it's not very useful. May be it will speed up debugging...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does someone has tried this new version of VS and found how to get rid of this message (see image attached; in French)?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/204080i1E636F3A44CD4766/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="2015-12-02_101648.jpg" title="2015-12-02_101648.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 09:19:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/visual-studio-2015-sp1/m-p/5932318#M69056</guid>
      <dc:creator>FRFR1426</dc:creator>
      <dc:date>2015-12-02T09:19:59Z</dc:date>
    </item>
    <item>
      <title>Re : Visual Studio 2015 SP1</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/visual-studio-2015-sp1/m-p/5932332#M69057</link>
      <description>&lt;P&gt;Found it.&amp;nbsp;I posted too fast. On my project, &lt;STRONG&gt;Managed compatibility mode&lt;/STRONG&gt; was enabled with the &lt;STRONG&gt;DebugEngine&lt;/STRONG&gt; element in the .csproj file, so I was in managed compatibility mode. It remains mandatory, so &lt;STRONG&gt;Edit and continue&lt;/STRONG&gt; is still not available in VS 2015 SP1 + Revit.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 09:30:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/visual-studio-2015-sp1/m-p/5932332#M69057</guid>
      <dc:creator>FRFR1426</dc:creator>
      <dc:date>2015-12-02T09:30:15Z</dc:date>
    </item>
    <item>
      <title>Re : Visual Studio 2015 SP1</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/visual-studio-2015-sp1/m-p/5933391#M69058</link>
      <description>&lt;P&gt;Dear Maxence,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for shring your solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is another recently reported workaround that may or may not be related and help:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[Q]&amp;nbsp;When I try debugging my Revit 2016 addin in Visual Studio 2015, The splash screen appears for a brief moment then closes, and I see&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;The program '[11444] Revit.exe' has exited with code -529697949 (0xe06d7363) 'Microsoft C++ Exception'.&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I click "Enable native code debugging" it'll load but then Revit acts terribly slow.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[A]&amp;nbsp;I found a viable work around. In VS 2015 you can go into Tools &amp;gt; Options &amp;gt; Debugging and select "Use Managed Compatibility Mode". This allows me to debug without setting "Enable native code debugging". I vaguely remember having to do this in previous projects as well. It may have been in VS 2013. All the DLLs had Copy Local set to false. Breakpoints get hit so I assume I'm safe to proceed. I have noticed Revit 2016 takes a bit longer to start up, even before selecting a file to open. That problem seems to persist even if I'm not debugging though. I wonder if it's somewhat related to our licensing server. If you have any suggestions to speed it up that'd be fantastic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 20:40:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/visual-studio-2015-sp1/m-p/5933391#M69058</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2015-12-02T20:40:56Z</dc:date>
    </item>
  </channel>
</rss>

