mirror of
https://github.com/hirschmann/nbfc.git
synced 2026-04-25 08:35:56 +03:00
[GH-ISSUE #64] When build is execute nuget.exe is not found #55
Labels
No labels
Stale
bug
config
discussion
duplicate
enhancement
experimental
feature
help-wanted
info
invalid
invalid
pull-request
question
up-for-grabs
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nbfc-hirschmann#55
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TobiasKi on GitHub (Feb 26, 2016).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/64
I am in Powershell console and execute Build.ps1. The error is that nuget.exe can not be found as part of a CmdLet, Function or script. But nuget.exe is in the directory from which I execute build.ps1 :(
@hirschmann commented on GitHub (Feb 26, 2016):
nuget.exe should be in the nbfc directory, otherwise it will not work.
From which location did you execute the script?
@Hornstrom commented on GitHub (Mar 18, 2016):
I'm also having trouble executing the build script. Navigated to C:\Users\horns\nbfc in powershell where the git command placed the files and did .\build.ps1 to run the script. There is a nuget.exe in that folder. Am I doing something wrong? At the top it says this:
And at the end it says this:
There is something like 85 build errors while it tries to execute the script but I'm guessing thats because nuget dosen't execute correctly?
@hirschmann commented on GitHub (Mar 22, 2016):
Like the suggestion says, powershell does not load commands from the current location.
On my system powershell behaves differently (the build script works), so I couldn't reproduce your error.
Nevertheless, I fixed the build script, so it should work on your system:
d94512ad56Thanks for your bug report!
@TobiasKi commented on GitHub (Mar 30, 2016):
Thanks. With the latest fix in the script nuget.exe can be found. However, when I run the buildscript I get another issue now. It's saying that ".NETFramework,Version=v4.5,Profile=Mono" can not be found. There more details saying that Mono.Posix-Assembly can not be found as well. On my system .NET 4.0 is installed. When I download the package from the link given on your repository landing page, it's saying that I can not continue because it is included in my system already. 3.9.1208.0 on my system as well (seems to be the latest version).
@hirschmann commented on GitHub (Mar 30, 2016):
The issue is caused by a litte workaround I used to build the plugins for Linux on Windows (just to see if it works ;)).
Should be fixed now:
6db1df3ec7@TobiasKi commented on GitHub (Apr 4, 2016):
Yes, thank you. It is the fix!