[{"data":1,"prerenderedAt":70},["ShallowReactive",2],{"/2025/11/05-install-previous-version-of-nuget-package-that-is-not-visible":3},{"id":4,"title":5,"body":6,"date":61,"description":54,"extension":62,"meta":63,"navigation":64,"path":65,"robots":66,"seo":67,"stem":68,"__hash__":69},"posts/2025/11/05 install-previous-version-of-Nuget-package-that-is-not-visible.md","05 Install Previous Version Of Nuget Package That Is Not Visible",{"type":7,"value":8,"toc":58},"minimark",[9,18,25,28,31,33,36,38,41,55],[10,11,13],"post-title",{":date":12},"date",[14,15,17],"h1",{"id":16},"install-previous-version-of-nuget-package-that-is-not-visible","Install Previous Version of Nuget Package that is not Visible",[19,20,21],"notes",{},[22,23,24],"p",{},"This is a repost from my old blog. First posted in 11/27/2019.",[26,27],"br",{},[22,29,30],{},"Sometimes a new software version also introduces a new bug and we need to rollback. And this time is on one of the Nuget package that we use.",[26,32],{},[22,34,35],{},"When troubleshooting MySql Nuget package issue, I noticed that I can't revert back to the previous version using the version drop down under Nuget manager window in Visual Studio.",[26,37],{},[22,39,40],{},"So, a bit of searching reminds me that I can use the Package Manager Console to install a package. Maybe I can specify the version and the server still has it. So I uninstall the latest package and ran the following command:",[42,43,44],"code-block",{},[45,46,51],"pre",{"className":47,"code":49,"language":50},[48],"language-text","Install-Package \u003Cpackage_name> -Version \u003Cversion> -Source nuget.org\n","text",[52,53,49],"code",{"__ignoreMap":54},"",[22,56,57],{},"The source option is optional. In my case, somehow I had it defaulted to some other source so I have to actually specify it in the command. Hit enter and I got the previous version installed. Problem solved!",{"title":54,"searchDepth":59,"depth":59,"links":60},2,[],"2025-11-05T00:00:00.000Z","md",{},true,"/2025/11/05-install-previous-version-of-nuget-package-that-is-not-visible",null,{"title":5,"description":54},"2025/11/05 install-previous-version-of-Nuget-package-that-is-not-visible","46w7nXI1919cHJi4g3QeFIcHR9KXqtprjN0p35Gx4vc",1785167452620]