I am trying to deploy a MVC4 web application for Azure. It has a dependency on the F # project (contains controllers for the MVC application), which continues to not create w / error:
C: \ DWASFiles \ Sites \ jbf \ VirtualDirectory0 \ site \ repository \ JBF.Web \ JBF.Web.Controllers \ JBF.Web.FSharp.fsproj: error MSB4057: target "Build" does not exist in the project,
The project exists in VS2012, which forces modernization of F # projects. I am wondering if this is a dependency that Azure does not yet support with all 4.5 refs points contained in import statements from fsproj:
<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft F#\v4.5\Microsoft.FSharp.Targets" Condition="Exists('$(MSBuildExtensionsPath32)\..\Microsoft F#\v4.5\Microsoft.FSharp.Targets')" /> <Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets" Condition="Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets')" /> <Import Project="$(MSBuildExtensionsPath32)\..\Microsoft F#\v4.0\Microsoft.FSharp.Targets" Condition="(!Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets')) And (Exists('$(MSBuildExtensionsPath32)\..\Microsoft F#\v4.0\Microsoft.FSharp.Targets'))" /> <Import Project="$(MSBuildExtensionsPath32)\FSharp\1.0\Microsoft.FSharp.Targets" Condition="(!Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets')) And (!Exists('$(MSBuildExtensionsPath32)\..\Microsoft F#\v4.0\Microsoft.FSharp.Targets')) And (Exists('$(MSBuildExtensionsPath32)\FSharp\1.0\Microsoft.FSharp.Targets'))" />
For the record, if I pre-create the DLL and deploy it (with a link to the DLL instead of the project), it works fine. In addition, fsproj has no actual dependency on F # 3.0 (the F # 2.0 project has been ported to VS2012).
source share