-
dotnet tool install --global wix --version 4.0.3
C:\Users\tom\AppData\Local\Temp\fd3da197-62c5-4138-8823-83d9ee4d9238\restore.csproj : error NU1101: Unable to find package wix. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages
The tool package could not be restored.
Tool 'wix' failed to install. This failure may have been caused by:
* You are attempting to install a preview release and did not use the --version option to specify the version.
* A package by this name was found, but it was not a .NET tool.
* The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
* You mistyped the name of the tool.
For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool dotnet --version = 7.0.401 😢 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Works for me. I'm on 8.0 already. What's your package sources? |
Beta Was this translation helpful? Give feedback.
-
That's not typical of a default environment. You're missing the nuget.org feed. Registered Sources:
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-nuget-add-source Are you a WiX newbiew as well? Are you using Visual Studio? |
Beta Was this translation helpful? Give feedback.
-
Not sure what happened but nuget.org has always been there for me. It'd be like having npm without registry.npmjs.org or docker without the docker hub registry. Sure there are scenarios where that's desired but it's not the common case. I have a FOSS project that helps getting started with WiX. I'd be happy to spend an hour with you complimentary to help you get up to speed with WiX and MSI. Checkout https://github.com/iswix-llc/iswix-tutorials for a teaser. |
Beta Was this translation helpful? Give feedback.
That's not typical of a default environment. You're missing the nuget.org feed.
Registered Sources:
https://api.nuget.org/v3/index.json
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-nuget-add-source
dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org
Are you a WiX newbiew as well? Are you using Visual Studio?