diff --git a/.editorconfig b/.editorconfig index 22cf7384..8bfba17d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -30,3 +30,7 @@ dotnet_diagnostic.CS8602.severity = suggestion # Accessing a member that was not originally public as suggestion # We are bound to modify / call private members because of this project nature dotnet_diagnostic.Publicizer001.severity=suggestion + +[*.csproj] +indent_style = space +indent_size = 2 diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..0f5d389c --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: "nuget" + # uses *.csproj files from projects in /R2API.sln + directory: "/" + schedule: + interval: "daily" + ignore: + - dependency-name: "UnityEngine.Modules" + - dependency-name: "BepInEx.Core" + update-types: ["version-update:semver-major"] diff --git a/R2API.Test/R2API.Test.csproj b/R2API.Test/R2API.Test.csproj index 7bf4dcee..2913c33b 100644 --- a/R2API.Test/R2API.Test.csproj +++ b/R2API.Test/R2API.Test.csproj @@ -12,12 +12,12 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/R2API/R2API.csproj b/R2API/R2API.csproj index a85e89d4..ec60201f 100644 --- a/R2API/R2API.csproj +++ b/R2API/R2API.csproj @@ -6,39 +6,29 @@ 2.0.0 annotations true + $(NoWarn);NU5104 - true True - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + + - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - + + + + - - NU1701 - - libs\RoR2BepInExPack.dll - false + $(Pkgbbepis-BepInExPack)\lib\$(TargetFramework)\RoR2BepInExPack.dll + true libs\SimpleJSON.dll diff --git a/R2API/libs/RoR2BepInExPack.dll b/R2API/libs/RoR2BepInExPack.dll deleted file mode 100644 index 6b676334..00000000 Binary files a/R2API/libs/RoR2BepInExPack.dll and /dev/null differ diff --git a/nuget.config b/nuget.config index fffd9183..d9f8bc03 100644 --- a/nuget.config +++ b/nuget.config @@ -2,5 +2,6 @@ +