maqs-dotnet icon indicating copy to clipboard operation
maqs-dotnet copied to clipboard

Templates Install Fails

Open Nokeo08 opened this issue 3 years ago • 2 comments
trafficstars

I tried following directions in the documentation to install the templates and get this error. All I did was install the latest .NET SDK and then run the command in the MAQS 9.0.0 documentation. Did I do something wrong or am I missing something?

image

Edit:

I was able to get this to work by adding the version explicitly.

dotnet new --install CognizantSoftvision.Maqs.Templates::9.0.0

This still seems like an issue. Either in configuration or documentation.

Nokeo08 avatar Jun 15 '22 14:06 Nokeo08

Hi @Nokeo08,

Sorry about the late reply.

Please run dotnet new --list

This should show

Template Name                                 Short Name      Language  Tags
--------------------------------------------  --------------  --------  ----
CognizantSoftvision MAQS Appium template      MaqsAppium      [C#]      Test
CognizantSoftvision MAQS Base template        MaqsBase        [C#]      Test
CognizantSoftvision MAQS composite template   MaqsComposite   [C#]      Test
CognizantSoftvision MAQS database template    MaqsDatabase    [C#]      Test
CognizantSoftvision MAQS email template       MaqsEmail       [C#]      Test
CognizantSoftvision MAQS Playwright template  MaqsPlaywright  [C#]      Test
CognizantSoftvision MAQS Selenium template    MaqsSelenium    [C#]      Test
CognizantSoftvision MAQS webservice template  MaqsWebservice  [C#]      Test

Use the short name for the install dotnet new MaqsSelenium

FermJacobCSV avatar Aug 09 '22 20:08 FermJacobCSV

@Nokeo08,

Misunderstood your issue. Please check your NuGet feed configuration

run

dotnet nuget list source

You should see the following item

 NuGet [Enabled]
      https://api.nuget.org/v3/index.json

If not you need to add the feed by running the following command

dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org

FermJacob avatar Sep 26 '22 15:09 FermJacob