Unity3D/C#

Visual Studio Code 에서 Newtonsoft.JSON 사용하기

일등하이 2018. 12. 28. 13:38
반응형

https://www.newtonsoft.com/json


터미널 명령어 : Install-Package Newtonsoft.Json



권한 문제가 생긴다면 


터미널 명령어 : Install-Package Newtonsoft.Json -Scope CurrentUser 




참조 추가 하기 

https://stackoverflow.com/questions/42000798/how-to-add-assembly-references-in-visual-studio-code



Use the command dotnet add package to add a package reference to your project. For example: dotnet add package Newtonsoft.Json, which adds the package reference to the *.csproj project file:

<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
and now you can run the command dotnet restore to restores the dependencies of your project.

Reference: dotnet add package


터미널 명령어 : dotnet add package Newtonsoft.JSON





반응형