Skip to content
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

Create a Custom Action with Visual Studio Code in a Mac #103

Open
ruben-alvarez-uniendonodos opened this issue Jan 16, 2025 · 1 comment

Comments

@ruben-alvarez-uniendonodos
Copy link

ruben-alvarez-uniendonodos commented Jan 16, 2025

Hi

I’m trying to include the library in my .NET 8.0 library project to create my first Custom Action.

I work on a Mac (M1 with macOS 15.2) and use Visual Studio Code for programming.

I’ve attempted two different ways to incorporate this NuGet package:

  1. Adding the reference "https://api.nuget.org/v3-flatcontainer/ringhel.procesio.action.core/index.json" to the NuGet package manager I use, with the intention of following the steps indicated in your documentation
  2. I add the NuGet package by "nuget command" and executing the instruction you provide on GitHub:
    dotnet add package Ringhel.Procesio.Action.Core --version 1.32.0

My NuGet configuration:

Image

In both cases, the error I get is the same:

info : NotFound https://api.nuget.org/v3-flatcontainer/ringhel.procesio.action.core/index.json

Complete command output is:

Image

I’m not sure if you need more information to help me and see what I’m doing wrong.

Thank you so much.

@ruben-alvarez-uniendonodos
Copy link
Author

Finally, I managed to include the library but using these steps.

From the Procesio documentation page Procesio Documentation - Custom Actions - Prerequisites. Execute the following points:

  1. Github
  2. Add the nuget

Once these steps are completed, execute the following command within the project folder:

nuget install Ringhel.Procesio.Action.Core -OutputDirectory packages

If you need to create the reference to the project, you can do it (located in the project directory) with the following command:

dotnet add package Ringhel.Procesio.Action.Core --version 1.32.0

After that I could completed the "First Custom Action" example.

I don't know if this is the best way, if you can show me a better way to do it I will be very grateful.

Best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant