Skip to content

Commit 501cf74

Browse files
committed
update to net5
1 parent d94fc20 commit 501cf74

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ To build an executable, publish with the appropriate config for your platform:
3838
dotnet publish -c Release -r win10-x64
3939
```
4040

41+
To build a fully self-contained executable (including the native runtime binaries):
42+
```cmd
43+
dotnet publish -r win-x64 -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true --self-contained true
44+
```
45+
4146
## Motivation
4247
Although there are plenty of other tools out there (OStress, HammerDB, SQLQueryStress - to name just a few) none of them were an exact fit for what I'm trying to do in a [benchmarking project](https://github.com/taddison/sql-tables-as-queue-benchmarks), so I built this tool and I'm open sourcing it in the hope someone else will benefit from it.
4348

src/SQLDriver.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net5.0</TargetFramework>
66
<LangVersion>latest</LangVersion>
77
</PropertyGroup>
88

0 commit comments

Comments
 (0)