This is a migrated thread and some comments may be shown as answers.
Builderrors trying to build sourcecode of RadControls_for_WPF_2011_1_0419_Source
5 Answers 108 Views
This is a migrated thread and some comments may be shown as answers.
Jan Pfeffer
Top achievements
Rank 1
Jan Pfeffer asked on 27 Jun 2011, 01:32 PM

Setup:

Windows 7 – 64 bit

Visual Studio 2010 installed

Downloaded and extracted the zip file “RadControls_for_WPF_2011_1_0419_Source.zip”
 

According to “RadControls_for_WPF_2011_1_0419_Source\Instructions\RadControls for WPF and SL build source code instructions.doc” there are different ways to build the WPF controls.

 

 

When using the method of executing: “RadControls_for_WPF_2011_1_0419_Source\Build\Build_WPF.bat” MSBuild.exe crashes.

When using the granular build, I get build errors:

 

When trying to build the core, using “%SYSTEMROOT%\Microsoft.NET\Framework\v3.5\MSBuild XCore_WPF.sln /p:Configuration="Release" /target:Rebuild > BuildCoreLog.txt”

There’s 7 build errors and 14 warnings.

 

A similar result is achieved by using the existing entry in the RadControls_for_WPF_2011_1_0419_Source\Core\Build.bat – “C:\Windows\microsoft.net\framework\v3.5\MSBuild.exe XCore_WPF.sln /target:Rebuild /property:Configuration=Release;Msbuild35=true > WPF.log.txt”

Copy-paste from "BuildCoreLog.txt":

 

Microsoft (R) Build Engine Version 3.5.30729.4926
[Microsoft .NET Framework, Version 2.0.50727.4961]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 27-06-2011 14:28:05.
Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" on node 0 (Rebuild target(s)).
  Building solution configuration "Release|Any CPU".
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (1) is building "C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\Core.Design.csproj" (2) on node 0 (Rebuild target(s)).
Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion="3.5".
CoreClean:
  Deleting file "C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\obj\Release\ResolveAssemblyReference.cache".
  Deleting file "C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\obj\Release\Resources\SharedResourcesDictionary.baml".
  Deleting file "C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\obj\Release\Resources\SharedResourcesDictionary.g.cs".
  Deleting file "C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\obj\Release\GeneratedInternalTypeHelper.g.cs".
EntityClean:
  Successfully cleaned the output for 0 EDMX files.
PostSharp20Clean:
  Directory "obj\Release\PostSharp" doesn't exist. Skipping.
  Directory "obj\Release\Before-PostSharp" doesn't exist. Skipping.
CleanAssemblyInfo:
  Cleaningn version info file
EntityDeploy:
  Processing 0 EDMX files.
  Finished processing 0 EDMX files.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
Project "C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\Core.Design.csproj" (2) is building "C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\iejr3yn1.tmp_proj" (3) on node 0 (_CompileTemporaryAssembly target(s)).
Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion="3.5".
GenerateVersionInfoCore:
  Version is: 2011.1.1
  FrameworkVersion: 3.5,4.0
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.
Done Building Project "C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\iejr3yn1.tmp_proj" (_CompileTemporaryAssembly target(s)) -- FAILED.
C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\Themes\Generic.xaml(8,6): error MC3074: The tag 'PercentToDoubleConverter' does not exist in XML namespace 'clr-namespace:Telerik.Windows.Core.Design'. Line 8 Position 6.
Done Building Project "C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\Core.Design.csproj" (Rebuild target(s)) -- FAILED.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (1) is building "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Controls_WPF.csproj" (4) on node 0 (Rebuild target(s)).
Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion="3.5".
EntityClean:
  Successfully cleaned the output for 0 EDMX files.
PostSharp20Clean:
  Directory "obj\Release\PostSharp" doesn't exist. Skipping.
  Directory "obj\Release\Before-PostSharp" doesn't exist. Skipping.
CleanAssemblyInfo:
  Cleaningn version info file
