https://github.com/alivedevil/rid-test
https://github.com/alivedevil/rid-test
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alivedevil/rid-test
- Owner: AliveDevil
- Created: 2023-06-06T11:03:00.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-06T11:33:45.000Z (about 3 years ago)
- Last Synced: 2025-12-26T10:47:16.295Z (6 months ago)
- Language: C#
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.