It will show message on successful installation. i C:\Users\>\.nuget\packages\\1.3.1\lib\net45\Miīasically providing path to dll we installed globally. The run below command to install that dll in GAC. Now run command prompt as Administrator and navigate current directory to your path containing GacUtil. C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools This file get installed along with Visual Studio already. Now that you have dll with you, all that you need to do is add that dll to GAC. If your version is different, look into that version folder. Please note that above path contains version number (1.3.1). Now you will see your required there in following folder. When you install something, nuget stores it at global level of your machine as well. We did this because we wanted that package installed at global nuget level. We don't need this newly created project at all. Install-Package Microsoft.CodeAnalysis -Version 1.3.1 Now once project template is ready, go to Package Manager and run following command with your specified version. No preferences, it can be just simple console application. If you see above error it means that it's not able to find version 1.3.1. The system cannot find the file specified. Could not load file or assembly 'Microsoft.CodeAnalysis, version= 1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Notice the version mentioned in the error. If any of the options doesn't work, here is the detailed guide to handle this scenario.įirst of all version is important.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |