<?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 : Error building Code-First model</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2012 : Error building Code-First model</description>
  <pubDate>Fri, 10 Apr 2026 22:33:16 -700</pubDate>
  <lastBuildDate>Fri, 02 Aug 2013 15:15:50 -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=4260</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>Error building Code-First model : You should be able to unload the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4260&amp;PID=16693#16693</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> 4260<br /><strong>Posted:</strong> 02-Aug-2013 at 3:15pm<br /><br />You should be able to unload the Install Shield project from your solution and then build the model project, without having to resort to an entirely separate solution for the model. <DIV sab="1008"></DIV><DIV sab="1009">&nbsp;</DIV><DIV sab="1010">We'll have this fixed in the next release, coming within the next few weeks.</DIV>]]>
   </description>
   <pubDate>Fri, 02 Aug 2013 15:15:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4260&amp;PID=16693#16693</guid>
  </item> 
  <item>
   <title>Error building Code-First model : Recreating the model project in...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4260&amp;PID=16692#16692</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1614" rel="nofollow">jbiddle61</a><br /><strong>Subject:</strong> 4260<br /><strong>Posted:</strong> 02-Aug-2013 at 2:18pm<br /><br />Recreating the model project in the current solution as Code-First from the start did not change anything.<br>Still get the build error.<br><br>I had to create a brand-new solution with only the model project in it.<br>I can build the model then.<br><br>This is going to make life rather difficult for us if we have to put our models into stand-alone solutions.<br>]]>
   </description>
   <pubDate>Fri, 02 Aug 2013 14:18:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4260&amp;PID=16692#16692</guid>
  </item> 
  <item>
   <title>Error building Code-First model : This is the same solution that...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4260&amp;PID=16691#16691</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1614" rel="nofollow">jbiddle61</a><br /><strong>Subject:</strong> 4260<br /><strong>Posted:</strong> 02-Aug-2013 at 1:41pm<br /><br />This is the same solution that I was getting the error trying to save the .EDMX file.<br><br>I've just converted my Model project from Database First to Code-First.<br>Now I get the following error when I try to build the Model project:<br><br>Error&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp; The "EntityModelMetadataDeploy" task failed unexpectedly.<br>System.ArgumentException: InvalidParameter<br>Parameter name: index<br><br>Server stack trace: <br>&nbsp;&nbsp; at Microsoft.VisualStudio.Package.Automation.OAProperties.Item(Object index)<br>&nbsp;&nbsp; at EnvDTE.Properties.Item(Object index)<br>&nbsp;&nbsp; at IdeaBlade.VisualStudio.DTE.DTEHelper.IsWindowsStoreProject(Project project)<br>&nbsp;&nbsp; at IdeaBlade.VisualStudio.DTE.DTEHelper.&lt;get_WindowsStoreProjects&gt;b__44(Project p)<br>&nbsp;&nbsp; at System.Linq.Enumerable.WhereListIterator`1.MoveNext()<br>&nbsp;&nbsp; at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)<br>&nbsp;&nbsp; at System.Linq.Enumerable.ToList&#091;TSource&#093;(IEnumerable`1 source)<br>&nbsp;&nbsp; at IdeaBlade.VisualStudio.DTE.DTEHelper.get_WindowsStoreProjects()<br>&nbsp;&nbsp; at IdeaBlade.VisualStudio.DTE.LinkProjectFinder.FindAnyLinkedProject(String linkedFileName, Project serverProject)<br>&nbsp;&nbsp; at IdeaBlade.VisualStudio.Build.Tasks.EntityModelMetadataDeploy.SetClientProjectLinks(IList`1 modelList)<br>&nbsp;&nbsp; at IdeaBlade.VisualStudio.Build.Tasks.EntityModelMetadataDeploy.ExecuteCore(IList`1 modelList)<br>&nbsp;&nbsp; at IdeaBlade.VisualStudio.Build.Tasks.EntityModelMetadataDeploy.&lt;&gt;c__DisplayClass4.&lt;Execute&gt;b__0()<br>&nbsp;&nbsp; at IdeaBlade.VisualStudio.Build.Tasks.EntityModelMetadataDeploy.ExecuteLocked(String name, Func`1 action)<br>&nbsp;&nbsp; at IdeaBlade.VisualStudio.Build.Tasks.EntityModelMetadataDeploy.Execute()<br>&nbsp;&nbsp; at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object&#091;&#093; args, Object server, Object&#091;&#093;&amp; outArgs)<br>&nbsp;&nbsp; at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)<br><br>Exception rethrown at &#091;0&#093;: <br>&nbsp;&nbsp; at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)<br>&nbsp;&nbsp; at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)<br>&nbsp;&nbsp; at Microsoft.Build.Framework.ITask.Execute()<br>&nbsp;&nbsp; at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()<br>&nbsp;&nbsp; at Microsoft.Build.BackEnd.TaskBuilder.&lt;ExecuteInstantiatedTask&gt;d__20.MoveNext()&nbsp;&nbsp;&nbsp; FSLHIScoreModel<br><br>Any ideas?<br>In the meantime, I'm going to try re-creating the model project as Code-First from the start.<br>I'll post back when I have those results.<br><br>]]>
   </description>
   <pubDate>Fri, 02 Aug 2013 13:41:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4260&amp;PID=16691#16691</guid>
  </item> 
 </channel>
</rss>