GenerateVersionInfoCore:
  Version is: 2011.1.1
  FrameworkVersion: 3.5,4.0
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.
Done Building Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Controls_WPF.csproj" (Rebuild target(s)) -- FAILED.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (1) is building "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.Design.csproj" (5) on node 0 (Rebuild target(s)).
Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion="3.5".
EntityClean:
  Successfully cleaned the output for 0 EDMX files.
PostSharp20Clean:
  Directory "obj\Release\PostSharp" doesn't exist. Skipping.
  Directory "obj\Release\Before-PostSharp" doesn't exist. Skipping.
CleanAssemblyInfo:
  Cleaningn version info file
EntityDeploy:
  Processing 0 EDMX files.
  Finished processing 0 EDMX files.
GenerateVersionInfoCore:
  Version is: 2011.1.1
  FrameworkVersion: 3.5,4.0
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.
Done Building Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.Design.csproj" (Rebuild target(s)) -- FAILED.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (1) is building "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.Expression.Design.csproj" (6) on node 0 (Rebuild target(s)).
Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion="3.5".
EntityClean:
  Successfully cleaned the output for 0 EDMX files.
PostSharp20Clean:
  Directory "obj\Release\PostSharp" doesn't exist. Skipping.
  Directory "obj\Release\Before-PostSharp" doesn't exist. Skipping.
CleanAssemblyInfo:
  Cleaningn version info file
EntityDeploy:
  Processing 0 EDMX files.
  Finished processing 0 EDMX files.
GenerateVersionInfoCore:
  Version is: 2011.1.1
  FrameworkVersion: 3.5,4.0
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.
Done Building Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.Expression.Design.csproj" (Rebuild target(s)) -- FAILED.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (1) is building "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.VisualStudio.Design.4.0.csproj" (7) on node 0 (Rebuild target(s)).
Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion="3.5".
EntityClean:
  Successfully cleaned the output for 0 EDMX files.
PostSharp20Clean:
  Directory "obj\Release\PostSharp" doesn't exist. Skipping.
  Directory "obj\Release\Before-PostSharp" doesn't exist. Skipping.
CleanAssemblyInfo:
  Cleaningn version info file
EntityDeploy:
  Processing 0 EDMX files.
  Finished processing 0 EDMX files.
GenerateVersionInfoCore:
  Version is: 2011.1.1
  FrameworkVersion: 3.5,4.0
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.
Done Building Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.VisualStudio.Design.4.0.csproj" (Rebuild target(s)) -- FAILED.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (1) is building "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.VisualStudio.Design.csproj" (8) on node 0 (Rebuild target(s)).
Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion="3.5".
EntityClean:
  Successfully cleaned the output for 0 EDMX files.
PostSharp20Clean:
  Directory "obj\Release\PostSharp" doesn't exist. Skipping.
  Directory "obj\Release\Before-PostSharp" doesn't exist. Skipping.
CleanAssemblyInfo:
  Cleaningn version info file
EntityDeploy:
  Processing 0 EDMX files.
  Finished processing 0 EDMX files.
GenerateVersionInfoCore:
  Version is: 2011.1.1
  FrameworkVersion: 3.5,4.0
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.
Done Building Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.VisualStudio.Design.csproj" (Rebuild target(s)) -- FAILED.
Done Building Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target(s)) -- FAILED.

Build FAILED.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\Core.Design.csproj" (Rebuild target) (2) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\Core.Design.csproj" (Rebuild target) (2) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\iejr3yn1.tmp_proj" (_CompileTemporaryAssembly target) (3) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Controls_WPF.csproj" (Rebuild target) (4) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.Design.csproj" (Rebuild target) (5) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.Expression.Design.csproj" (Rebuild target) (6) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.VisualStudio.Design.4.0.csproj" (Rebuild target) (7) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.VisualStudio.Design.csproj" (Rebuild target) (8) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\Core.Design.csproj" (Rebuild target) (2) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\iejr3yn1.tmp_proj" (_CompileTemporaryAssembly target) (3) ->
(GenerateVersionInfoCore target) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\Core.Design.csproj" (Rebuild target) (2) ->
(MarkupCompilePass2 target) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\Themes\Generic.xaml(8,6): error MC3074: The tag 'PercentToDoubleConverter' does not exist in XML namespace 'clr-namespace:Telerik.Windows.Core.Design'. Line 8 Position 6.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Controls_WPF.csproj" (Rebuild target) (4) ->
(GenerateVersionInfoCore target) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.Design.csproj" (Rebuild target) (5) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.Expression.Design.csproj" (Rebuild target) (6) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.VisualStudio.Design.4.0.csproj" (Rebuild target) (7) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.VisualStudio.Design.csproj" (Rebuild target) (8) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.

    14 Warning(s)
    7 Error(s)

