Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Install Nuget Packages
-
i'm trying to use the "install NuGet Packages" to run a restore before I run msbuild but it keeps blowing up, with an exception of : Inedo.IO.PathEx.DetectDirectorySeparator(String)
I'd paste some pictures of my definition and results, but apparently the UI doesn't allow it??
Product: BuildMaster
Version: 5.6.11
-
Additional Info:
Get latest from source control complete.
Using LocalAgent agent on BuildMaster
Unhandled exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Inedo.IO.PathEx.DetectDirectorySeparator(String path)
at Inedo.IO.PathEx.Combine(String path1, String path2)
at Inedo.BuildMasterExtensions.NuGet.Operations.InstallPackagesOperation.<ExecuteAsync>d__12.MoveNext() in C:\ProgramData\InedoAgent\BuildMaster\Temp_E63052\Src\Extension\Operations\InstallPackagesOperation.cs:line 41
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.DeploymentPlanExecuter.<Inedo-ExecutionEngine-Executer-IExecutionHostEnvironment-ExecuteActionAsync>d__25.MoveNext()
-
Can you update to the latest NuGet extension v5.6.0 if you haven't already?
-
That fixed it, argh! Been messing with this for hours! Thanks!