Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

MSB4127 and MSB4060 error again, cant deploy the application on another machine

$
0
0

 Hi,

I'm using SharpDevelop 3.x as a "Control" in my own application.

I move my application to another machine and rebuild it and now the build process in my own application stop working.  it return the following errors :

Error MSB4127: The "EntityClean" task could not be instantiated from the assembly "C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Data.Entity.Build.Tasks.dll". Please verify the task assembly has been built using the same version of the Microsoft.Build.Framework assembly as the one installed on your computer and that your host application is not missing a binding redirect for Microsoft.Build.Framework. Unable to cast object of type 'Microsoft.Data.Entity.Build.Tasks.EntityClean' to type 'Microsoft.Build.Framework.ITask'

Error MSB4060: The "EntityClean" task has been declared or used incorrectly, or failed during construction. Check the spelling of the task name and the assembly name

IMPORTANT NOTE :
- It still working on my old machine
- The exact same code and SD binaries are used on both machine (no change at all)
- Moving the MY builded application bin directory from the working machhine to the other one produce the same result. 
- The real sharpDevelop application is working correctly on both machine.

So I'm facing the problem that my application cannot be deployed on another machine (even if I use the binaries from the working machine to the other one it's not working)

I initially already got this problem before but the problem disapear somehow.  Look like I did something on the first machine to make it work. I spent all day on this without any luck so far.

the interresting section of my application.config look like this but I dont think this can cause this problem :

  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Build.Framework" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
        <bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="3.5.0.0"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>

Thanks,

Michel


Viewing all articles
Browse latest Browse all 1764

Trending Articles