-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nuget Packages #38
Comments
What is the best way to include the release candidate nupkg in my project? It is a lambda project which using github webhooks for CI/CD and Codepipeline to build. I have found no way, short of hosting a nuget package server of referencing the nupkg in my code locally. Is there something I am missing? |
Hi @Jubilex, yes, at the moment your options are to either host the files yourself temporarily or add them to your repository. |
That is VERY helpful, thank you for taking the time to offer this solution.
Steve
…On Wed, May 18, 2022 at 12:44 PM Dan Spiteri ***@***.***> wrote:
@Jubilex <https://github.com/Jubilex> there is another solution, (and its
how I currently workaround this issue)
1. Clone/Download a Zip of this repository, you want the contents of
"packages" folder somewhere either within your solution's folder, or your
somewhere in your system - if it's a git hosted project, obviously within
your repo is best. I named my folder "lib".
2. Create/edit a NuGet.config file in the same folder as your .sln and
add "lib/" as a package source.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="sln-local" value="lib/" />
</packageSources>
</configuration>
You should end up with something like this:
[image: image]
<https://user-images.githubusercontent.com/983207/169107565-39aabaa9-cfdf-4211-acdc-f9e663ac1ff4.png>
1. Now you should be able to find + reference the packages from the
nuget tool within your IDE, and have it also work via CI/CD etc :)
Hope this helps!
—
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWHFACLJOJDB4YBSH6SP2LVKUT6VANCNFSM5UCF76ZQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I wrote it as I was trying it, after I realised that actually I had to
compile the solution first (from the solution folder, I used `dotnet pack
-o <my_lib_dir>` then I could add the package 'Osc'
On Wed, 18 May 2022, 20:21 Steven Callahan, ***@***.***>
wrote:
… That is VERY helpful, thank you for taking the time to offer this solution.
Steve
On Wed, May 18, 2022 at 12:44 PM Dan Spiteri ***@***.***>
wrote:
> @Jubilex <https://github.com/Jubilex> there is another solution, (and
its
> how I currently workaround this issue)
>
> 1. Clone/Download a Zip of this repository, you want the contents of
> "packages" folder somewhere either within your solution's folder, or your
> somewhere in your system - if it's a git hosted project, obviously within
> your repo is best. I named my folder "lib".
> 2. Create/edit a NuGet.config file in the same folder as your .sln and
> add "lib/" as a package source.
>
> <?xml version="1.0" encoding="utf-8"?>
> <configuration>
> <packageSources>
> <add key="sln-local" value="lib/" />
> </packageSources>
> </configuration>
>
> You should end up with something like this:
> [image: image]
> <
https://user-images.githubusercontent.com/983207/169107565-39aabaa9-cfdf-4211-acdc-f9e663ac1ff4.png
>
>
> 1. Now you should be able to find + reference the packages from the
> nuget tool within your IDE, and have it also work via CI/CD etc :)
>
> Hope this helps!
>
> —
> Reply to this email directly, view it on GitHub
> <
#38 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AAWHFACLJOJDB4YBSH6SP2LVKUT6VANCNFSM5UCF76ZQ
>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHQBJ4FTI2KLN2YB36TE6LVKUYJPANCNFSM5UCF76ZQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@TruDan u didnt had to do it. all you had to do was to download the nuget package from the build workflow mentioned in the first thread of this discussion and then add the local location of this package in dotnet nuget sources Tools>Nuget Package Manager>Package Manager Settings>Package Sources. Refer the below Link: then you can use it like a regular package from Nuget window. Just change the Package Source dropdown to "All" |
This works great. I'm curious as to when you plan to have the nupkg on nuget? |
We should have the packages In nuget soon. |
terrific - this would be very helpful; will be watching |
Is #14 a dup? |
What is your definition of "soon"? It's been 2 weeks since you said soon. We really need this package in nuget. |
@PaulDMendoza We decided to skip OpenSearch altogether and use ElasticSearch - there's no point in trying to use a client/package that isn't well supported IMO. |
I am equally frustrated by this situation. Please follow opensearch-project/opensearch-build#2051. |
I posted the current status on the release thread, but I also want to acknowledge, and apologize for failing to provide a regular status update earlier. Thank you for your patience. |
The packages have been released -- https://www.nuget.org/profiles/opensearchproject |
Hello, is this project available at nuget? That would be great. Thanks
The text was updated successfully, but these errors were encountered: