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

Unity3D/C# 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





반응형

'Unity3D > C#' 카테고리의 다른 글

C# Split List  (0) 2019.01.22
What and where are the stack and heap?  (0) 2019.01.18
Visual Studio Code 에서 C# 콘솔 프로젝트 하기  (0) 2018.12.28
SOLID (객체 지향 설계)  (0) 2018.09.03
Stack & Heap  (0) 2018.08.30
: