-
Notifications
You must be signed in to change notification settings - Fork 55
HowToCreateOpenTouryoNuGetPackages
- Compiled the steps for creating NuGet packages of Open Touryo.
- Audience
- Developer who create and register NuGet packages of Open Touryo.
- Or person who constructs NuGet private repository and operates separately.
- This is a English page. Click here for Japanese version of this file.
-
See below url
https://github.com/OpenTouryoProject/OpenTouryo/tree/develop/
push [Download ZIP] button. -
See below url
https://github.com/OpenTouryoProject/OpenTouryo/tree/develop/root/
deploy this to "C:\root".
If necessary, fix the source code of the NuGet packages of Open Touryo.
C:\root\programs\CS\Frameworks\Infrastructure
- Framework
- Public
Build using the following 3_Build_NuGet_netxx.bat
file.
C:\root\programs\CS
- 3_Build_NuGet_net45.Bat
- 3_Build_NuGet_net46.Bat
- 3_Build_NuGet_net47.Bat
- 3_Build_NuGet_netstd20.Bat
- Since the build output will be output the to
Build_netxx
folder,
C:\root\programs\CS\Frameworks\Infrastructure- Build_net452
- Build_net46
- Build_net47
- Build_netstd20
- deploy it to the corresponding
netxx
folder below.
C:\root\programs\CS\NuGet\in- net452
- net46
- net47
- netstandard2.0
- When deployment is completed, execute the following
*.bat
file and package it.
C:\root\programs\CS\NuGet_NuGetPack.bat- At this time, Do maintenance such as version information of each
*.nuspec
file. - Also, match the version information of AssemblyInfo file with the above version information.
(For .NET Standard, set version information in*.csproj
file)
- At this time, Do maintenance such as version information of each
- The NuGet package is output to the following folder.
C:\root\programs\CS\NuGet\out- pp
The folder in which "primary nupkg" is output. - sp
The folder in which "nupkg nupkg" is output.
- pp
The following steps are carried out when pushing to the server.
(It is not necessary when deploying it on a local package source such as file sharing.)
-
Set the NuGet API key in the following
*.bat
file,
C:\root\programs\CS\NuGet\out\pp_NuGetPush.bat -
Run the
*.bat
file and push it to the NuGet server.
-
Set the API key of NuGet In the following
*.bat
file,
C:\root\programs\CS\NuGet\out\sp_NuGetPush.bat -
Run the
*.bat
file and push it to the Symbol server.