Compiling from source with only VS2013 installed

Nov 7, 2014 at 12:09 PM
Hi,

I only have installed VS2013 Pro and F# Tools for Visual Studio Express 2012 for Web

I was trying to compile from source, and got an error related to looking for Microsoft.Build.Utilities 4.0 (which is the VS2012 version) but founding Microsoft.Build.Utilities 12.0 (which is the VS2013 version).

Is there any known workaround for this aside from having to install full VS2012?

Thanks,
Gustavo

Error
"C:\Git\visualfsharp\src\fsharp\FSharp.Build-proto\FSharp.Build-proto.fsproj" (Build target) (2) ->
(ResolveAssemblyReferences target) ->
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3257: The primary referenc
e "Microsoft.Build.Framework, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" could not be resolved
because it has a higher version "12.0.0.0" than exists in the current target framework. The version found in the curre
nt target framework is "4.0.0.0". [C:\Git\visualfsharp\src\fsharp\FSharp.Build-proto\FSharp.Build-proto.fsproj]
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3258: The primary referenc
e "Microsoft.Build.Utilities.v12.0" could not be resolved because it has an indirect dependency on the .NET Framework a
ssembly "Microsoft.Build.Framework, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which has a hig
her version "12.0.0.0" than the version "4.0.0.0" in the current target framework. [C:\Git\visualfsharp\src\fsharp\FSha
rp.Build-proto\FSharp.Build-proto.fsproj]
Nov 7, 2014 at 1:12 PM
Nevermind this, this was actually a Windows bug that was invoking the wrong shortcut, so I was using the wrong command line tools
Marked as answer by ovatsus on 11/7/2014 at 5:12 AM