반응형
How do I include NuGet packages in my solution for .Net Core projects?
With classic .Net projects, if I added a reference to a NuGet package, it would get downloaded to a packages folder and I could check that into source control along with the rest of my code. This
stackoverflow.com
sln 파일이 있는 곳에 NuGet.Config 파일을 만들어 다음 내용을 입력 후, 저장하고, 솔루션을 다시 오픈 하면 된다.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<config>
<add key="globalPackagesFolder" value=".\packages" />
</config>
</configuration>
반응형
'초짜 IT보이 서바이벌 스토리 > C#' 카테고리의 다른 글
#ConfigurationTransform (0) | 2021.06.08 |
---|---|
c# #large #file #upload #System.Net.WebRequest (0) | 2021.05.30 |
#튜플 #tuple #c#7 #테스트 #코드 #test #code (0) | 2020.11.03 |
#RestSharp Usage Example (0) | 2020.01.20 |
What's New in C# 8.0 (0) | 2019.06.05 |