Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I found this issue on <a href="http://connect.microsoft.com/VisualStudio/feedback/details/551532/cannot-build-project-in-2010-when-project-has-reference-to-ssis-2008-dlls-sqltask-manageddts-etc" rel="noreferrer">another forum</a> and at least it's explained.</p> <blockquote> <p>Thanks for taking the time to send us this issue.</p> <p>It appears that the reference is to mscorlib 2.0.3600, which is the Beta 2 of .NET 2.0. Normally this would just work itself out, with the version number of the shipping product being hight, but, in this case, the Beta 2 number is actually higher. Ooopppss...</p> <p>In order to determine exactly where this reference is coming from, we really need to start with a detailed log. You can get this by executing the following from a Visual Studio command line: msbuild {projectname} /v:d /t:rebuild /fl</p> <p>This will create an msbuild.log file. Please attach this to the bug so that we can take a look.</p> <p>As is indicated in the thread, you can use an app.config to redirect. However, this will only work with and executable, and it only band-aid's the real issue, which is that you are using an our of date DLL.</p> <p>You could also use SpecificVersion=true on the reference. However, this defeats multi-targeting, and is an unsupported advanced scenario. This is basically because once you do this, you may get other errors, and you really have to know what you are doing to get this to work.</p> <p>We need to determine the actual assembly that is referencing .NET v2.0 Beta 2 so that we can determine how you can get the latest version of the non-Beta2 assembly.</p> <p>Thanks,</p> <p>Chuck England Visual Studio Platform Program Manager - MSBuild</p> </blockquote> <p>There are also two possible options for fixing it posted. One is to update the version of the Microsoft.SQLServer.msxml6_interop.dll in the GAC with a version that has the correct manifest. I'm not sure where you'd get the dll but it's worth reading through the posts on the other site.</p> <p>The other option is a .config file modification.</p> <p>Here's what they put for a .config change, but the poster said it worked in an executable, but not in a class library. I hope it helps.</p> <pre><code>&lt;runtime&gt; &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v1.0.3705"&gt; &lt;dependentAssembly&gt; &lt;assemblyIdentity name="mscorlib" publicKeyToken="b77a5c561934e089" culture="neutral"/&gt; &lt;bindingRedirect oldVersion="2.0.3600.0" newVersion="2.0.0.0"/&gt; &lt;/dependentAssembly&gt; &lt;/assemblyBinding&gt; &lt;/runtime&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload