>From Installing the .NET Framework 4.5 RC <http://msdn.microsoft.com/en-us/library/5a4x27ek(v=vs.110).aspx> : "The .NET Framework 4.5 RC replaces the .NET Framework 4. When you install the .NET Framework 4.5 RC on a system that has the .NET Framework 4 installed, the assemblies are replaced."
Also, there is no new entry in HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP (which is gonna play havoc with automated version detection scripts that RELY on these entries being consistent). Therefore, you would think the file in \Framework64\v4.0.30319\msbuild.exe would report itself as 4.5. It does not: C:\Windows\Microsoft.NET\Framework64\v4.0.30319>MSBuild /version Microsoft (R) Build Engine version 4.0.30319.17626 [Microsoft .NET Framework, version 4.0.30319.17626] Copyright (C) Microsoft Corporation. All rights reserved. The versions of the file did change as a result of the upgrade - going from 4.0.30319.1 to 4.0.30319.17626. When reading MSBuild Tool Set (ToolsVersion) <http://msdn.microsoft.com/en-us/library/bb383796(v=vs.110).aspx> , it appears that the changes are mostly about tool sets and targets. However, then in Configuring Targets and Tasks <http://msdn.microsoft.com/en-us/library/hh264218(v=vs.110).aspx> it says "To build a .NET Framework 4.5 application, you must also have the .NET Framework 4.5 reference assemblies. These are included in Visual Studio 2012 RC." Also, per this <http://youtrack.jetbrains.com/issue/TW-20630> , the TeamCity agent for will not support .NET 4.5 except at the EAP of 7.1. Currently we're at 6.5, and 7.0.4 is the stable release. I've spent some considerable time with this, and I've moved forward, but still don't have a viable build agent for 4.5 on TeamCity. Also, I did try to get msbuild to work in the "4.5" manner without installing VS 2012 RC, and it barked at me stating that it didn't understand the ToolsVersion: D:\Development\Castle.Core\Core>C:\Windows\microsoft.net\framework\v4.0.3031 9\msbuild.exe /m "D:\Development\Castle.Core\Core\buildscripts\Build.proj" /p:Platform="Any CPU" /p:BuildConfigKey=NET45 /p:TargetFrameworkVersion=v4.5 /ToolsVersion:4.5 /property:Configuration=NET45-Release /t:RunAllTests Microsoft (R) Build Engine version 4.0.30319.17626 [Microsoft .NET Framework, version 4.0.30319.17626] Copyright (C) Microsoft Corporation. All rights reserved. MSBUILD : error MSB1040: ToolsVersion is not valid. The tools version "4.5" is unrecognized. Available tools versions are "2.0", "3.5", "4.0". Switch: 4.5 Bottom line: The .NET 4.5 build platform is awaiting a VS 2012 RC installation to see if msbuild will then understand the /tv:4.5 switch. After that it'll be a matter of making the TeamCity BuildAgent understand how to execute the build. I'm thinking I may just be able to re-use the 4.0 Build Runner, since the executable is located in the same place between 4.0 and 4.5. -rb From: G. Richard Bellamy [mailto:[email protected]] Sent: Saturday, July 28, 2012 12:13 PM To: [email protected] Subject: RE: .NET 4.5 Hence my question. the idea that an IDE is _required_ strikes me as basically crazy. Did you ever figure it out? I've started over with a fresh instance. -rb From: [email protected] [mailto:[email protected]] On Behalf Of Rory Plaire Sent: Friday, July 27, 2012 12:23 PM To: [email protected] Subject: Re: .NET 4.5 I believe the .Net 4.5 SDK still ships with msbuild.exe and csc.exe, even if the C++ and other windows build tools are missing, as James indicates. I'm downloading just the SDK now to find out. In general, I've found it's best to not have VS on a build machine. -r On Fri, Jul 27, 2012 at 11:28 AM, G. Richard Bellamy <[email protected]> wrote: I've downloaded the RC of VS 2012, but am having some issues installing it. I'll keep you guys posted. -rb From: [email protected] [mailto:[email protected]] On Behalf Of James Curran Sent: Friday, July 27, 2012 9:12 AM To: [email protected] Subject: Re: .NET 4.5 The most recent is the Windows SDK for Windows 8 Release Preview (http://msdn.microsoft.com/en-US/windows/desktop/hh852363) Note that Win8 SDK is "Preview" while the included .NET v4.5 SDK is "RC" Also note (from that page): "The Windows SDK no longer ships with a complete command-line build environment. You must install a compiler and build environment separately. If you require a complete development environment that includes compilers and a build environment, you can <http://go.microsoft.com/fwlink/p/?LinkId=238476> download Visual Studio 2012 RC, which includes the necessary components of the Windows SDK." Truth, James On Wed, Jul 25, 2012 at 8:05 PM, Rory Plaire <[email protected]> wrote: Technically, .Net 4.5 development doesn't require VS 2012, since all the needed tools to do it are in the SDK (and thus this is all a build server needs). I think Krzysztof's point is you can't use VS 2010 to do it. -r On Wed, Jul 25, 2012 at 4:50 PM, G. Richard Bellamy <[email protected]> wrote: Okay. So my guess is that you're both right. I'll look into it more and have an update here tomorrow. -rb On Wed, Jul 25, 2012 at 4:42 PM, Rory Plaire <[email protected]> wrote: A .Net 4.5 build should not require VS 2012, just the .Net 4.5 SDK. On Wed, Jul 25, 2012 at 4:32 PM, G. Richard Bellamy <[email protected]> wrote: I'll set this up... I've got a dedicated EC2 instance I can put this on. Does 4.5 require VS.NET 2012? I haven't looked into the dependencies at all... -rb On Wed, Jul 11, 2012 at 2:12 PM, Krzysztof Koźmic <[email protected]> wrote: Just bumping the thread. Is anyone interested/capable of providing a .NET 4.5 build agent? We're going to release Windsor 3.1 with no official .NET 4.5 build but I think we should follow with 3.1.1 or 3.2 soon after. @K On Friday, June 15, 2012 2:24:43 PM UTC+10, Krzysztof Koźmic wrote: Hi guys. it might be time to start doing .NET 4.5 builds. Can someone set up a .NET 4.5 build agent please? @K -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To view this discussion on the web visit https://groups.google.com/d/msg/castle-project-devel/-/ykJWt1SF54AJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected] <mailto:castle-project-devel%[email protected]> . For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en. -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected] <mailto:castle-project-devel%[email protected]> . For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en. -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected] <mailto:castle-project-devel%[email protected]> . For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en. -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected] <mailto:castle-project-devel%[email protected]> . For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en. -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected] <mailto:castle-project-devel%[email protected]> . For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en. -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en. -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected] <mailto:castle-project-devel%[email protected]> . For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en. -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en. -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
