diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 99b699f..a305c53 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -19,28 +19,28 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 10.0.x - name: Restore dependencies run: dotnet restore - name: Build run: dotnet build --no-restore --configuration Release - name: Build Linux-single-file-app - run: dotnet publish QuIDE/QuIDE.csproj -r linux-x64 -f net8.0 -p:PublishSingleFile=true --self-contained false + run: dotnet publish QuIDE/QuIDE.csproj -r linux-x64 -f net10.0 -p:PublishSingleFile=true --self-contained false - name: Build Windows-single-file-app - run: dotnet publish QuIDE/QuIDE.csproj -r win-x64 -f net8.0 -p:PublishSingleFile=true --self-contained false + run: dotnet publish QuIDE/QuIDE.csproj -r win-x64 -f net10.0 -p:PublishSingleFile=true --self-contained false - name: Upload Linux artifact uses: actions/upload-artifact@v4 with: name: QuIDE Linux amd64 - path: QuIDE/bin/Release/net8.0/linux-x64/publish/QuIDE + path: QuIDE/bin/Release/net10.0/linux-x64/publish/QuIDE - name: Upload Windows artifact uses: actions/upload-artifact@v4 with: name: QuIDE Windows amd64 - path: QuIDE/bin/Release/net8.0/win-x64/publish/QuIDE.exe + path: QuIDE/bin/Release/net10.0/win-x64/publish/QuIDE.exe build-on-macos: # the dmg-step doesn't work on linux @@ -51,7 +51,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 10.0.x - name: Restore dependencies run: dotnet restore @@ -68,7 +68,7 @@ jobs: uses: L-Super/create-dmg-actons@v1.0.3 with: dmg_name: QuIDE - src_dir: QuIDE/bin/Release/net8.0/osx-arm64/publish/QuIDE.app + src_dir: QuIDE/bin/Release/net10.0/osx-arm64/publish/QuIDE.app - name: Upload macOS artifact uses: actions/upload-artifact@v4 diff --git a/QuIDE/Directory.Build.props b/QuIDE/Directory.Build.props index 2818d6f..41ccda4 100644 --- a/QuIDE/Directory.Build.props +++ b/QuIDE/Directory.Build.props @@ -1,7 +1,7 @@ - 2.3 - 2.3 - 2.3-dev + 2.5 + 2.5 + 2.5 \ No newline at end of file diff --git a/QuIDE/QuIDE.csproj b/QuIDE/QuIDE.csproj index 4d9dbf2..0e110b0 100644 --- a/QuIDE/QuIDE.csproj +++ b/QuIDE/QuIDE.csproj @@ -1,7 +1,7 @@  WinExe - net8.0 + net10.0 true false true @@ -10,7 +10,7 @@ true true - 2.4.2 + 2.5.0 @@ -47,7 +47,6 @@ - @@ -128,7 +127,7 @@ QuIDE 2 - 2.3-dev + 2.5 NSApplication AAPL false diff --git a/Quantum/Quantum.csproj b/Quantum/Quantum.csproj index 642b63b..0899e35 100644 --- a/Quantum/Quantum.csproj +++ b/Quantum/Quantum.csproj @@ -2,7 +2,7 @@ Library false - net8.0 + net10.0 bin\Debug\Quantum.XML @@ -24,7 +24,6 @@ MinimumRecommendedRules.ruleset - diff --git a/README.md b/README.md index 2814793..848a9b1 100644 --- a/README.md +++ b/README.md @@ -11,24 +11,24 @@ Cross Platform Quantum Circuit Simulator ## Run the app - simply download the application in the [Releases](https://github.com/mnm-team/quide/releases) section, there is a version for Windows, Linux (amd64) and macOS (arm64) precompiled. -- to run the program on your machine, you need the dotnet-8.0-runtime. It can be obtained by [Microsoft](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or at your local packet manager, e.g. `dotnet-runtime-8.0` on Ubuntu. +- to run the program on your machine, you need the dotnet-8.0-runtime. It can be obtained by [Microsoft](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or at your local packet manager, e.g. `dotnet-runtime-10.0` on Ubuntu. - on Linux it can be necessary to set the file as executable for your user (`chmod +x QuIDE`) after unzipping. - we don't have a developer ID for macOS, so you may need to use the following command: `xattr -cr /Applications/QuIDE.app` after installation (especially when macOS tells the app is broken). ## Compile by yourself -- Install the .NET-SDK 8.0, which can be found at [Microsoft](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or at your local packet manager, e.g. `dotnet-sdk-8.0` on Ubuntu. +- Install the .NET-SDK 10.0, which can be found at [Microsoft](https://dotnet.microsoft.com/en-us/download/dotnet/10.0) or at your local packet manager, e.g. `dotnet-sdk-10.0` on Ubuntu. - Run `dotnet build --configuration Release` in the repository ### Start program -- Run `QuIDE/bin/Release/net8.0/QuIDE<.exe/.app>` -- You can find the Quantum.dll at `Quantum/bin/Release/net8.0/Quantum.dll` +- Run `QuIDE/bin/Release/net10.0/QuIDE<.exe/.app>` +- You can find the Quantum.dll at `Quantum/bin/Release/net10.0/Quantum.dll` ### Build single-file-app - To build a single-file-app (Linux & Windows) you can use dotnet publish, e.g.: `dotnet publish QuIDE/QuIDE.csproj -r -x64 -p:PublishSingleFile=true --self-contained false -o out/`, then the App is at `out/QuIDE<.exe>` and all shared libraries (except dotnet-runtime) are included. -- To build a .app on macOS you need two commands: `dotnet publish QuIDE/QuIDE.csproj -r osx-arm64` and `dotnet msbuild QuIDE/QuIDE.csproj -t:BundleApp -p:RuntimeIdentifier=osx-arm64 -property:Configuration=Release -p:UseAppHost=true`. Then you find it at `QuIDE/bin/Release/net8.0/osx-arm64/publish/QuIDE.app`. +- To build a .app on macOS you need two commands: `dotnet publish QuIDE/QuIDE.csproj -r osx-arm64` and `dotnet msbuild QuIDE/QuIDE.csproj -t:BundleApp -p:RuntimeIdentifier=osx-arm64 -property:Configuration=Release -p:UseAppHost=true`. Then you find it at `QuIDE/bin/Release/net10.0/osx-arm64/publish/QuIDE.app`. ## Documentation diff --git a/global.json b/global.json index dad2db5..9b53d9b 100644 --- a/global.json +++ b/global.json @@ -1,7 +1,7 @@ { "sdk": { - "version": "8.0.0", + "version": "10.0.0", "rollForward": "latestMajor", "allowPrerelease": true } -} \ No newline at end of file +}