Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

How to run/execute the Nuget commands inside bash scripts?

$
0
0

I am building a Nuget package on my windows machine. When I run the below command in win cmd prompt

nuget spec myProj.cs

It generate a myproj.nusepc files & so on.

But when I am trying to run the same command from bash client (Git bash on windows as client) as

bash nuget spec myProj.cs

It throws the error > nuget: nuget: cannot execute binary file

enter image description here

Please note that Nuget.exe is available under the same folder as the terminal pwd

How can I run/execute the nuget commands inside bash scripts?

Thanks!


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>