Commit Graph

17 Commits

Author SHA1 Message Date
JesterHodl
ec76acd3a6
Code analysis (#4293)
* Enable NETAnalyzers for whole project

- remove obsolete analyzers so that the .NET Core SDK NETAnalyzers can be used
- enable NETAnalyzers for all projects so that developers can use them by defining the AnalysisMode on individual projects

This is because if we set AnalysisMode to minimal, recommended or all it would spam with warning.
The idea is to be able to turn them on during development to fix recommended stuff without polluting the build output.

Following commits will implement some of the Code Analysis findings

* Performance hints for using char overloads for single characters (CA1834 and CA1847)

CA1834: Use StringBuilder.Append(char) for single character strings
CA1847: Use string.Contains(char) instead of string.Contains(string) with single characters
2022-11-20 17:42:36 +09:00
nicolas.dorier
ab3aab9c22
Make BTCPayServer works with dotnet watch hot reload 2022-01-01 22:05:51 +09:00
nicolas.dorier
259f0b5aad
Bump to C# 10 2021-12-27 13:20:57 +09:00
Nicolas Dorier
02419dcdd1
Migrate to .net6.0 (#3198) 2021-12-27 13:15:43 +09:00
nicolas.dorier
b970f64639
Remove build warnings 2021-10-06 12:53:41 +09:00
nicolas.dorier
77fff553d1
Activate runtime razor or all debug configs 2020-07-29 19:58:54 +09:00
nicolas.dorier
02998fff49
Add Altcoins-Release and Altcoins-Debug configurations 2020-07-29 18:55:28 +09:00
nicolas.dorier
d3408b91be
bump libraries 2020-01-12 15:32:26 +09:00
nicolas.dorier
63c4ec1809
Reactivate GoogleCloudStorage 2020-01-12 13:55:41 +09:00
nicolas.dorier
3449bba4b3
Reactivate google storage 2020-01-12 13:39:42 +09:00
nicolas.dorier
d94b016e63
Add google storage at build time 2020-01-12 13:34:29 +09:00
nicolas.dorier
629dfcf152
Cleanup netcore21 specific code 2020-01-12 13:30:54 +09:00
nicolas.dorier
83ea95ed6d
Switch to .netcoreapp3.1 2020-01-11 13:12:39 +09:00
nicolas.dorier
dacf5c1e16
Go back to .net 7.3 2019-10-18 23:50:18 +09:00
nicolas.dorier
8643c04a39
Additional fixes for 3.0 2019-10-18 21:46:34 +09:00
nicolas.dorier
d23adfbd78
Prepare BTCPayServer.Common and BTCPayServer.Rating for .netcore 3.0 2019-10-03 16:13:12 +09:00
nicolas.dorier
307c8980e0
Move Common and Version.csproj in Build folder 2019-06-17 21:42:48 +09:00