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

Install dotnet tool failed #1271

Closed
Tracked by #1258
genusP opened this issue Nov 16, 2022 · 7 comments
Closed
Tracked by #1258

Install dotnet tool failed #1271

genusP opened this issue Nov 16, 2022 · 7 comments
Assignees
Milestone

Comments

@genusP
Copy link

genusP commented Nov 16, 2022

I installing latest version (3.16.0) and get error
The settings file in the tool's NuGet package is invalid: Entry point file 'nunit3-console.dll' for command nunit was not found in the package. Tool 'nunit.consolerunner.netcore' failed to install. Contact the tool author for assistance.
File DotnetToolSettings.xml contains invalid definition EntryPoint!

@ma-hag
Copy link

ma-hag commented Nov 16, 2022

I installing latest version (3.16.0) and get error The settings file in the tool's NuGet package is invalid: Entry point file 'nunit3-console.dll' for command nunit was not found in the package. Tool 'nunit.consolerunner.netcore' failed to install. Contact the tool author for assistance. File DotnetToolSettings.xml contains invalid definition EntryPoint!

Same problem.

@CharliePoole CharliePoole self-assigned this Nov 16, 2022
@CharliePoole CharliePoole added this to the 3.16.1 milestone Nov 16, 2022
@CharliePoole
Copy link
Collaborator

How embarassing! This unfortunately demonstrates that none of our acceptance tests actually run the package via the dotnet command! I'll add that as well as fixing the XML file.

Version 3.16.1 is already planned to come out before the end of the month. There will be a dev build on myget containing this fix by the end of today.

@CharliePoole
Copy link
Collaborator

A fix is availble from our myget feed as version 3.16.1-dev00002. See https://www.myget.org/feed/nunit/package/nuget/NUnit.ConsoleRunner.NetCore/3.16.1-dev00002

Please confirm if this works for you and I'll keep it in the 3.16.1 release.

@genusP
Copy link
Author

genusP commented Nov 17, 2022

Installed success

@CharliePoole
Copy link
Collaborator

Great... I'll keep this open until I add a regression test.

@worldofprasanna
Copy link

Thanks this fix worked for us.

@CharliePoole CharliePoole added the PortToVersion4 Version 3 change needs to be ported to the version 4 code in main label Jan 1, 2023
@CharliePoole
Copy link
Collaborator

This issue has been resolved in version 3.16.1

The release is available on:
GitHub.
NuGet packages are also available NuGet.org and
Chocolatey Packages may be found at Chocolatey.org

@CharliePoole CharliePoole removed the PortToVersion4 Version 3 change needs to be ported to the version 4 code in main label Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants