Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/fsharp/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Compiler errors 错误MSB4036:;WebSharperTask";找不到任务_Compiler Errors_F#_Visual Studio 2015_Websharper - Fatal编程技术网

Compiler errors 错误MSB4036:;WebSharperTask";找不到任务

Compiler errors 错误MSB4036:;WebSharperTask";找不到任务,compiler-errors,f#,visual-studio-2015,websharper,Compiler Errors,F#,Visual Studio 2015,Websharper,我在Windows 10下安装了Visual Studio 2015社区版,并继续试用UI.Next单页应用程序项目模板 使用F5构建它将导致下面的内容,而我希望它“正常工作”。修复此类错误的最佳方法是什么?(我对Windows编程相当陌生) 并且引用的dll(如上)按预期存在于该目录下:\\psf\Home\Documents\Visual Studio 2015\Projects\UINextApplication1\packages\WebSharper.3.4.8.187\tools\n

我在Windows 10下安装了Visual Studio 2015社区版,并继续试用UI.Next单页应用程序项目模板

使用F5构建它将导致下面的内容,而我希望它“正常工作”。修复此类错误的最佳方法是什么?(我对Windows编程相当陌生)

并且引用的dll(如上)按预期存在于该目录下:
\\psf\Home\Documents\Visual Studio 2015\Projects\UINextApplication1\packages\WebSharper.3.4.8.187\tools\net40

那个“\psf”可能是由于我在Mac上使用Parallels 10运行Windows造成的。也许这就是罪魁祸首

\\psf\home\documents\visual studio 2015\Projects\UINextApplication1\packages\WebSharper.3.4.8.187\build\WebSharper.targets(57,5): error MSB4036: The "WebSharperTask" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\Program Files (x86)\MSBuild\14.0\bin" directory.
------ Build started: Project: UINextApplication1, Configuration: Debug Any CPU ------
    C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\fsc.exe -o:obj\Debug\UINextApplication1.dll -g --debug:full --noframework --define:DEBUG --define:TRACE --optimize- --tailcalls- -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.1.0\FSharp.Core.dll" -r:"\\psf\home\documents\visual studio 2015\Projects\UINextApplication1\packages\WebSharper.3.4.8.187\lib\net40\IntelliFactory.Xml.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Numerics.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" -r:"\\psf\home\documents\visual studio 2015\Projects\UINextApplication1\packages\WebSharper.3.4.8.187\lib\net40\WebSharper.Collections.dll" -r:"\\psf\home\documents\visual studio 2015\Projects\UINextApplication1\packages\WebSharper.3.4.8.187\lib\net40\WebSharper.Control.dll" -r:"\\psf\home\documents\visual studio 2015\Projects\UINextApplication1\packages\WebSharper.3.4.8.187\lib\net40\WebSharper.Core.dll" -r:"\\psf\home\documents\visual studio 2015\Projects\UINextApplication1\packages\WebSharper.3.4.8.187\lib\net40\WebSharper.Core.JavaScript.dll" -r:"\\psf\home\documents\visual studio 2015\Projects\UINextApplication1\packages\WebSharper.3.4.8.187\lib\net40\WebSharper.Html.Client.dll" -r:"\\psf\home\documents\visual studio 2015\Projects\UINextApplication1\packages\WebSharper.3.4.8.187\lib\net40\WebSharper.Html.Server.dll" -r:"\\psf\home\documents\visual studio 2015\Projects\UINextApplication1\packages\WebSharper.3.4.8.187\lib\net40\WebSharper.InterfaceGenerator.dll" -r:"\\psf\home\documents\visual studio 2015\Projects\UINextApplication1\packages\WebSharper.3.4.8.187\lib\net40\WebSharper.JavaScript.dll" -r:"\\psf\home\documents\visual studio 2015\Projects\UINextApplication1\packages\WebSharper.3.4.8.187\lib\net40\WebSharper.JQuery.dll" -r:"\\psf\home\documents\visual studio 2015\Projects\UINextApplication1\packages\WebSharper.3.4.8.187\lib\net40\WebSharper.Main.dll" -r:"\\psf\home\documents\visual studio 2015\Projects\UINextApplication1\packages\WebSharper.3.4.8.187\lib\net40\WebSharper.Sitelets.dll" -r:"\\psf\home\documents\visual studio 2015\Projects\UINextApplication1\packages\WebSharper.3.4.8.187\lib\net40\WebSharper.Testing.dll" -r:"\\psf\home\documents\visual studio 2015\Projects\UINextApplication1\packages\WebSharper.UI.Next.3.4.8.156\lib\net40\WebSharper.UI.Next.dll" -r:"\\psf\home\documents\visual studio 2015\Projects\UINextApplication1\packages\WebSharper.UI.Next.3.4.8.156\lib\net40\WebSharper.UI.Next.Templating.dll" -r:"\\psf\home\documents\visual studio 2015\Projects\UINextApplication1\packages\WebSharper.3.4.8.187\lib\net40\WebSharper.Web.dll" --target:library --warn:3 --warnaserror:76 --vserrors --validate-type-providers --LCID:1033 --utf8output --fullpaths --flaterrors --highentropyva- --sqmsessionguid:9ea02008-985a-4196-a958-a795db92a481 "C:\Users\srid\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.fs" Client.fs Global.asax.fs 
\\psf\home\documents\visual studio 2015\Projects\UINextApplication1\packages\WebSharper.3.4.8.187\build\WebSharper.targets(57,5): error MSB4036: The "WebSharperTask" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\Program Files (x86)\MSBuild\14.0\bin" directory.
Done building project "UINextApplication1.fsproj" -- FAILED.
<WebSharperTaskAssembly Condition=" '$(WebSharperTaskAssembly)' == '' ">$(MSBuildThisFileDirectory)/../tools/net40/WebSharper.MSBuild.dll</WebSharperTaskAssembly>