<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Code first generation in 6.1.7 with VS11 Beta</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Code first generation in 6.1.7 with VS11 Beta</description>
  <pubDate>Wed, 13 May 2026 04:53:05 -700</pubDate>
  <lastBuildDate>Thu, 14 Jun 2012 16:27:21 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3426</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Code first generation in 6.1.7 with VS11 Beta :   Hi Walid,After adding one...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13842#13842</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3426<br /><strong>Posted:</strong> 14-Jun-2012 at 4:27pm<br /><br />Hi Walid,<div>&nbsp;</div><div>After adding one additional model to the solution, I was able to repro the issue.</div><div>I'm filing a bug in this regard and will keep you updated on our progress.</div><div>&nbsp;</div><div>Regards,</div><div>&nbsp;&nbsp; Silvio.</div>]]>
   </description>
   <pubDate>Thu, 14 Jun 2012 16:27:21 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13842#13842</guid>
  </item> 
  <item>
   <title>Code first generation in 6.1.7 with VS11 Beta :   Hi Silvio,I tested your application...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13831#13831</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=998" rel="nofollow">Walid</a><br /><strong>Subject:</strong> 3426<br /><strong>Posted:</strong> 13-Jun-2012 at 5:00pm<br /><br />Hi Silvio,<div>&nbsp;</div><div>I tested your application and <strong>without changing anything</strong> I have the issue. I did rebuild the solution 20 times and got&nbsp;6 times the error. Each time the error was on the Model2, below the stack trace if it can help.</div><div>&nbsp;</div><div>Could it be an installation problem since I have both 2010 and 2012RC on my computer ?</div><div>Let me know if you want I check something on my system.</div><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div><div>Erreur&nbsp;1&nbsp;Échec inattendu de la tâche "EntityModelMetadataDeploy".<br>System.Runtime.InteropServices.COMException (0x8001010A): Le filtre de messages indiquait que l’application était occupée. (Exception de HRESULT : 0x8001010A (RPC_E_SERVERCALL_RETRYLATER))</div><div>Server stack trace: <br>&nbsp;&nbsp; à EnvDTE.ProjectItem.get_ProjectItems()<br>&nbsp;&nbsp; à IdeaBlade.VisualStudio.DTE.DTEHelper.&lt;GetProjectItems&gt;d__28.MoveNext()<br>&nbsp;&nbsp; à IdeaBlade.VisualStudio.DTE.DTEHelper.&lt;GetProjectItems&gt;d__22.MoveNext()<br>&nbsp;&nbsp; à System.Linq.Enumerable.FirstOrDefault&#091;TSource&#093;(IEnumerable`1 source)<br>&nbsp;&nbsp; à IdeaBlade.VisualStudio.DTE.DTEHelper.GetProjectItemByName(Project project, String name)<br>&nbsp;&nbsp; à IdeaBlade.VisualStudio.Build.Tasks.EntityModelMetadataDeploy.WriteResourceFiles(IList`1 modelList)<br>&nbsp;&nbsp; à IdeaBlade.VisualStudio.Build.Tasks.EntityModelMetadataDeploy.Execute()<br>&nbsp;&nbsp; à System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object&#091;&#093; args, Object server, Object&#091;&#093;&amp; outArgs)<br>&nbsp;&nbsp; à System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)</div><div>Exception rethrown at &#091;0&#093;: <br>&nbsp;&nbsp; à System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)<br>&nbsp;&nbsp; à System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)<br>&nbsp;&nbsp; à Microsoft.Build.Framework.ITask.Execute()<br>&nbsp;&nbsp; à Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()<br>&nbsp;&nbsp; à Microsoft.Build.BackEnd.TaskBuilder.&lt;ExecuteInstantiatedTask&gt;d__20.MoveNext()&nbsp;CodeFirstWalk.Model2<br></div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Wed, 13 Jun 2012 17:00:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13831#13831</guid>
  </item> 
  <item>
   <title>Code first generation in 6.1.7 with VS11 Beta :  Hi Walid,We tried to reproduce...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13830#13830</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3426<br /><strong>Posted:</strong> 13-Jun-2012 at 4:45pm<br /><br />Hi Walid,<div>&nbsp;</div><div>We tried to reproduce your issue, but were not able to.</div><div>&nbsp;</div><div>I've attached a simple CF sample with 2 models where I was able to compile/run without issues.</div><div><a href="uploads/892/CodeFirstWalk.zip" target="_blank">uploads/892/CodeFirstWalk.zip</a>&nbsp;</div><div>&nbsp;</div><div>Please modify it to repro the issue or provide a sample that demonstrates the problem.</div><div>&nbsp;</div><div>Regards,</div><div>&nbsp;&nbsp; Silvio.</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Wed, 13 Jun 2012 16:45:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13830#13830</guid>
  </item> 
  <item>
   <title>Code first generation in 6.1.7 with VS11 Beta :   Thanks for the update.We didn&amp;#039;t...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13758#13758</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 3426<br /><strong>Posted:</strong> 06-Jun-2012 at 9:36am<br /><br />Thanks for the update.<div>&nbsp;</div><div>We didn't make any Code First or VS 2012 related changes for the 6.1.7.1 patch release.&nbsp; The only change from 6.1.7.0 was a fix for a performance problem, so you will still see the VS11 /&nbsp; VS2012 issues you saw previously.&nbsp;&nbsp; We should have some additional VS2012 fixes in the 6.1.8 release.</div>]]>
   </description>
   <pubDate>Wed, 06 Jun 2012 09:36:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13758#13758</guid>
  </item> 
  <item>
   <title>Code first generation in 6.1.7 with VS11 Beta : For information, the &amp;#034;Ent...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13756#13756</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=998" rel="nofollow">Walid</a><br /><strong>Subject:</strong> 3426<br /><strong>Posted:</strong> 06-Jun-2012 at 8:53am<br /><br />For information, the "<span style="text-align: left; : rgb251, 251, 253; ">EntityModelMetadataDeploy"</span>&nbsp;issue&nbsp;still exist on 6.1.7.1 with the VS2012RC.<div><br></div><div>A project having just one model can sometimes build after 1 or 2 retry but when you have a solution with multiple models (my case), there is always some models which doesn't compile. you can try to compile them one by one, it always fail when you hit F5.</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 06 Jun 2012 08:53:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13756#13756</guid>
  </item> 
  <item>
   <title>Code first generation in 6.1.7 with VS11 Beta :   There actually shouldn&amp;#039;t...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13505#13505</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 3426<br /><strong>Posted:</strong> 04-May-2012 at 10:44am<br /><br />There actually shouldn't have been a need to reinstall, unless you wanted to go back to DF 6.1.6.&nbsp; <div>&nbsp;</div><div>For DevForce to recognize the ibmmx it has to be set as an Embedded Resource in the project, so that's one thing to check.&nbsp; </div><div>&nbsp;</div><div>The Code First compile problem(s) will occur only in VS11.&nbsp; You should be able to use CF in VS2010 without problems (or any additional problems than you might have had in prior DevForce releases).</div><div>&nbsp;</div><div>When DevForce doesn't (re)generate the ibmmx there can be several reasons - </div><div>1) the EntityModelMetadataDeploy task was not run because there's no .cf file, the SkipDevForce build property flag is on, or the task is not installed, or </div><div>2) the task runs correctly but thinks the ibmmx file is up-to-date.</div><div>&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Fri, 04 May 2012 10:44:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13505#13505</guid>
  </item> 
  <item>
   <title>Code first generation in 6.1.7 with VS11 Beta :    Another thing happening...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13503#13503</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=998" rel="nofollow">Walid</a><br /><strong>Subject:</strong> 3426<br /><strong>Posted:</strong> 04-May-2012 at 8:09am<br /><br /><div>Another thing happening since the uninstall/install</div><div>&nbsp;</div><div>I did compile the solution with VS10, it generated the ibmmx file and the application run perfectly.</div><div>now it I run the same solution within VS11, it generate an exception during the EntityManager creation.</div><div><font face="Courier New, Courier, mono">&nbsp;</font></div><div><font face="Courier New, Courier, mono">Unable to initialize EntityManager<br>Unable to get metadata for MyApp.Security.Entities.Groupe. Make sure it is a valid entity type or POCO type with a KeyAttribute</font></div><div>&nbsp;</div><div>It's like it ignored the ibmmx file ...</div><div>&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Fri, 04 May 2012 08:09:53 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13503#13503</guid>
  </item> 
  <item>
   <title>Code first generation in 6.1.7 with VS11 Beta :   I had many msbuild.exe instance,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13502#13502</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=998" rel="nofollow">Walid</a><br /><strong>Subject:</strong> 3426<br /><strong>Posted:</strong> 04-May-2012 at 7:59am<br /><br /><div>I had many msbuild.exe instance, I killed them all. then I wanted to try but I broke everything.</div><div>&nbsp;</div><div>Just before, I did an uninstall of the 6.1.7 and then reinstalled it. Now, if I delete the .ibmmx file, it never generates it and says all is done.</div><div>The uninstall broke something which a repair or a new install didn't fix (I tried both). </div><div>Any&nbsp;idea where I should look ? </div>]]>
   </description>
   <pubDate>Fri, 04 May 2012 07:59:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13502#13502</guid>
  </item> 
  <item>
   <title>Code first generation in 6.1.7 with VS11 Beta :   Scratch my question on the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13501#13501</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 3426<br /><strong>Posted:</strong> 04-May-2012 at 7:45am<br /><br />Scratch my question on the build server - the EntityModelMetadataDeploy task does not normally run on the build server.<div>&nbsp;</div><div>We haven't seen this particular error before, but have seen a few other problems with builds in VS11 (see <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/code-first-troubleshooting#HBuilderrorsinVisualStudio11Beta" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/code-first-troubleshooting#HBuilderrorsinVisualStudio11Beta</a>).&nbsp; I'm guessing that you can still run your application because the prior ibmmx file is still present and unchanged.&nbsp; If you were to delete the ibmmx and try a build, you'd probably see that the ibmmx is not regenerated.</div><div>&nbsp;</div><div>When you close your solution, also check the Windows Task Manager to see that there are no devenv.exe or msbuild.exe instances still running, and close them if so.&nbsp; Then try the build again.</div><div>&nbsp;</div><div>Builds in VS11 are shelled to MsBuild.exe instances, which does cause problems with our Code First build-time support.&nbsp; We have a command line tool which can also be used to regen an ibmmx, which we may need to ship until we get the CF problems in VS11 worked out.</div><div>&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Fri, 04 May 2012 07:45:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13501#13501</guid>
  </item> 
  <item>
   <title>Code first generation in 6.1.7 with VS11 Beta :    I didn&amp;#039;t try to update...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13500#13500</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=998" rel="nofollow">Walid</a><br /><strong>Subject:</strong> 3426<br /><strong>Posted:</strong> 04-May-2012 at 7:23am<br /><br />I didn't try to update the build server yet.<div>&nbsp;</div><div>&nbsp;</div><div>Actually I have this error within Visual Studio every time I try to compile. I closed many time my VS instance, it didn't work a single time.</div><div>However, it seems this error doesn't always block the execution of the application. </div><div>Exemple :</div><div>1. I do a full generate on my solution</div><div>&nbsp;&nbsp;=&gt; I am getting this error on every model</div><div>2.&nbsp;then I hit F5 and the application start dispite the error</div><div>&nbsp; =&gt; note that the errors are still displayed in the error log window</div><div>&nbsp;</div><div>Or</div><div>&nbsp;</div><div>1. I build the solution</div><div>&nbsp; =&gt; I have the errors</div><div>2. I build every model one by one to</div><div>3. I can start the application</div><div>&nbsp;</div><div>&nbsp;</div><div>One annoying things (but probably a VS11 bug) is that if I have some errors in my code, I see those errors in the Error window during the compilation time but when the compilation end they all disapears and only the EntityModelMetadataDeploy's error are left.</div><div>This make it very hard to fix the error in the code ....</div><span style="font-size:10px"><br /><br />Edited by Walid - 04-May-2012 at 7:31am</span>]]>
   </description>
   <pubDate>Fri, 04 May 2012 07:23:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13500#13500</guid>
  </item> 
  <item>
   <title>Code first generation in 6.1.7 with VS11 Beta :   There are someissues withthe...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13499#13499</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 3426<br /><strong>Posted:</strong> 04-May-2012 at 7:07am<br /><br />There are some&nbsp;issues with&nbsp;the CF build time support&nbsp;in VS11 Beta.&nbsp; Try closing all instances of Visual Studio, then open the solution and try building the project again.&nbsp; Let us know if it still isn't working, or if you're getting this error on your build server.]]>
   </description>
   <pubDate>Fri, 04 May 2012 07:07:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13499#13499</guid>
  </item> 
  <item>
   <title>Code first generation in 6.1.7 with VS11 Beta :   Hi,I am getting this error...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13497#13497</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=998" rel="nofollow">Walid</a><br /><strong>Subject:</strong> 3426<br /><strong>Posted:</strong> 04-May-2012 at 2:17am<br /><br />Hi,<div><br></div><div>I am getting this error during the compilation of my CF models in VS11 beta with the last version 6.1.7 of Devforce.</div><div><br></div><div><br></div><div>Note : &nbsp;the message "Le filtre de messages indiquait que l’application était occupée" could be translated to something like &nbsp;"The message's filter indicated the application was busy"</div><div><br></div><div><div>Erreur<span ="apple-tab-span"="" style="white-space:pre">	</span>4<span ="apple-tab-span"="" style="white-space:pre">	</span>Échec inattendu de la tâche "EntityModelMetadataDeploy".</div><div>System.Runtime.InteropServices.COMException (0x8001010A): Le filtre de messages indiquait que l’application était occupée. (Exception de HRESULT : 0x8001010A (RPC_E_SERVERCALL_RETRYLATER))</div><div><br></div><div>Server stack trace:&nbsp;</div><div>&nbsp; &nbsp;à EnvDTE.ProjectItem.get_Name()</div><div>&nbsp; &nbsp;à IdeaBlade.VisualStudio.DTE.DTEHelper.&lt;&gt;c__DisplayClass39.&lt;GetProjectItemByName&gt;b__38(ProjectItem pi)</div><div>&nbsp; &nbsp;à IdeaBlade.VisualStudio.DTE.DTEHelper.&lt;GetProjectItems&gt;d__28.MoveNext()</div><div>&nbsp; &nbsp;à IdeaBlade.VisualStudio.DTE.DTEHelper.&lt;GetProjectItems&gt;d__22.MoveNext()</div><div>&nbsp; &nbsp;à System.Linq.Enumerable.FirstOrDefault&#091;TSource&#093;(IEnumerable`1 source)</div><div>&nbsp; &nbsp;à IdeaBlade.VisualStudio.DTE.DTEHelper.GetProjectItemByName(Project project, String name)</div><div>&nbsp; &nbsp;à IdeaBlade.VisualStudio.Build.Tasks.EntityModelMetadataDeploy.WriteResourceFiles(IList`1 modelList)</div><div>&nbsp; &nbsp;à IdeaBlade.VisualStudio.Build.Tasks.EntityModelMetadataDeploy.Execute()</div><div>&nbsp; &nbsp;à System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object&#091;&#093; args, Object server, Object&#091;&#093;&amp; outArgs)</div><div>&nbsp; &nbsp;à System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)</div><div><br></div><div>Exception rethrown at &#091;0&#093;:&nbsp;</div><div>&nbsp; &nbsp;à System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)</div><div>&nbsp; &nbsp;à System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)</div><div>&nbsp; &nbsp;à Microsoft.Build.Framework.ITask.Execute()</div><div>&nbsp; &nbsp;à Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()</div><div>&nbsp; &nbsp;à Microsoft.Build.BackEnd.TaskBuilder.&lt;ExecuteInstantiatedTask&gt;d__1c.MoveNext()<span ="apple-tab-span"="" style="white-space:pre">	</span>WSoft.Security</div></div><div><br></div><span style="font-size:10px"><br /><br />Edited by Walid - 04-May-2012 at 4:04am</span>]]>
   </description>
   <pubDate>Fri, 04 May 2012 02:17:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3426&amp;PID=13497#13497</guid>
  </item> 
 </channel>
</rss>