hcoona / OneDotNet

The DotNet mono repository for me
GNU General Public License v3.0
2 stars 1 forks source link
dotnet monorepo

= The dotnet mono repository for me Shuai Zhangzhangshuai.ustc@gmail.com v1.1, 2022-08-11

OneDotNet is a mono-repo for all of my DotNet codes. Please check Google's article link:https://cacm.acm.org/magazines/2016/7/204032-why-google-stores-billions-of-lines-of-code-in-a-single-repository/fulltext[Why Google Stores Billions of Lines of Code in a Single Repository] for more details about why this repo born.

Bazel currently has poorly support for DotNet projects. Just put all DotNet projects here.

== Getting Started

=== Prerequisites

Install VS2022 (optional) & .NET 6.0 for compilation & runtime.

=== Compile

[source]

dotnet build dirs.proj

=== SlnGen

See link:https://microsoft.github.io/slngen/[SlnGen] & link:https://github.com/microsoft/vssetup.powershell[VSSetup].

[source,PowerShell]

slngen -vs ((Get-VSSetupInstance).InstallationPath + "\Common7\IDE\devenv.exe") --folders true --collapsefolders true -o OneDotNet.sln

=== Pack

Add /p:PublicRelease=true /p:ContinuousIntegrationBuild=true for formal packaging.

[source]

dotnet pack -c Release

== Deprecated Packages

These packages are deprecated and source code removed. The link can redirect you to the last commit before removing it.