Your comments

Actually, that's just now exactly what I did. I am using bolt to create an integration test. So for sanity, I just pass in the button I want invoked and presto. Perfect!

* bump * 

Is there a solution for this?

Hi mate, has this been implemented? I am wanting to avoid UnityEvents due to the speed.

Cheers

So I got past this error by

  • Start Visual Studio Installer again.
  • click Modify on the Build Tools 2017 item
  • Select Individual Components
  • Navigate the list down to Code tools
  • Select and install both "NugGt targets and build tasks" and "NuGet package manager" Component

Try reinstalling documentation.

Goodaye Mate,

Getting an error while installing the documentation I just cannot figure out...



UnityEditor.Build.BuildFailedException: Failed to build project 'Assembly-CSharp':

/p:Configuration=Debug /p:GenerateDocumentation=true /p:WarningLevel=0 /p:DocumentationFile="D:\UnityProjects\hitiqvr\Assets\Ludiq\Ludiq.Core\Generated\Documentation\Assembly-CSharp.xml" "D:\UnityProjects\hitiqvr\Assembly-CSharp.csproj"

Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

Build started 26/02/2019 2:01:02 PM.

Project "D:\UnityProjects\hitiqvr\Assembly-CSharp.csproj" on node 1 (default targets).

C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1657,5): error MSB4036: The "GetReferenceNearestTargetFrameworkTask" 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 in the project file, or in the *.tasks files located in the "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin" directory. [D:\UnityProjects\hitiqvr\Assembly-CSharp.csproj]

Done Building Project "D:\UnityProjects\hitiqvr\Assembly-CSharp.csproj" (default targets) -- FAILED.

Build FAILED.

C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1657,5): error MSB4036: The "GetReferenceNearestTargetFrameworkTask" 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 in the project file, or in the *.tasks files located in the "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin" directory. [D:\UnityProjects\hitiqvr\Assembly-CSharp.csproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.13 at Ludiq.DocumentationGenerator.GenerateDocumentation (System.String projectPath) [0x00208] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Editor\Documentation\DocumentationGenerator.cs:95 at Ludiq.GenerateDocumentationPage+DocumentationGenerationStep.Update () [0x00028] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Editor\Windows\GenerateDocumentationWindow\GenerateDocumentationPage.cs:277

I have tried installing MSBuild and a bit of a search. I removed project files etc. As sson as I generate a new project for Unity and try running the documentation generation, it gives me this error

Cheers