Skip to content
Draft
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
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ dotnet_diagnostic.IDE0031.severity = none
# Not available in .NET 4.8
dotnet_diagnostic.CA1510.severity = none

# IDE0011: Add braces
dotnet_diagnostic.IDE0011.severity = none

# *******************************************************************************************
# SonarAnalyzer Rules
# S3897: Classes that provide "Equals(<T>)" should implement "IEquatable<T>"
Expand Down
67 changes: 48 additions & 19 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*.user
*.userosscache
*.sln.docstates
*.env

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
Expand All @@ -21,17 +22,37 @@ mono_crash.*
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/

[Dd]ebug/x64/
[Dd]ebugPublic/x64/
[Rr]elease/x64/
[Rr]eleases/x64/
bin/x64/
obj/x64/

[Dd]ebug/x86/
[Dd]ebugPublic/x86/
[Rr]elease/x86/
[Rr]eleases/x86/
bin/x86/
obj/x86/

[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
[Aa][Rr][Mm]64[Ee][Cc]/
bld/
[Bb]in/
[Oo]bj/
[Oo]ut/
[Ll]og/
[Ll]ogs/

# Build results on 'Bin' directories
**/[Bb]in/*
# Uncomment if you have tasks that rely on *.refresh files to move binaries
# (https://github.com/github/gitignore/pull/3736)
#!**/[Bb]in/*.refresh

# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
Expand All @@ -43,12 +64,16 @@ Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
*.trx

# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml

# Approval Tests result files
*.received.*

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
Expand All @@ -61,6 +86,7 @@ BenchmarkDotNet.Artifacts/
project.lock.json
project.fragment.lock.json
artifacts/
.artifacts/

# ASP.NET Scaffolding
ScaffoldingReadMe.txt
Expand All @@ -75,6 +101,7 @@ StyleCopReport.xml
*.ilk
*.meta
*.obj
*.idb
*.iobj
*.pch
*.pdb
Expand Down Expand Up @@ -155,6 +182,7 @@ coverage*.info

# NCrunch
_NCrunch_*
.NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*

Expand Down Expand Up @@ -296,9 +324,6 @@ node_modules/
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw

# Visual Studio 6 auto-generated project file (contains which files were open etc.)
*.vbp

# Visual Studio 6 workspace and project file (working project files containing files to include in project)
*.dsw
*.dsp
Expand All @@ -316,22 +341,22 @@ node_modules/
_Pvt_Extensions

# Paket dependency manager
.paket/paket.exe
**/.paket/paket.exe
paket-files/

# FAKE - F# Make
.fake/
**/.fake/

# CodeRush personal settings
.cr/personal
**/.cr/personal

# Python Tools for Visual Studio (PTVS)
__pycache__/
**/__pycache__/
*.pyc

# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
#tools/**
#!tools/packages.config

# Tabs Studio
*.tss
Expand All @@ -353,15 +378,19 @@ ASALocalRun/

# MSBuild Binary and Structured Log
*.binlog
MSBuild_Logs/

# AWS SAM Build and Temporary Artifacts folder
.aws-sam

# NVidia Nsight GPU debugger configuration file
*.nvuser

# MFractors (Xamarin productivity tool) working folder
.mfractor/
**/.mfractor/

# Local History for Visual Studio
.localhistory/
**/.localhistory/

# Visual Studio History (VSHistory) files
.vshistory/
Expand All @@ -373,7 +402,7 @@ healthchecksdb
MigrationBackup/

# Ionide (cross platform F# VS Code tools) working folder
.ionide/
**/.ionide/

# Fody - auto-generated XML schema
FodyWeavers.xsd
Expand All @@ -384,17 +413,17 @@ FodyWeavers.xsd
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
!.vscode/*.code-snippets

# Local History for Visual Studio Code
.history/

# Built Visual Studio Code Extensions
*.vsix

# Windows Installer files from build outputs
*.cab
*.msi
*.msix
*.msm
*.msp

# JetBrains Rider
*.sln.iml
14 changes: 14 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"recommendations": [
"dotnetdev-kr-custom.csharp",
"editorconfig.editorconfig",
"github.vscode-github-actions",
"aliasadidev.nugetpackagemanagergui",
"timonwong.shellcheck",
"yzhang.markdown-all-in-one",
"davidanson.vscode-markdownlint",
"ms-vscode.powershell",
"fernandoescolar.vscode-solution-explorer",
"jakubkozera.csharp-dev-tools"
]
}
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"csharp-dev-tools.roslyn.roslynatorAnalyzersEnabled": false,
"csharp-dev-tools.roslyn.roslynatorCodeFixesEnabled": false,
"csharp-dev-tools.roslyn.roslynatorEnabled": false,
"csharp-dev-tools.roslyn.roslynatorFormattingAnalyzersEnabled": false,
"csharp-dev-tools.roslyn.roslynatorRefactoringsEnabled": false
}
45 changes: 26 additions & 19 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,45 +1,52 @@
<Project>
<PropertyGroup>
<TargetFrameworks>net9.0-windows;net8.0-windows;net48</TargetFrameworks>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<!-- Common properties for all projects -->
<Platforms>x64</Platforms>

<!-- Limiting to 7.3 because of .NET Framework -->
<LangVersion>7.3</LangVersion>

<RunAnalyzersDuringBuild>True</RunAnalyzersDuringBuild>
<RunAnalyzersDuringLiveAnalysis>True</RunAnalyzersDuringLiveAnalysis>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>

<UseArtifactsOutput>true</UseArtifactsOutput>
<IsPackable>false</IsPackable>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
<PublishSingleFile>false</PublishSingleFile>
<PublishSelfContained>false</PublishSelfContained>
<SelfContained>false</SelfContained>
<IsPackable>false</IsPackable>
<NeutralLanguage>en-US</NeutralLanguage>
<!-- Limiting to 7.3 because of .NET Framework -->
<LangVersion>7.3</LangVersion>
<Product>Radeon Software Slimmer</Product>
<AssemblyTitle>Radeon Software Slimmer</AssemblyTitle>
<Authors>Greg Seaton</Authors>
<!-- Enable local building on linux -->
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<!-- Enable analyzers and make sure they run during build and live analysis -->
<RunAnalyzers>true</RunAnalyzers>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
<RunAnalyzersDuringLiveAnalysis>true</RunAnalyzersDuringLiveAnalysis>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<WarningLevel>9999</WarningLevel>
<!-- Place all output files in the artifacts directory-->
<UseArtifactsOutput>true</UseArtifactsOutput>
<ArtifactsPath>$(MSBuildThisFileDirectory)/artifacts</ArtifactsPath>
<!-- Disable native code coverage instrumentation since we don't have any native code -->
<EnableStaticNativeInstrumentation>False</EnableStaticNativeInstrumentation>
<EnableDynamicNativeInstrumentation>False</EnableDynamicNativeInstrumentation>
</PropertyGroup>

<ItemGroup>
<!--https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1416-->
<SupportedPlatform Include="Windows" />
</ItemGroup>

<!-- Enable warnings as errors for release builds -->
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- Blank = treat all warnings as errors -->
<WarningsAsErrors></WarningsAsErrors>
<WarningsAsErrors />
<MSBuildTreatWarningsAsErrors>true</MSBuildTreatWarningsAsErrors>
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
</PropertyGroup>

<!-- Allow warnings for local dev/testing in debug mode -->
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<MSBuildTreatWarningsAsErrors>false</MSBuildTreatWarningsAsErrors>
<CodeAnalysisTreatWarningsAsErrors>false</CodeAnalysisTreatWarningsAsErrors>
</PropertyGroup>
</Project>
</Project>
22 changes: 22 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="coverlet.collector" Version="10.0.0" />
<PackageVersion Include="MahApps.Metro" Version="2.4.11" />
<PackageVersion Include="MahApps.Metro.IconPacks.FontAwesome" Version="6.2.1" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.5.1" />
<PackageVersion Include="Microsoft.Win32.Registry" Version="5.0.0" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.4" />
<PackageVersion Include="nunit" Version="4.6.0" />
<PackageVersion Include="NUnit.Analyzers" Version="4.13.0" />
<PackageVersion Include="NUnit3TestAdapter" Version="6.2.0" />
<PackageVersion Include="SonarAnalyzer.CSharp" Version="10.25.0.139117" />
<PackageVersion Include="System.IO.Abstractions" Version="22.1.1" />
<PackageVersion Include="System.IO.Abstractions.TestingHelpers" Version="22.1.1" />
<PackageVersion Include="System.ServiceProcess.ServiceController" Version="10.0.7" />
<PackageVersion Include="TaskScheduler" Version="2.12.2" />
<PackageVersion Include="TestableIO.System.IO.Abstractions.Analyzers" Version="2022.0.0" />
</ItemGroup>
</Project>
43 changes: 14 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Radeon Software Slimmer

**https://github.com/GSDragoon/RadeonSoftwareSlimmer**
**[https://github.com/GSDragoon/RadeonSoftwareSlimmer](https://github.com/GSDragoon/RadeonSoftwareSlimmer)**

![Release](https://github.com/GSDragoon/RadeonSoftwareSlimmer/workflows/Release/badge.svg)
![Continuous-Integration](https://github.com/GSDragoon/RadeonSoftwareSlimmer/workflows/Continuous-Integration/badge.svg)
![Release](https://github.com/GSDragoon/RadeonSoftwareSlimmer/workflows/Release/badge.svg)
![Continuous-Integration](https://github.com/GSDragoon/RadeonSoftwareSlimmer/workflows/Continuous%20Integration/badge.svg)

![Latest-Release-Version](https://img.shields.io/github/v/release/GSDragoon/RadeonSoftwareSlimmer?color=yellow)
![Latest-Release-Date](https://img.shields.io/github/release-date/GSDragoon/RadeonSoftwareSlimmer)
Expand All @@ -14,7 +14,7 @@

Radeon Software Slimmer is a utility to trim down the "[bloat](https://en.wikipedia.org/wiki/Software_bloat)" with the [Radeon Software](https://www.amd.com/en/technologies/radeon-software) for AMD GPUs on Microsoft Windows.

Radeon Software Adrenalin 2020 Edition introduced a ton of new features. You can read about it [here](https://community.amd.com/community/gaming/blog/2019/12/10/change-the-way-you-game-with-amd-radeon-software-adrenalin-2020-edition). While many enjoy these features, there are some that do not. And to those users, they feel the software contains a lot of unnecessary bloat without any way to not install or disable it. Radeon Software Slimmer is aimed at those users who want to keep their systems as slim as possible. This software is not meant to disrespect AMD or it's hard-working employees. It was inspired by the [NVIDIA driver slimming utility](https://www.guru3d.com/files-details/nvidia-driver-slimming-utility.html).
Radeon Software Adrenalin 2020 Edition introduced a ton of new features. You can read about it [here](https://community.amd.com/community/gaming/blog/2019/12/10/change-the-way-you-game-with-amd-radeon-software-adrenalin-2020-edition). While many enjoy these features, there are some that do not. And to those users, they feel the software contains a lot of unnecessary bloat without any way to not install or disable it. Radeon Software Slimmer is aimed at those users who want to keep their systems as slim as possible. This software is not meant to disrespect AMD or it's hard-working employees. It was inspired by the [NVIDIA driver slimming utility](https://www.guru3d.com/files-details/nvidia-driver-slimming-utility.html). <!-- markdownlint-disable-line descriptive-link-text -->

Radeon Software Slimmer is completely free and open source. It does not contain any advertisements, telemetry or reach out to the internet. Logging is captured within the application, for troubleshooting purposes, but does not write to file or leave the application unless you explicitly do so.

Expand All @@ -29,6 +29,7 @@ Improper use could cause system instability. **Use at your own risk!**
Documentation can be found on the [Wiki](https://github.com/GSDragoon/RadeonSoftwareSlimmer/wiki).

Requirements:

* Administrator rights
* Windows 10 64-bit or Windows 11 (Latest version recommended)
* .NET (Either ***one*** of the following)
Expand All @@ -38,6 +39,7 @@ Requirements:
* [.NET Desktop Runtime 9.0 x64](https://dotnet.microsoft.com/download/dotnet/9.0) (latest release recommended)

Installation:

1. Download the version you want on the [Releases page](https://github.com/GSDragoon/RadeonSoftwareSlimmer/releases).
2. Extract the contents of the downloaded zip file to a folder of your choice. If upgrading from a previous version, it is highly recommended to deleted the old files first. There are no persistent configuration files or anything like that.
3. Run `RadeonSoftwareSlimmer.exe`
Expand All @@ -46,28 +48,11 @@ Installation:

Thanks to the following third parties used with this software:

* .NET
* https://dotnet.microsoft.com/
* Built with .NET and related Microsoft libraries
* 7-Zip
* https://www.7-zip.org/
* 7z.exe included in download
* Used for decompressing the Radeon Software installer files
* Radeon profile icon
* http://www.iconarchive.com/show/papirus-apps-icons-by-papirus-team/radeon-profile-icon.html
* Main application icon
* MahApps
* https://mahapps.com/
* UI controls, styles, themes and more
* Json.NET
* https://www.newtonsoft.com/json
* Used for reading json files with the Radeon Software installer
* Task Scheduler Manged Wrapper
* https://github.com/dahall/taskscheduler
* Used to read and modify system scheduled tasks
* System.IO.Abstractions
* https://github.com/System-IO-Abstractions/System.IO.Abstractions
* Provides abstractions for System.IO for testability
* Shields.io
* https://shields.io/
* Provides badges on readme
* [.NET](https://dotnet.microsoft.com/): Built with .NET and related Microsoft libraries
* [7-Zip](https://www.7-zip.org/): Used for decompressing the Radeon Software installer files
* [Radeon profile icon](http://www.iconarchive.com/show/papirus-apps-icons-by-papirus-team/radeon-profile-icon.html): Main application icon
* [MahApps](https://mahapps.com/): UI controls, styles, themes and more
* [Json.NET](https://www.newtonsoft.com/json): Used for reading json files with the Radeon Software installer
* [Task Scheduler Manged Wrapper](https://github.com/dahall/taskscheduler): Used to read and modify system scheduled tasks
* [System.IO.Abstractions](https://github.com/System-IO-Abstractions/System.IO.Abstractions): Provides abstractions for System.IO for testability
* [Shields.io](https://shields.io/): Provides badges on readme
Loading
Loading