Time Elapsed 00:00:02.57

 

 

 

 

5 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 27 Jun 2011, 02:21 PM
Hi Jan Pfeffer,

Please install .Net 4.0 and StyleCop 4.3 (with MsBuild Intergration enabled).

Hope this helps.

Kind regards,
Milan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jan Pfeffer
Top achievements
Rank 1
answered on 27 Jun 2011, 03:24 PM
It didn't help.
.NET 4.0 was already installed.
I've installed StyleCop 4.3 with MsBuild Integration enabled, using the link provided.
MsBuild still crashes when using build_wpf.bat and the build log for building the core is identical to the one posted above.
0
Yordanka
Telerik team
answered on 28 Jun 2011, 10:34 AM
Hi Jan Pfeffer,

The problem comes from the fact that Build_WPF.bat includes build definition for the Documents source which is not included in the shipped zip file. To succeed the build you need to modify BuildControls.proj file. Please, open it and delete these lines:
 
$(ControlsRootDir)Documents\Documents_WPF.sln;         
$(ControlsRootDir)Controls\Expressions\Expressions_WPF.sln;         
$(ControlsRootDir)Themes\Themes.Sources_WPF.sln

Let us know in case this doesn't help.
 
Regards,
Yordanka
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jan Pfeffer
Top achievements
Rank 1
answered on 28 Jun 2011, 11:52 AM
That didn't solve the problem either. MsBuild still crash and I doubt it will fix the problem building the core.

Here's a copy-paste of the last lines from the command window when running "Build_WPF.bat" after the modifications of BuildControls.proj. (It's the same result as before the modifications)

PostSharp20Clean:
  Directory "obj\Release\PostSharp" doesn't exist. Skipping.
  Directory "obj\Release\Before-PostSharp" doesn't exist. Skipping.
CleanAssemblyInfo:
  Cleaningn version info file
  Deleting file "VersionAssemblyInfo.cs".

Unhandled Exception: Microsoft.Build.Shared.InternalErrorException: MSB0001: Int
ernal MSBuild Error: MSB0001: Internal MSBuild Error: Global Request Id 2 has no
t been assigned and cannot be retrieved.
=============
Microsoft.Build.Shared.InternalErrorException: MSB0001: Internal MSBuild Error:
Global Request Id 2 has not been assigned and cannot be retrieved.
   at Microsoft.Build.Shared.ErrorUtilities.ThrowInternalError(String message, O
bject[] args)
   at Microsoft.Build.Shared.ErrorUtilities.VerifyThrow(Boolean condition, Strin
g unformattedMessage, Object arg0)
   at Microsoft.Build.BackEnd.SchedulingData.GetScheduledRequest(Int32 globalReq
uestId)
   at Microsoft.Build.BackEnd.Scheduler.HandleRequestBlockedOnInProgressTarget(S
chedulableRequest blockedRequest, BuildRequestBlocker blocker)
   at Microsoft.Build.BackEnd.Scheduler.ReportRequestBlocked(Int32 nodeId, Build
RequestBlocker blocker)
   at Microsoft.Build.Execution.BuildManager.HandleNewRequest(Int32 node, BuildR
equestBlocker blocker)
   at Microsoft.Build.Execution.BuildManager.Microsoft.Build.BackEnd.INodePacket
