Skip to content

hcoona/OneDotNet

Repository files navigation

The dotnet mono repository for me

OneDotNet is a mono-repo for all of my DotNet codes. Please check Google’s article 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

dotnet build dirs.proj

SlnGen

See SlnGen & VSSetup.

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.

dotnet pack <project_path> -c Release

Deprecated Packages

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