Dinomite-Studios / unity-azure-pipelines-tasks

Azure DevOps extension adding tools to build and deploy Unity 3D projects using Azure Pipelines
https://unitydevops.com/
MIT License
121 stars 49 forks source link

Simple changes needed to pass Quality Analysis #254

Closed paulio closed 4 months ago

paulio commented 4 months ago

When a Unity project is using standard Microsoft Code Analysis Quality rules, it fails because AzureDevOps.cs fails on 3 rules.

The changes needed are simple but without them the class fails the whole build. A potentially simple solution is to check for the presence of the AzureDevOps.cs and leave it alone if it's already there - potentially a flag option. That would allow for any customizations required by the client.

FejZa commented 4 months ago

https://github.com/Dinomite-Studios/unity-azure-pipelines-tasks/pull/255