mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Fork > dotnet restore > fail #44
Reference in New Issue
Block a user
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 @tebeco on GitHub (Nov 3, 2017).
Originally assigned to: @robertmuehsig on GitHub.
Hi,
I Just tried yo fork and restore for a PR but here it how it went :
ElectronNET.WebApp.csproj : error NU1102: Unable to find package ElectronNET.API with version (>= 1.0.0)\r [C:\Workspace\GitHub\TeBeCo\Electron.NET\ElectronNET.sln]
ElectronNET.WebApp.csproj : error NU1102: - Found 5 version(s) in nuget.org [ Nearest version: 0.0.5 ]\r [C:\Workspace\GitHub\TeBeCo\Electron.NET\ElectronNET.sln]
ElectronNET.WebApp.csproj : error NU1102: - Found 0 version(s) in LocalDev [C:\Workspace\GitHub\TeBeCo\Electron.NET\ElectronNET.sln]
@tebeco commented on GitHub (Nov 3, 2017):
I Also tried nuget CLI 4.1.0.2450
@robertmuehsig commented on GitHub (Nov 3, 2017):
Ah - sorry: First guess would be that we referenced the "ElectronNET.WebApp" as a project reference instead of a NuGet reference like the CLI.
Maybe invoke buildAll.cmd the first time - this should build the projects in correct order.
But I will take a look - sorry for the inconvenience!
@robertmuehsig commented on GitHub (Nov 4, 2017):
I added some notes, because I think it is just because of the LocalDev NuGet folder that is empty on your machine: https://github.com/ElectronNET/Electron.NET#working-with-this-repo
Does that help?
@tebeco commented on GitHub (Nov 5, 2017):
i still got error with buildall.cmd also it takes too much time to finish the build
when i just wanted a restore ;)
will retry with 0.6
@robertmuehsig commented on GitHub (Nov 5, 2017):
As an alternative: Use dotnet build in the API and CLI folder, this should make sure the NuGet packages are present in the LocalDev folder under /artifacts
@robertmuehsig commented on GitHub (Nov 12, 2017):
Still having issues?
@tebeco commented on GitHub (Nov 12, 2017):
yes but i did not pull from the repo this week (had no time at work)
also after discussing about dotnet-cli on “aspnetcore slack” someone gave me the proper syntax, still need to test it
@tebeco commented on GitHub (Nov 12, 2017):
again when using a CLI extension there should be no trick should be either
@tebeco commented on GitHub (Nov 14, 2017):
@robertmuehsig #56
@robertmuehsig commented on GitHub (Nov 14, 2017):
PR merged (and I also enhanced the .sh for osx/linux builds). Can this issue be closed?
@tebeco commented on GitHub (Nov 15, 2017):
I had a build error in a controller yesterday (about an event delegate not having the good signature)
is that normal to see both build green and this error locally ?
@robertmuehsig commented on GitHub (Nov 15, 2017):
I noticed it yesterday too, but I couldn’t reproduce it and the builds are fine. Do you still get the build error with the most recent version? Maybe the Webapp has used an older API NuGet package and it was resolved after a dotnet restore
Von meinem iPhone gesendet
Am 15.11.2017 um 07:24 schrieb TeBeCo <notifications@github.commailto:notifications@github.com>:
I had a build error in a controller yesterday (about an event delegate not having the good signature)
is that normal to see both build green and this error locally ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/ElectronNET/Electron.NET/issues/29#issuecomment-344497748, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAuL39rVoZjLw2EspDdUNHarWGkPaCf3ks5s2oOcgaJpZM4QRXcp.
@robertmuehsig commented on GitHub (Nov 15, 2017):
Ok - I could reproduce it: Root cause is, that Gregor enhanced the API and used the new code in the WebApp. You need to execute the devCleanup.cmd and do a dotnet restore on the WebApp so that NuGet picks the updated Electron.API dll.
I will close this issue now - the original error has been resolved - hope this is OK for you.