Template to create .NET quality rules using Roslyn
- Install: sudo dnf install dotnet-sdk-8.0
- Verify SDKs: dotnet --list-sdks
- Verify runtimes: dotnet --list-runtimes
- Unzip the folder for example in /home/xxx/Documents/data/TCQR/
- Go to /home/xxx/Documents/data/TCQR/TemplateCastQualityRule/
- dotnet build TemplateCastQualityRules.csproj -c Release --runtime linux-x64 /p:PublishReadyToRun=true /p:Platform=x64
- Go to home/xxx/Documents/data/TCQR/ TestsTemplateQualityRules/
- dotnet build UnitTestTemplateCastQualityRules.csproj -c Release --runtime linux-x64 /p:PublishReadyToRun=true /p:Platform=x64
- Unzip the third_parties folder to /home/xxx/Documents/data/TCQR/TestsTemplateQualityRules/bin/x64/Release/net8.0/linux-x64/
- Go to /home/xxx/Documents/data/TCQR/TestsTemplateQualityRules/bin/x64/Release/net8.0/linux-x64/
- dotnet test UnitTestTemplateCastQualityRules.dll