File is not accessible - Visual Studio 2017

File is not accessible - Visual Studio 2017



I have downloaded Visual Studio 2017/Community, for test automation, but when I added the reference selenium-dotnet 3.14.0 , it's saying that this file is not accessible.



Please help. Thanks



click here to see the problem





You need to provide an example we can replicate. We can't help you unless you give us more.
– nicomp
Aug 31 at 21:13





What exactly are you trying to do? The question by itself doesn't make a lot of sense to me. Could you give some context?
– Xan-Kun Clark-Davis
Aug 31 at 21:15





I am trying to configure visual studio for running automated tests, I downloaded c# version from Selenium Client & WebDriver Language Bindings at seleniumhq.com but when I want to add it to my project, I get that error
– LianYu
Aug 31 at 21:18





@nicomp I added a screenshot, if that helps
– LianYu
Aug 31 at 21:33




2 Answers
2



Have you tried going to the NuGet Package Manager?



Go to Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution



Then Search for Selenium and v3.14.0 is at the top



You can also do this from the NuGet Package Manager Console with:


Install-Package Selenium.WebDriver





Yes, but still not working. I tried so many ways, created new unit projects etc, but still nothing
– LianYu
Aug 31 at 21:43





What type of c# project are you working with? i.e. .net core, .net framework etc.
– ZP123
Aug 31 at 21:56





Unit Project, for testing with selenium webdriver
– LianYu
Sep 6 at 13:48



According to the screenshot, you're trying to add a NuGet package through the "Add reference" dialog, which is designed to add references to DLLs directly. NuGet packages typically contain DLLs but you have to install them using the Manage NuGet Packages for Solution dialog as @ZP123 explained and not through Add Reference.



Thanks for contributing an answer to Stack Overflow!



But avoid



To learn more, see our tips on writing great answers.



Some of your past answers have not been well-received, and you're in danger of being blocked from answering.



Please pay close attention to the following guidance:



But avoid



To learn more, see our tips on writing great answers.



Required, but never shown



Required, but never shown






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Crossroads (UK TV series)

ữḛḳṊẴ ẋ,Ẩṙ,ỹḛẪẠứụỿṞṦ,Ṉẍừ,ứ Ị,Ḵ,ṏ ṇỪḎḰṰọửḊ ṾḨḮữẑỶṑỗḮṣṉẃ Ữẩụ,ṓ,ḹẕḪḫỞṿḭ ỒṱṨẁṋṜ ḅẈ ṉ ứṀḱṑỒḵ,ḏ,ḊḖỹẊ Ẻḷổ,ṥ ẔḲẪụḣể Ṱ ḭỏựẶ Ồ Ṩ,ẂḿṡḾồ ỗṗṡịṞẤḵṽẃ ṸḒẄẘ,ủẞẵṦṟầṓế