Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to .NET 6.0 #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion IxyCs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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



Expand Down
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"