An open API service indexing awesome lists of open source software.

https://github.com/alivedevil/rid-test


https://github.com/alivedevil/rid-test

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# rid-test
Test for managed runtime target libraries.

## Prepare

```
dotnet build -Restore src\A\A.msbuildproj
nuget pack -Properties "Version=1.0.0.0;Configuration=(Debug|Release);BaseDir=..\artifacts\bin" .nuget\A.nuspec
nuget push -source %NugetHome%\packages A.1.0.0.0.nupkg
```

## Consume
```
dotnet build -Restore -p:UseAppHost=False ConsoleApp1\ConsoleApp1.csproj
```
Depending on where you run this dotnet application it will output
> Hello, World!
> Windows

on Windows, and
> Hello, World!
> Linux

on Linux systems.