Skip to content

Commit

Permalink
Add Rider run configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
SnipUndercover committed Jan 3, 2025
1 parent 389a1f6 commit 27b4d53
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .run/Publish (linux-x64).run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Publish (linux-x64)" type="DotNetFolderPublish" factoryName="Publish to folder">
<riderPublish configuration="Release" delete_existing_files="true" platform="Any CPU" produce_single_file="true" runtime="linux-x64" self_contained="true" target_folder="$PROJECT_DIR$/bin/Release/net9.0/linux-x64/publish" target_framework="net9.0" trim_unused_assemblies="true" uuid_high="7342323807969362113" uuid_low="-5896130532226094038" />
<method v="2" />
</configuration>
</component>
6 changes: 6 additions & 0 deletions .run/Publish (osx-arm64).run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Publish (osx-arm64)" type="DotNetFolderPublish" factoryName="Publish to folder">
<riderPublish configuration="Release" delete_existing_files="true" platform="Any CPU" produce_single_file="true" runtime="osx-arm64" self_contained="true" target_folder="$PROJECT_DIR$/bin/Release/net9.0/osx-arm64/publish" target_framework="net9.0" trim_unused_assemblies="true" uuid_high="7342323807969362113" uuid_low="-5896130532226094038" />
<method v="2" />
</configuration>
</component>
6 changes: 6 additions & 0 deletions .run/Publish (win-x64).run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Publish (win-x64)" type="DotNetFolderPublish" factoryName="Publish to folder">
<riderPublish configuration="Release" delete_existing_files="true" platform="Any CPU" produce_single_file="true" runtime="win-x64" self_contained="true" target_folder="$PROJECT_DIR$/bin/Release/net9.0/win-x64/publish" target_framework="net9.0" trim_unused_assemblies="true" uuid_high="7342323807969362113" uuid_low="-5896130532226094038" />
<method v="2" />
</configuration>
</component>
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ Simply clone the repository and **build** the solution.

To distribute the executable you need to **publish** the solution with a runtime identifier and configuration of your choosing.
This will publish the project as a self-contained executable, which avoids the need to install the .NET 9 runtime.

> [!TIP]
> Rider users should have Windows (x64), Linux (x64) and OSX (ARM64) run configurations ready to use.

0 comments on commit 27b4d53

Please sign in to comment.