Note: The solution includes projects that only run properly on windows machines.
- Clone repo
- Open bash shell in root directory of git repo
dotnet build tests/MonitoredUndo.Tests/MonitoredUndo.Tests.csproj
dotnet test tests/MonitoredUndo.Tests/MonitoredUndo.Tests.csproj
The solution and projects use the "Directory.Build.props" feature to keep solution-wide values in the root of the solution.
To create a Pre-Release nuget package:
- Build the library and run tests as above.
dotnet pack src/MonitoredUndo/MonitoredUndo.csproj --version-suffix "alpha.1" --include-source --include-symbols
- Upload the package from
src/MonitoredUndo/Debug/
to nuget.
To create a Release nuget package:
- Build the library and run tests as above.
dotnet pack src/MonitoredUndo/MonitoredUndo.csproj --configuration Release --include-source --include-symbols
- Upload the package from
src/MonitoredUndo/Release/
to nuget.