diff --git a/IxyCs.csproj b/IxyCs.csproj index fe19826..785f193 100644 --- a/IxyCs.csproj +++ b/IxyCs.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + net6.0 true diff --git a/README.md b/README.md index 85b890d..df6a96d 100644 --- a/README.md +++ b/README.md @@ -29,11 +29,11 @@ Set up hugepages Run the packet generator demo - sudo dotnet bin/release/netcoreapp2.1/IxyCs.dll pktgen PCI_ADDRESS + sudo dotnet bin/release/net6.0/IxyCs.dll pktgen PCI_ADDRESS OR - sudo dotnet bin/release/netcoreapp2.1/IxyCs.dll fwd PCI_1 PCI_2 + sudo dotnet bin/release/net6.0/IxyCs.dll fwd PCI_1 PCI_2 diff --git a/build.sh b/build.sh index 1a33eed..22233e0 100755 --- a/build.sh +++ b/build.sh @@ -3,6 +3,6 @@ dotnet publish -c release cd src/ixy_c gcc -fPIC -c ixy.c -o ixy.o gcc ixy.o -shared -o ixy_c.so -mv ixy_c.so ../../bin/Debug/netcoreapp2.1/ -cp ../../bin/Debug/netcoreapp2.1/ixy_c.so ../../bin/release/netcoreapp2.1/ -echo "Build complete. Run dotnet bin/release/netcoreapp2.1/IxyCs.dll to start the driver" +mv ixy_c.so ../../bin/Debug/net6.0/ +cp ../../bin/Debug/net6.0/ixy_c.so ../../bin/release/net6.0/ +echo "Build complete. Run dotnet bin/release/net6.0/IxyCs.dll to start the driver"