✅ Nuget Package Manager does not seem to be updating (How to Troubleshoot?)
So I'm getting an error on a sample project
However this seems to be happening no matter which version of Selenium.WebDriver.ChromeDriver that I use.
I've tried
131.0.6778.26400
(as specified on the Github), most recent 131.0.6834.8300
, but they all produce the exact same error of only supports Chrome version 106
.
Hence I think something is wrong with my Nuget (especially because the original project was using <PackageVersion Include="Selenium.WebDriver.ChromeDriver" Version="106.0.5249.6100"/>
) but I don't know where to start looking.
I have attached some screenshots of (1) Nuget UI, (2) Solution Explorer, and (3) Unit Tests UI as unit tests are triggering the exception.29 Replies
Earlier the UI was showing a cloud with a cross, don't know if that is related
I can also confirm that
..\testcontainers-dotnet\examples\WeatherForecast\Directory.Packages.props
has the entry <PackageVersion Include="Selenium.WebDriver.ChromeDriver" Version="131.0.6778.26400" />
Right click -> Restore Nuget packages also does nothing since I get
it looks like its trying to use your installed chrome version, not the version installed by chrome driver
i don't know selenium dotnet enough to know how to fix it atm, but that's your problem
Unknown User•8h ago
Message Not Public
Sign In & Join Server To View
It doesn't say anything
also it got removed after restarting a few times
Unknown User•7h ago
Message Not Public
Sign In & Join Server To View
* close VS
* remove the hidden folder
.vs
* remove all bin
and obj
folder next to each csproj (DO NOT TOUCH THE .git
FOLDER OR WHAT'S INSIDE)
* restart vsUnknown User•7h ago
Message Not Public
Sign In & Join Server To View
nvm, VS indeed drunk
Unknown User•7h ago
Message Not Public
Sign In & Join Server To View
all I did was restart PC
Unknown User•7h ago
Message Not Public
Sign In & Join Server To View
I'll try that next time
Unknown User•7h ago
Message Not Public
Sign In & Join Server To View
how to check size before I attempt it
Unknown User•7h ago
Message Not Public
Sign In & Join Server To View
next round
Unknown User•7h ago
Message Not Public
Sign In & Join Server To View
yea anyway I didn't know VS could do stuff that required PC restart to kick in 😔
TIL
at least it works now
Unknown User•7h ago
Message Not Public
Sign In & Join Server To View
I didn't do this
I just restarted the entire PC when I saw the replies as a last ditch before I attempted it
Unknown User•7h ago
Message Not Public
Sign In & Join Server To View
then it worked right after restarting
I had closed/reopened MSVS multiple times before
Unknown User•7h ago
Message Not Public
Sign In & Join Server To View
I'll give it a shot next time, ty for heads up
Unknown User•7h ago
Message Not Public
Sign In & Join Server To View
If you have no further questions, please use /close to mark the forum thread as answered
Restart Visual Studio. It usually updates things since the IDE is incompetent sometimes.