Unable to find AutoRest.dll with version 1.0.1-20170310-2300-nightly
See original GitHub issueThis error is happening on both my machine and in build labs.
Repro:
autorest --version 1.0.1-20170310-2300-nightly --help
https://travis-ci.org/Azure/azure-rest-api-specs/jobs/210142400
Error: Unable to find AutoRest.dll.
at AutoRestDllPath (/home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/interop/autorest-dotnet.js:27:11)
at Object.SpawnLegacyAutoRest (/home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/interop/autorest-dotnet.js:39:49)
at /home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/app.js:29:47
at next (native)
at /home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/app.js:8:71
at __awaiter (/home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/app.js:4:12)
at legacyMain (/home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/app.js:28:12)
at /home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/app.js:87:23
at next (native)
at /home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/app.js:8:71
at __awaiter (/home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/app.js:4:12)
at main (/home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/app.js:82:12)
at Object.<anonymous> (/home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/app.js:103:1)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Function.<anonymous> (/home/travis/.nvm/versions/node/v6.10.0/lib/node_modules/autorest/app.js:228:25)
at next (native)
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:11 (8 by maintainers)
Top Results From Across the Web
Unable to load DLL 'SqlServerSpatial.dll' - Stack Overflow
SqlServerSpatial.dll is unmanaged code. You have to install the correct version (64bit) on the server. Add the DLL to your project.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am getting below error
C:\Windows\system32>AutoRest -CodeGenerator CSharp -Modeler Swagger -Input http://xxxrest.user.service/swagger/docs/v1 -Namespace Services.UserServiceClient -OutputDirectory E:\test -AddCrendentials true AutoRest Code Generator © 2017 Microsoft Corporation. https://aka.ms/autorest Unable to find start path for AutoRest Core Module.
C:\Windows\system32>
Node version needs to be updated as well & quote: