Memnarch / Delphinus

An alternative Packagemanager for the Delphi-IDE
Mozilla Public License 2.0
235 stars 64 forks source link

Delphinus websetup failed with errors #60

Closed kadyrkulovr closed 6 years ago

kadyrkulovr commented 6 years ago

hello can you help me to fix errors?

Here is setup log:

<Info> Downloading Delphinus
<Info> Version: 
<Info> BDS 18.0
<Info> Installing
<Info> Copying sourcefolders:
<Info> .
<Info> Compiling Delphinus.dproj
<Info> Win32
<Info> Microsoft (R) Build Engine Version 3.5.30729.5420
[Microsoft .NET Framework, Version 2.0.50727.5420]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 03.11.2017 9:31:18.
Project "C:\Program Files\Delphinus\18.0\source\Packages\DelphiXE6\Delphinus.dproj" on node 0 (Build target(s)).
E:\Program Files\Embarcadero\Studio\18.0\Bin\CodeGear.Delphi.Targets(652,5): error MSB4127: The "CreateProperty" task could not be instantiated from the assembly "Microsoft.Build.Tasks, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 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. ЌҐ г¤ «®бм ЇаЁўҐбвЁ вЁЇ ®ЎкҐЄв  "Microsoft.Build.Tasks.CreateProperty" Є вЁЇг "Microsoft.Build.Framework.ITask".
E:\Program Files\Embarcadero\Studio\18.0\Bin\CodeGear.Delphi.Targets(652,5): error MSB4060: The "CreateProperty" task has been declared or used incorrectly, or failed during construction. Check the spelling of the task name and the assembly name.
Done Building Project "C:\Program Files\Delphinus\18.0\source\Packages\DelphiXE6\Delphinus.dproj" (Build target(s)) -- FAILED.

Build FAILED.

"C:\Program Files\Delphinus\18.0\source\Packages\DelphiXE6\Delphinus.dproj" (Build target) (1) ->
(SetBuildOptions target) -> 
  E:\Program Files\Embarcadero\Studio\18.0\Bin\CodeGear.Delphi.Targets(652,5): error MSB4127: The "CreateProperty" task could not be instantiated from the assembly "Microsoft.Build.Tasks, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 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. ЌҐ г¤ «®бм ЇаЁўҐбвЁ вЁЇ ®ЎкҐЄв  "Microsoft.Build.Tasks.CreateProperty" Є вЁЇг "Microsoft.Build.Framework.ITask".
  E:\Program Files\Embarcadero\Studio\18.0\Bin\CodeGear.Delphi.Targets(652,5): error MSB4060: The "CreateProperty" task has been declared or used incorrectly, or failed during construction. Check the spelling of the task name and the assembly name.

    0 Warning(s)
    2 Error(s)

Time Elapsed 00:00:00.09

<Error> Failed
<Info> Adding Libpathes:
<Error> Failed

I suppose there is some problem with .net framework, here is result from .Net Version Detector:

<32Bit>
2.0.50727.5420
  ->C:\Windows\Microsoft.NET\Framework\v2.0.50727
4.7.2053.0
  ->C:\Windows\Microsoft.NET\Framework\v4.0.30319

< Installed .NET Frameworks >
.NET FW 2.0 SP 2  (CLR:2.0)
.NET FW 4.6.2 General release (CLR:4.0)
.NET FW 4.7 General release (CLR:4.0)

< Installed Updates >

< Installed Languages 3.0>
< Installed Languages 3.5.x>
< Installed Languages 4.x>
English - United States
kadyrkulovr commented 6 years ago

Ok, problem solved. In my case i activate checkbox in control panel -> Programs and features -> Turn windows features on or off -> .Net framework 3.5 (witch include 2.0)

Memnarch commented 6 years ago

AH, good you found the problem (because i'd not have any^^")