Andrew Smith
37234e02b5
Migrate to Dotnet 6 ( #6214 )
...
This PR migrates main branch from dotnet 3.1 to dotnet 6.0. This is working off of Damon's prior PR here:
https://github.com/Azure/iotedge/pull/6185
Code changes on top of the linked PR are minor. Only notable things:
1. Removed symlinks from arm64 dockerfiles that are no longer needed
2. TempfilterFunctions module is still on dotnet 3, as base image doesn't support dotnet 6 for arm32
3. EdgeHub watchdog has to shell out to sleep rather than call `thread::sleep()` to bypass a bug in rust. Logged a bug with rust repo.
4. Various retries added in E2E test code to get around problems caused by dotnet 6. Logged bugs with SDK team where appropriate.
5. Upgrade rust artifact build OS for amd64/arm* platforms to ubuntu 20 (from ubuntu 18).
Passing pipelines:
1. [Build Images](https://dev.azure.com/msazure/One/_build/results?buildId=54001600&view=results )
2. [CI](https://dev.azure.com/msazure/One/_build/results?buildId=53619492&view=results )
6. [E2E](https://dev.azure.com/msazure/One/_build/results?buildId=54004817&view=results )
7. [Nested E2E](https://dev.azure.com/msazure/One/_build/results?buildId=53668874&view=results )
8. [Connectivity](https://dev.azure.com/msazure/One/_build/results?buildId=53834451&view=results )
9. [Build Images Release](https://dev.azure.com/msazure/One/_build/results?buildId=53619579&view=results )
## Azure IoT Edge PR checklist:
2022-04-13 18:38:24 +00:00
Andrew Smith
f87a18a487
Update codebase to dotnet 3.1. ( #2996 )
...
Same PR as here:
https://github.com/Azure/iotedge/pull/2896
The above PR wouldn't merge due to too many commits. Reopening a new one.
2020-05-22 17:02:05 +00:00
Philip Lin
729a442725
Fix build about SA1135 ( #2806 )
...
Fix build due to SA1135 when build with .Net Core 3.1. Will re-enable it once https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3136 is resolved.
2020-04-07 00:12:38 +00:00
Philip Lin
36af98b646
Update Code Style ( #1629 )
...
* Enable SA1210 - using directives within a C# code file are sorted alphabetically by namespace
* Enable SA1008 - An opening parenthesis within a C# statement is not spaced correctly.
* Enable SA1129 - DoNotUseDefaultValueTypeConstructor.
* Enable SA1131 - A comparison was made between a variable and a literal or constant value, and the variable appeared on the right-hand side of the expression.
* Enable SA1308 - A field name in C# is prefixed with m_ or s_.
* Enable AS1309 - A field name in C# begins with an underscore.
* Fix SA1210 due to case sensitive issue
2019-08-29 15:05:38 -07:00
Philip Lin
027a509549
Code formating for C# codebase ( #677 )
2019-01-04 13:42:31 -08:00