Граф коммитов

56 Коммитов

Автор SHA1 Сообщение Дата
Andrii Tretiak 9341682071
Disable PathMap for debug to fix symbols mapping (#670)
* Disable PathMap for debug to fix symbols mapping

Enabling it for debug prevent debugger from loading symbols

* Update Directory.Build.props

* Fix tests

---------

Co-authored-by: Keith Cully <2370032+K-Cully@users.noreply.github.com>
Co-authored-by: artempushkin <32305353+artempushkin@users.noreply.github.com>
Co-authored-by: Neil <49037171+neilr81@users.noreply.github.com>
2024-06-17 20:12:52 +01:00
Keith Cully 52f89fe844
Drop Net7 support (#677)
This was forgotten about when .Net7 support was being dropped elsewhere
2024-05-17 10:50:46 +01:00
Neil de828d8f6b
Adding NetStandard for Abstractions project (#664)
* Adding NetStandard support for Abstractions Library

Netstandard is still needed in one place down the chain. Updated all other projects to use netcore versions and reduced library targets to the Abstractions project

* remove netcore check

---------

Co-authored-by: Neil Richardson <neil.richardson@microsoft.com>
2024-03-15 15:40:37 +00:00
Neil fd0589a46a
Adding .NET 7 SDK for unit tests (#654)
* Updating tests to run on the latest version of .NET

Both versions is unnecessary since .NET Standard support was dropped. Also don't need an OS check anymore.

* Update Directory.Packages.props

* Update Directory.Build.props

Test setting framework explicitly.

* Update Directory.Build.props

* Update dotnet-initialize.yml
2024-02-09 20:41:59 +00:00
Neil 405679caa1
Revert "Remove .NET7 Support" (#653)
* Revert "Remove .NET7 Support (#647)"

This reverts commit 8dfecc9882.

* Update dotnet-initialize.yml

* Update github-semmle.yml

* Update Directory.Packages.props

* Update Directory.Packages.props

* Update Directory.Packages.props

Co-authored-by: Keith Cully <2370032+K-Cully@users.noreply.github.com>

* Update Directory.Packages.props

Co-authored-by: Keith Cully <2370032+K-Cully@users.noreply.github.com>

* Update Directory.Packages.props

---------

Co-authored-by: Keith Cully <2370032+K-Cully@users.noreply.github.com>
2024-02-08 10:24:15 +00:00
Neil 727d0ff99e
Removing NetStandard support for OMEX (#650)
* Removing NetStandard support for OMEX

* Update Microsoft.Omex.Extensions.Diagnostics.HealthChecks.UnitTests.csproj

* Update Microsoft.Omex.Extensions.ServiceFabricGuest.Abstractions.UnitTests.csproj

* Delete src/Abstractions/NetStandardCompatability.cs

* Update NullableAssert.cs

* Update HttpEndpointHealthCheck.cs

* Update Validation.cs

* Update NullableAssert.cs

* Fixing typo

* Remove netstandard and framework build references

* Updating to use AppendJoin

* Removing unused function

* Test removal of SF step

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

---------

Co-authored-by: Neil Richardson <neil.richardson@microsoft.com>
Co-authored-by: Keith Cully <2370032+K-Cully@users.noreply.github.com>
2024-02-06 10:12:53 +00:00
Keith Cully 8dfecc9882
Remove .NET7 Support (#647)
* Remove Net7 target and package refs

* Remove temporary SDK install steps
2024-01-09 16:41:37 +00:00
Keith Cully 09bc06c8c1
Fix package references while dual targeting (#642) 2023-12-05 14:13:54 +00:00
Omex GitHub Bot 6589a53a12
.NET8 update - Automatic NuGet package update 24416230 AB#8430180 (#640)
* Automatic NuGet package update 24416230

* Roll back Net8 updates for now

* Apply suggestions from code review

* Update target and SDK version

* update gh workflow build

* update gh codeql workflow build

* Add temporary SDK install to yml builds

* re-add net8 updates

* update devcontainer to install latest .NET SDK

* fix static analysis build error

* fix static analysis error

---------

Co-authored-by: Create Pull Request Task <Create Pull Request Task>
Co-authored-by: Keith Cully <2370032+K-Cully@users.noreply.github.com>
2023-11-28 14:24:06 +00:00
Neil 51a3283db2
Fixing secret suppression (#631)
* Fixing secret suppression

Also removing .NET Framework from unit tests as it's not used by any projects.

* Update Directory.Build.props

* Update Directory.Build.props

* Update Directory.Build.props
2023-11-13 14:38:50 +00:00
Keith Cully 07777c0de9 Re-add net core versions property 2023-03-20 13:22:57 +00:00
Neil 335945a934
Update Directory.Build.props 2023-03-09 20:50:53 +00:00
Andrey Tretyak f3988364a5
Move to default CPM 2023-02-14 15:29:31 -08:00
gajdusep e477310866
Added .NET 6 to targets (#521)
* added dotnet 6 to targets

* unittest only .NET 7

* unittest SettingsGen only net7

* web unittest only .net 7

Co-authored-by: Pavel Gajdusek <pgajdusek@microsoft.com>
2022-11-15 15:27:31 +00:00
gajdusep 739ae123e4
.NET 7 (#520)
* added dotnet 7

* github workflow - set dotnet 7

* dockerfile, workflows, packages - net 7

* indentation fix

Co-authored-by: Pavel Gajdusek <pgajdusek@microsoft.com>
Co-authored-by: Neil <49037171+neilr81@users.noreply.github.com>
2022-11-14 17:22:03 +00:00
Francesco Bonacci 798a4c61d5 Mark as pre-release 2022-09-05 11:21:17 +01:00
Francesco Bonacci aba0e1ad33 Bump version 20.0.0.7 2022-09-04 20:51:48 +01:00
Neil 87fe41a2a4
Update Directory.Build.props 2022-05-03 19:17:59 +01:00
Neil 46a195a0d9
Update Directory.Build.props 2022-04-14 21:27:18 +01:00
Neil 293e168d53
Update Directory.Build.props 2022-04-14 19:35:58 +01:00
Neil 47ddcfc1d1
Update Directory.Build.props 2022-04-14 19:35:22 +01:00
Neil ccdeb0e122
Update Directory.Build.props 2022-04-14 18:52:54 +01:00
Neil fa9e057c30
Update Directory.Build.props 2022-04-14 18:32:53 +01:00
Neil 9f01c6f3e5
Update Directory.Build.props 2022-04-14 18:27:57 +01:00
Neil 655a16d8a7
Update Directory.Build.props 2022-04-14 18:09:19 +01:00
Neil db5fbecf81
Update Directory.Build.props 2022-04-13 12:27:29 +01:00
Andrey Tretyak b7276eee1f
Delete depricated packages (#439) 2022-01-26 16:46:07 +00:00
Andrey Tretyak 088da6ead6
Remove .NET 5 from targets (#434)
* Remove .NET 5 from targets

No need of targeting it explicitly, since most of the consumers updated or can use `.netstandard2.0` dll.

* Update build.yml

* Update Dockerfile
2021-12-09 15:11:44 +00:00
Adam Szczepanski 6bbd3f7a91 Add support for net6.0 2021-11-09 08:25:50 +00:00
Daniel Kanev 34919f3839
Increasing package version after release (#421)
Co-authored-by: Keith Cully <2370032+K-Cully@users.noreply.github.com>
2021-10-15 15:26:33 +01:00
Daniel Kanev e58b441cb8 Bumped version after release 2021-10-12 10:44:49 +01:00
Andrey Tretyak 0f019f1121
Remove netcoreapp3.1 support (#409) 2021-10-05 10:32:51 +01:00
Andrey Tretyak 667bc731d7
Improve Tag.Create logging (#407)
* Improve Tag.Create logging

* Fix UT
2021-10-01 13:50:10 +01:00
Daniel Kanev 4638d0a03e Bumping version after creating release 2021-03-05 17:04:24 +00:00
Andrey Tretyak 7ee41bfab7
Target .NET 5 + UT helpers (#283)
* Target .NET 5 + UT helpers
2020-11-18 11:43:26 +00:00
Andrey Tretyak 7ae41f22dd
Attempt remove net472 as a targets for packages (#246)
* Attempt remove net472 as a targets for packages

Theoretically, we don't need net472 as a target anymore since it could use netstandard2.0 instead, we'll see how it will work :)

* Fix unit test targets

* Order variables

* Fix naming
2020-09-17 14:32:01 +01:00
Andrey Tretyak 0a47a7fa04
Remove netstandard2.1 (#240) 2020-08-21 10:15:42 +01:00
Andrey Tretyak 607a6e1e80
Convert sample project and GateGen to netcore (#230)
* Reduce full framework usage
* Convert GateGen to netcore
* Improve package creation
2020-08-04 12:38:12 +01:00
Andrey Tretyak c266a76212
Fix Semmle warnings in unit tests (#228)
Fix Semmle warnings in unit tests
2020-07-22 10:35:24 +01:00
Andrey Tretyak d055b87e35
Add publish step to pipeline (#163)
Add publish step to pipeline
2020-07-10 12:02:08 +01:00
Andrey Tretyak 762b7c3288 Change strong name sign key file 2020-04-10 13:43:29 +01:00
Andrey Tretyak 84560d94ca
Fix public key for IntrenalVisibleTo (#174)
Fix public key for IntrenalVisibleTo
2020-03-24 10:27:29 +00:00
Andrey Tretyak e4f2c9588d
Create Omex extension projects to simplify usage of common logic (#153)
Create extension projects to simplify the usage of common logic:

Microsoft.Omex.Extensions.Abstractions for common interfaces
Microsoft.Omex.Extensions.Compatability to support old logging and validation logic
Microsoft.Omex.Extensions.Logging implementation of LoggerProvider
Microsoft.Omex.Extensions.TimedScopes abstraction to measure code execution using Activity
Microsoft.Omex.Extensions.Hosting providers entry point with initialized logger timedscopes and DI
Microsoft.Omex.Extensions.Hosting.Services entry point for SF Services
Microsoft.Omex.Extensions.Hosting.Services.Web entry point for SF Web Services
A sample usage would be:

public async Task Main(string[] args)
{
  await Host
    .CreateDefaultBuilder(args)
    .AddOmexCompatabilityServices()  // Microsoft.Omex.Extensions.Compatability, needed only if you want to use ULSLogger or Code.Validate
    .BuildStatelessService(  // Microsoft.Omex.Extensions.Hosting.Services
      "MyAwesomeService",
      builder =>
      {
        builder
          .AddServiceAction(RunAsyncAction1)
          .AddServiceAction(RunAsyncAction2)
          .AddServiceListener("MyListener1", Listener1)
          .AddServiceListener("MyListener2", Listener2)
          .AddKestrelListener<Startup>(  // Microsoft.Omex.Extensions.Hosting.Services.Web
            "MyWebListener",
            ServiceFabricIntegrationOptions.UseReverseProxyIntegration);
      })
    .RunAsync();
}
2020-03-13 19:36:11 +00:00
Andrey Tretyak 2b5ab79152 Change target frameworks and build pipeline (#158) 2020-01-28 17:34:45 +00:00
Adam Szczepański 6a84cf38be
Add net472 as another target framework; update packages (#148)
* Add net472 as another target framework; update packages

* Remove unused variable
2019-11-22 15:14:56 +00:00
Andrey Tretyak e3c88d35df
Enable source link without git folder (#140) 2019-10-21 10:16:57 +01:00
ekorobchenko f62c632aa0 Enable nullability for Validation methods (#132)
* Enable nullability for Validation methods
* Add ExpectsArgumentNotNull method
2019-10-17 15:48:14 +01:00
Andrey Tretyak cf0e035252 Csproj files cleanup (#129)
* Csproj files cleanup

* Add property group lables
2019-10-15 15:03:21 +01:00
Andrey Tretyak c11b1073f9
Enable validation of ignored warnings (#124)
* Enable warning validation

* Add new lines

* Fix build
2019-10-15 13:50:54 +01:00
ekorobchenko f847b9f9d0 Add netcore3.0 support (#113)
* Add netcore3.0 support

* Add separate property group
2019-10-10 10:36:13 +01:00