当前位置:网站首页>"Baget" takes you one minute to set up your own private nuget server
"Baget" takes you one minute to set up your own private nuget server
2022-06-09 03:23:00 【Guanghai_ Little crazy】

After reading this article, you can gain
- Use BaGet Quickly build Nuget Private warehouse
- The blogger will show you how to practice , No pit in the whole process
- Thank you for your kind words + Collection , Avoid missing next time ~

List of articles

One 、BaGet brief introduction
BaGet It's a system built on ASP.NET Core Based on NuGet V3 Open source implementation of server .
github Address :
https://github.com/loic-sharma/BaGetrelease package :
https://github.com/loic-sharma/BaGet/releases


Two 、 Set it up
1. download Relese package
- Select a version above , What I'm using here is
v0.4.0-preview2The latest version
2. Run the project
Unzip the package , Then go to the directory

perform :
dotnet BaGet.dll

3. See the effect
Open it directly
http://localhost:5000/At this point, the private warehouse has been built

4. Custom run port
- edit
appsettings.jsonfile - Uncomment the contents of the red box , You can modify it.


3、 ... and 、 Upload Nuget package
1. Create a test project
- Type is class library

2. Packaging project
- Right click on the item , Choose to pack :

- After packaging, you will get a nupkg file

3. Upload package
- Open the command line under the above packaging directory to execute :
dotnet nuget push -s http://localhost:8080/v3/index.json MyTestLibrary.1.0.0.nupkg

4. Project reference
- stay VS Medium tool - Options -NuGet Package manager - Package source . Add a source , Enter a name , Source :http://localhost:8080/v3/index.json

- Nuget Switch the package set in the package to find

边栏推荐
- What is the network transformer for? (Ethernet network LAN LAN communication isolation filter) production plant / product schematic diagram / common products / price influencing factors
- Tamidog information | Maersk completed another large-scale enterprise acquisition
- Ccf-csp 201909-4 recommended system 100 points
- 富士康又遭勒索攻击,大量未加密文件泄露
- ERP overview
- 2003 -can t connect to MySQL server on localhost (10061 "unknown error")
- Redis data storage
- Leetcode 1248. Count "graceful subarray" prefix and
- Zhongang Mining: fluorite resources listed in the strategic mineral catalogue
- Gradle view the dependency tree of a package
猜你喜欢

Leetcode 974. And K divisible subarray prefix sum

How does the rtsp/onvif protocol video platform easynvr configure the playback duration of a user's video stream?

神经网络学习(六)----深度学习与机器学习的关系理解

Neural network learning (VI) -- understanding the relationship between deep learning and machine learning
Ccf-csp 201412-3 call auction

Ccf-csp 202203-2 travel plan 100 points difference

Ccp-csp 201909-3 character drawing 100

Leetcode 1310. Subarray XOR query prefix and + XOR

On the full chain syntax of jsnpp framework

關於JS console.log() 是同步 or 异步引發的問題
随机推荐
In 2022, along with the Internet layoffs, the digital economy is stepping up. As a digital hub, the Internet of things platform is moving towards the trend of IOT multi system data fusion and integrat
Implementation of hash table of Telephone Query System for C language project (project requirements + operation interface + code analysis + complete code)
Excuse me: is it safe for CICC fortune to open an account
LeetCode 1155. 掷骰子的N种方法**
Typescript base type - type assertion
QT project add compile error reporting option
Leetcode 1442. Triple number prefix and + XOR forming two XOR equal arrays
LocalTime 、LocalDate 、LocalDateTime
Collection tool class collections guide, and detailed explanation of comparable and comparator sorting
TS implements promise related APIs
Traversal of binary tree
How to get the preferential activities for stock account opening? Is it safe to open an account online?
Luogu p3647 [apio2014] Lianzhu line solution
关于我的那些事【我的2022】
Development of DAPP system for digital currency holding interest bearing pledge financial management
Ccf-csp 202012-5 Star Trek 80 points
Leetcode 1352. Product of the last K numbers
Free video format converter
[detailed explanation of kubernetes 11] - detailed explanation of storage
Handwriting perceptron, KNN, decision tree (ID3) for binary classification of iris