Handler.PacketReceived(Int32 node, INodePacket packet)
   at Microsoft.Build.BackEnd.NodeManager.RoutePacket(Int32 nodeId, INodePacket
packet)
   at Microsoft.Build.BackEnd.NodeProviderInProc.RoutePacket(Int32 nodeId, INode
Packet packet)
   at Microsoft.Build.BackEnd.NodeEndpointInProc.SendData(INodePacket packet)
   at Microsoft.Build.BackEnd.InProcNode.OnNewRequest(BuildRequestBlocker blocke
r)
   at Microsoft.Build.BackEnd.BuildRequestEngine.RaiseRequestBlocked(BuildReques
tBlocker blocker)
   at Microsoft.Build.BackEnd.BuildRequestEngine.IssueBuildRequest(BuildRequestB
locker blocker)
   at Microsoft.Build.BackEnd.BuildRequestEngine.IssueUnsubmittedRequests()
   at Microsoft.Build.BackEnd.BuildRequestEngine.EngineLoop()

 ---> Microsoft.Build.Shared.InternalErrorException: MSB0001: Internal MSBuild E
rror: Global Request Id 2 has not been assigned and cannot be retrieved.
   at Microsoft.Build.Shared.ErrorUtilities.ThrowInternalError(String message, O
bject[] args)
   at Microsoft.Build.Shared.ErrorUtilities.VerifyThrow(Boolean condition, Strin
g unformattedMessage, Object arg0)
   at Microsoft.Build.BackEnd.SchedulingData.GetScheduledRequest(Int32 globalReq
uestId)
   at Microsoft.Build.BackEnd.Scheduler.HandleRequestBlockedOnInProgressTarget(S
chedulableRequest blockedRequest, BuildRequestBlocker blocker)
   at Microsoft.Build.BackEnd.Scheduler.ReportRequestBlocked(Int32 nodeId, Build
RequestBlocker blocker)
   at Microsoft.Build.Execution.BuildManager.HandleNewRequest(Int32 node, BuildR
equestBlocker blocker)
   at Microsoft.Build.Execution.BuildManager.Microsoft.Build.BackEnd.INodePacket
Handler.PacketReceived(Int32 node, INodePacket packet)
   at Microsoft.Build.BackEnd.NodeManager.RoutePacket(Int32 nodeId, INodePacket
packet)
   at Microsoft.Build.BackEnd.NodeProviderInProc.RoutePacket(Int32 nodeId, INode
Packet packet)
   at Microsoft.Build.BackEnd.NodeEndpointInProc.SendData(INodePacket packet)
   at Microsoft.Build.BackEnd.InProcNode.OnNewRequest(BuildRequestBlocker blocke
r)
   at Microsoft.Build.BackEnd.BuildRequestEngine.RaiseRequestBlocked(BuildReques
tBlocker blocker)
   at Microsoft.Build.BackEnd.BuildRequestEngine.IssueBuildRequest(BuildRequestB
locker blocker)
   at Microsoft.Build.BackEnd.BuildRequestEngine.IssueUnsubmittedRequests()
   at Microsoft.Build.BackEnd.BuildRequestEngine.EngineLoop()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.ErrorUtilities.ThrowInternalError(String message, E
xception innerException, Object[] args)
   at Microsoft.Build.BackEnd.BuildRequestEngine.EngineLoop()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
Press any key to continue . . .

0
Milan
Telerik team
answered on 01 Jul 2011, 02:05 PM
Hi Jan Pfeffer,

Those error are quite strange - it seems that something is wrong with the MsBuild engine itself. I see that there is a reference to PostSharp and Before-PostShart in the build logs. Could you please informs if you have done any customizations to the build scripts besides the ones that we have mentioned in our previous post?

Also, are you running the build scripts directly from the console or with the help of another tool? 

All the best,
Milan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Jan Pfeffer
Top achievements
Rank 1
Answers by
Milan
Telerik team
Jan Pfeffer
Top achievements
Rank 1
Yordanka
Telerik team
Share this question
or