﻿<?xml version="1.0" encoding="UTF-8"?>
<!--RSS generated by Windows SharePoint Services V3 RSS Generator on 5/18/2012 4:55:55 AM-->
<?xml-stylesheet type="text/xsl" href="/_layouts/RssXslt.aspx?List=9c418f76-220b-4d05-8139-bcea464d60b2" version="1.0"?>
<rss version="2.0">
  <channel>
    <title>Genome Forums: Genome Support</title>
    <link>http://forums.genom-e.com/Lists/Genome Support/AllItems.aspx</link>
    <description>RSS feed for the Genome Support forum.</description>
    <lastBuildDate>Fri, 18 May 2012 02:55:55 GMT</lastBuildDate>
    <generator>Windows SharePoint Services V3 RSS Generator</generator>
    <ttl>60</ttl>
    <image>
      <title>Genome Forums: Genome Support</title>
      <url>/_layouts/images/homepage.gif</url>
      <link>http://forums.genom-e.com/Lists/Genome Support/AllItems.aspx</link>
    </image>
    <item>
      <title>Compile-Error #GEN1048 when compiling WOP-Project</title>
      <link>http://forums.genom-e.com/Lists/Genome Support/DispForm.aspx?ID=2073</link>
      <description><![CDATA[<div class=ExternalClassB18275FFC1A84B4BB6C1BCAB6F5FE0A9><div>
<div>After looking for a solution for several days the only solution I was able to find is a trade-off:</div>
<div>I upgraded all the genome-assemblies and one assembly, which is referenced by the entities-assembly only to .NET 3.5, but all the remaining assemblies to .NET 4.0</div>
<div>Then it worked.</div>
<div>I had to upgrade another Solution which uses genome to .NET one year ago, and that time it worked even after upgrading everything, including all the genome-assemblies, to .NET 4.0.</div>
<div>I spent several days looking for a difference which could explain why it worked once for that first project, but not now for the second one.</div>
<div>The only difference I was able to find ist that the in the second project the entities-assembly includes references to the genome-dlls TechTalk.Services and TechTalk.Xml.Serializer, but I cannot try wheter it works without these, because the entities-assembly requires them.</div>
<div>So if anybody else fails to build a wop-assembly after upgrading it to .NET 4.0 and gets the compiler-error &quot;(#GEN1048) The business assembly &quot;Auva.Epos.Business.Entities.Ekva.Mapping&quot; cannot be loaded, as it refers to a version &quot;4.0.0.0&quot; of the assembly &quot;mscorlib&quot; which differs from version &quot;2.0.0.0&quot;, used by wopc.&quot;, I recommend to use the same trade-off. I wasted several days looking for a better solution.</div>
<div>However, of course if somebody finds a real solution to the problem I am still interested in it.</div>
<div> </div>
<div>with kind regards<br></div>
<div>Mambo<br><br><br>
<hr class=ms-disc-quotedtext>
<b>From: </b>mambo<br><b>Posted: </b>Wednesday, March 07, 2012 12:04 PM<br><b>Subject: </b>Compile-Error #GEN1048 when compiling WOP-Project<br><br></div>
<div class=ExternalClassE8959FF0E15642B29B9AC7C36EFA8D18>
<div>I want to upgrade a Wire Object Protocol Project from .NET-Framework 2.0 to .NET 4.0 and change from Genome-Version 3.4.9.2 to Version 4.2.2.40.<br>Visual Studio 2010 was unable to open the .NET 2.0 - Version of the Project, therefore I tried to recreate the WOP-Project.</div>
<div><br>So I inserted all the View-Definitions of the original WOP-Project into the new one, specified the wopc.exe of Genome 4.2.2.40 as the new WOP-Compiler, and set the reference to the Entities and the Entities.Mapping-Assembly, which has the name Auva.Epos.Business.Entities.Ekva.Mapping.<br>The target Framework of all the Genome-Projects is set to 4.0<br>But when I tried to compile the WOP-Project, I got the error: &quot;(#GEN1048) The business assembly &quot;Auva.Epos.Business.Entities.Ekva.Mapping&quot; cannot be loaded, as it refers to a version &quot;4.0.0.0&quot; of the assembly &quot;mscorlib&quot; which differs from version &quot;2.0.0.0&quot;, used by wopc.&quot;</div>
<div>I have no idea how to get rid of this error because I cannot influence which mscorlib-Version is used by wopc.<br>One strange detail, which pearhaps is part of the problem, is that it is impossible to permanently set references to the .NET 4.0-versions of the System.dll and System.Core.dll in the Mapping-Project. When I do so, the references are changed automatically to the 2.0-Version of System.dll and the 3.5.-version of System.Core.dll each time I compile the Mapping-Assembly.<br>This behaviour is strange but it does not matter, as long as it is not the reason why the WOP-Project cannot be compiled.<br>Of course, if it IS the reason, I need help to stop this behaviour.</div>
<div> </div>
<div>So what can I do in order to ged rid of this compile-error?</div></div></div></div>]]></description>
      <author>mambo</author>
      <pubDate>Tue, 13 Mar 2012 10:38:31 GMT</pubDate>
      <guid isPermaLink="true">http://forums.genom-e.com/Lists/Genome Support/DispForm.aspx?ID=2073</guid>
    </item>
    <item>
      <title>Compile-Error #GEN1048 when compiling WOP-Project</title>
      <link>http://forums.genom-e.com/Lists/Genome Support/DispForm.aspx?ID=2072</link>
      <description><![CDATA[<div class=ExternalClassE8959FF0E15642B29B9AC7C36EFA8D18><div>I want to upgrade a Wire Object Protocol Project from .NET-Framework 2.0 to .NET 4.0 and change from Genome-Version 3.4.9.2 to Version 4.2.2.40.<br>Visual Studio 2010 was unable to open the .NET 2.0 - Version of the Project, therefore I tried to recreate the WOP-Project.</div>
<div><br>So I inserted all the View-Definitions of the original WOP-Project into the new one, specified the wopc.exe of Genome 4.2.2.40 as the new WOP-Compiler, and set the reference to the Entities and the Entities.Mapping-Assembly, which has the name Auva.Epos.Business.Entities.Ekva.Mapping.<br>The target Framework of all the Genome-Projects is set to 4.0<br>But when I tried to compile the WOP-Project, I got the error: &quot;(#GEN1048) The business assembly &quot;Auva.Epos.Business.Entities.Ekva.Mapping&quot; cannot be loaded, as it refers to a version &quot;4.0.0.0&quot; of the assembly &quot;mscorlib&quot; which differs from version &quot;2.0.0.0&quot;, used by wopc.&quot;</div>
<div>I have no idea how to get rid of this error because I cannot influence which mscorlib-Version is used by wopc.<br>One strange detail, which pearhaps is part of the problem, is that it is impossible to permanently set references to the .NET 4.0-versions of the System.dll and System.Core.dll in the Mapping-Project. When I do so, the references are changed automatically to the 2.0-Version of System.dll and the 3.5.-version of System.Core.dll each time I compile the Mapping-Assembly.<br>This behaviour is strange but it does not matter, as long as it is not the reason why the WOP-Project cannot be compiled.<br>Of course, if it IS the reason, I need help to stop this behaviour.</div>
<div> </div>
<div>So what can I do in order to ged rid of this compile-error?</div></div>]]></description>
      <author>mambo</author>
      <pubDate>Wed, 07 Mar 2012 11:04:05 GMT</pubDate>
      <guid isPermaLink="true">http://forums.genom-e.com/Lists/Genome Support/DispForm.aspx?ID=2072</guid>
    </item>
    <item>
      <title>QueryAnalyzer and .Net 4.0 (Genome 4.2.4.4)</title>
      <link>http://forums.genom-e.com/Lists/Genome Support/DispForm.aspx?ID=2071</link>
      <description><![CDATA[<div class=ExternalClassFCB3FB8A441A4E3BB4DC86C3A1868FF4><div>Hello support,</div>
<div> </div>
<div>is it possible that QA.exe isn't able to run under .Net 4.0? I just ask because I'm getting exceptions after I load a .Net 4.0 mapping assemblies.</div>
<div>All the execeptions stating that resource (satellite) assemblies arn't found - so I'll guess that this has to ddo with the changes made in the CLR regarding the AppDomain.AssemblyResolve event?</div>
<div><a href="http://msdn.microsoft.com/de-de/library/system.appdomain.assemblyresolve.aspx">http://msdn.microsoft.com/de-de/library/system.appdomain.assemblyresolve.aspx</a></div>
<div> </div>
<div>System.IO.FileNotFoundException: Could not load file or assembly 'QA.resources, Version=4.2.4.4, Culture=en-US, PublicKeyToken=21d2f016240c8d3d' or one of its dependencies. The system cannot find the file specified.<br>File name: 'QA.resources, Version=4.2.4.4, Culture=en-US, PublicKeyToken=21d2f016240c8d3d' ---&gt; System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\project.net\bin\debug\QA.resources.dll' or one of its dependencies. The system cannot find the file specified.<br>File name: 'file:///C:\project.net\bin\debug\QA.resources.dll'<br>   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)<br>   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)<br>   at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark&amp; stackMark)<br>   at System.Reflection.Assembly.LoadFrom(String assemblyFile)<br>   at QA.Connection.ResolveReferredAssembly(Object sender, ResolveEventArgs args)<br>   at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)</div>
<div> </div>
<div>Do I have a chance to execute QA.exe under .Net 4.0?</div>
<div> </div>
<div>Best regards,</div>
<div> </div>
<div>Andreas</div></div>]]></description>
      <author>alsoloplan</author>
      <pubDate>Wed, 15 Feb 2012 10:21:14 GMT</pubDate>
      <guid isPermaLink="true">http://forums.genom-e.com/Lists/Genome Support/DispForm.aspx?ID=2071</guid>
    </item>
  </channel>
</rss>
