diff --git a/README.md b/README.md index 0fe03af..9cc07d6 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This is an alternative `TranscoderManager` class to be used along with the well-known [fo-dicom](https://github.com/fo-dicom/fo-dicom) project. It is associated to C/C++ libraries compiled natively for several platforms. So far: - Windows 64-bits (similar to Dicom.Native64.dll) - Linux 64-bits (tested with Ubuntu 16/18 Desktop and Server) -- MacOS (work in progress) +- MacOS (tested with macOS High Sierra Version 10.13) This transcoder differs from the existing fo-dicom implementations in the following: - Unified C/C++ source code for all platforms. @@ -29,8 +29,8 @@ The following CODECS are implemented: ## Usage -- Add the [nuget package](https://www.nuget.org/packages/Efferent.Native) to your .Net Standard project -- Add the standard fo-dicom nuget packages to your project (tested with 4.0.1) +- Add the [nuget package](https://www.nuget.org/packages/Efferent.Native) to your .Net Standard or .NetCore project +- Add the standard fo-dicom nuget packages to your project (tested with 4.0.2) - At the beginning of your application, replace the transcoder manager, as: ````C# Dicom.Imaging.Codec.TranscoderManager.SetImplementation(new Efferent.Native.Codec.NativeTranscoderManager()); diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0940e0b..1ea05db 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -103,6 +103,9 @@ stages: configuration: 'Debug' feedsToUse: 'select' versioningScheme: 'off' + - script: | + sed -nEe 's:^.*(.*).*$:##vso[task.setvariable variable=csprojVersion;isOutput=true]\1:p' src/efferent-native.csproj + name: setvarStep - task: PublishBuildArtifacts@1 displayName: Publish managed artifacts inputs: @@ -118,11 +121,11 @@ stages: feedsToUse: 'select' versioningScheme: 'off' - job: Acceptance - dependsOn: Linux + dependsOn: MacOS pool: vmImage: 'VS2017-Win2016' variables: - csprojVersion: $[ dependencies.Linux.outputs['setvarStep.csprojVersion'] ] + csprojVersion: $[ dependencies.MacOS.outputs['setvarStep.csprojVersion'] ] steps: - task: DotNetCoreCLI@2 displayName: Compliance tests diff --git a/efferent-native.nuspec b/efferent-native.nuspec index b77ed81..0663501 100644 --- a/efferent-native.nuspec +++ b/efferent-native.nuspec @@ -2,7 +2,7 @@ Efferent.Native - 3.9.1-test1 + 3.9.1-test2 Efferent Health Dicom Native Efferent-Health http://opensource.org/licenses/MS-PL diff --git a/src/efferent-native.csproj b/src/efferent-native.csproj index 2657f94..d139779 100644 --- a/src/efferent-native.csproj +++ b/src/efferent-native.csproj @@ -3,7 +3,7 @@ Cross-platform Dicom native transcoder for fo-dicom (c) Efferent Health, LLC - 3.9.1-test1 + 3.9.1-test2 netstandard2.0 Efferent.Native Efferent.Native