You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
I'm trying to build this project locally (so I can start looking into #160 ) but I'm getting the following output from running build.ps1:
c:\Users\joschm\Source\Repos\Nerdbank.GitVersioning>powershell.exe -ExecutionPolicy bypass -Command "& 'c:\Users\joschm\Source\Repos\Nerdbank.GitVersioning\build.ps1'"
C:\Program Files (x86)\Microsoft Visual Studio\Preview\Enterprise\MSBuild\15.0\bin\Microsoft.Common.CurrentVersion.targets(1490,5): error MSB4062: The "Microsoft.Build.Tasks.AssignProjectConfiguration" task could not be loaded from the assembly Microsoft.Build.Tasks.v12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Could not load file or assembly 'Microsoft.Build.Tasks.v12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Users\joschm\Source\Repos\Nerdbank.GitVersioning\src\Nerdbank.GitVersioning.NuGet\Nerdbank.GitVersioning.NuGet.nuproj]
MSBuildExtensionTask -> C:\Users\joschm\Source\Repos\Nerdbank.GitVersioning\bin\MSBuildExtensionTask\Debug\net45\MSBuildExtensionTask.dll
NerdBank.GitVersioning -> C:\Users\joschm\Source\Repos\Nerdbank.GitVersioning\bin\NerdBank.GitVersioning\Debug\net45\NerdBank.GitVersioning.dll
MSBuildExtensionTask -> C:\Users\joschm\Source\Repos\Nerdbank.GitVersioning\bin\MSBuildExtensionTask\Debug\netcoreapp1.0\MSBuildExtensionTask.dll
NerdBank.GitVersioning -> C:\Users\joschm\Source\Repos\Nerdbank.GitVersioning\bin\NerdBank.GitVersioning\Debug\netcoreapp1.0\NerdBank.GitVersioning.dll
Nerdbank.GitVersioning.Tasks -> C:\Users\joschm\Source\Repos\Nerdbank.GitVersioning\bin\Nerdbank.GitVersioning.Tasks\Debug\net45\Nerdbank.GitVersioning.Tasks.dll
NerdBank.GitVersioning.Tests -> C:\Users\joschm\Source\Repos\Nerdbank.GitVersioning\bin\NerdBank.GitVersioning.Tests\Debug\net452\NerdBank.GitVersioning.Tests.dll
Nerdbank.GitVersioning.Tasks -> C:\Users\joschm\Source\Repos\Nerdbank.GitVersioning\bin\Nerdbank.GitVersioning.Tasks\Debug\netcoreapp1.0\Nerdbank.GitVersioning.Tasks.dll
C:\Users\joschm\Source\Repos\Nerdbank.GitVersioning\build.ps1 : Build failure
At line:1 char:1
+ &'c:\Users\joschm\Source\Repos\Nerdbank.GitVersioning\build.ps1'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,build.ps1
MSBuild failed
At C:\Users\joschm\Source\Repos\Nerdbank.GitVersioning\build.ps1:33 char:13
+ throw "MSBuild failed"
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (MSBuild failed:String) [], RuntimeException
+ FullyQualifiedErrorId : MSBuild failed
I'm using VS 2017 - do I need some older version of MSBuild?
The text was updated successfully, but these errors were encountered:
Hey,
I'm trying to build this project locally (so I can start looking into #160 ) but I'm getting the following output from running
build.ps1
:I'm using VS 2017 - do I need some older version of MSBuild?
The text was updated successfully, but these errors were encountered: