diff --git a/.gitignore b/.gitignore index 6fab35695..6aa694f12 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,8 @@ dist/ .vscode/ # Visual Studio 2015 cache/options directory .vs/ +# Rider +.idea/ # Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets !packages/*/build/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 05fd5af77..5d9b6e2a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,13 +7,17 @@ All notable changes to this project will be documented in this file. ## Previous Releases ### +## [3.0.2] - 2021-08-09 +This change gives nhapi [strong-named assemblies](https://docs.microsoft.com/en-us/dotnet/standard/assembly/strong-named), there are no codes changes. +### Bug Fixes +- [#227](https://github.com/nHapiNET/nHapi/issues/227) fixes "A strongly-named assembly is required" runtime errors + ## [nhapi.model.v231 3.0.1] - 2021-07-02 This release is for the NuGet package `nhapi.model.v231` only, there are no code changes, see below for change. - Remove unused project reference. ## [3.0.0] - 2021-06-28 - Along with the changes below you can now be more selective about how you install nHapi, please read the [Getting Started](https://github.com/nHapiNET/nHapi/wiki/Getting-Started#nhapi-version-300) page of the wiki for more information. ### Breaking Changes diff --git a/build/nHapi.v3.nuspec b/build/nHapi.v3.nuspec index d6c5a0250..1d53324ed 100644 --- a/build/nHapi.v3.nuspec +++ b/build/nHapi.v3.nuspec @@ -2,7 +2,7 @@ nhapi - 3.0.0 + 3.0.2 Chad Chenoweth,Duane Edwards,Jake Aitchison MPL-2.0 https://github.com/nHapiNET/nHapi @@ -13,7 +13,7 @@ NHapi allows Microsoft .NET developers to easily use an HL7 2.x object model. This object model allows for parsing and encoding HL7 2.x data to/from Pipe Delimited or XML formats. A very handy program for use in the health care industry. This project is NOT affiliated with the HL7 organization. This software just conforms to the HL7 2.x specifications. - https://github.com/nHapiNET/nHapi/releases/tag/v3.0.0 + https://github.com/nHapiNET/nHapi/releases/tag/v3.0.2 HL7 parsing healthcare HAPI xml docs\README.md diff --git a/src/NHapi.Base/NHapi.Base.csproj b/src/NHapi.Base/NHapi.Base.csproj index 5fbfcc6c0..a90f55f7f 100644 --- a/src/NHapi.Base/NHapi.Base.csproj +++ b/src/NHapi.Base/NHapi.Base.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.base - 3.0.0 + 3.0.2 Chad Chenoweth;Duane Edwards;Jake Aitchison MIT https://github.com/nHapiNET/nHapi @@ -12,13 +12,17 @@ git The core components for parsing/encoding HL7 messages. Contains the base classes and interfaces for datatypes, segments, and messages. HL7;parsing;healthcare;HAPI;xml - https://github.com/nHapiNET/nHapi/releases/tag/v3.0.0 + https://github.com/nHapiNET/nHapi/releases/tag/v3.0.2 docs\README.md ..\..\NHapi.snk false 1591 + + true + + diff --git a/src/NHapi.Base/Properties/AssemblyInfo.cs b/src/NHapi.Base/Properties/AssemblyInfo.cs index ec5732d32..7806938a5 100644 --- a/src/NHapi.Base/Properties/AssemblyInfo.cs +++ b/src/NHapi.Base/Properties/AssemblyInfo.cs @@ -12,4 +12,14 @@ // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("fb32b28b-416b-4145-992b-824afe2eb911")] -[assembly: InternalsVisibleTo("NHapi.SourceGeneration")] \ No newline at end of file + +#if DEBUG +[assembly: InternalsVisibleTo("NHapi.SourceGeneration")] +#else +[assembly: InternalsVisibleTo("NHapi.SourceGeneration,PublicKey=" + +"0024000004800000940000000602000000240000525341310004000001000100b938fa88814fb9" + +"9f1d02dfce84c41f38eb1ca31f694b706248e6e21ceed1b1d150416c1375603c7a5dd6d3b2cdec" + +"97ccbbdd7a1d6fac61a1ad96ebf88e889ba113913c2f36890ea75108a1d8a23affc0c87357f07d" + +"ec77c69a519215d0d4043759397b1a8fea1dc881b440ba4232ad4e24d7a8d90bb004549cf4f9dd" + +"2d6c13d8")] +#endif \ No newline at end of file diff --git a/src/NHapi.Model.V21/NHapi.Model.V21.csproj b/src/NHapi.Model.V21/NHapi.Model.V21.csproj index 17675d6f8..0ca75457e 100644 --- a/src/NHapi.Model.V21/NHapi.Model.V21.csproj +++ b/src/NHapi.Model.V21/NHapi.Model.V21.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v21 - 3.0.0 + 3.0.2 Chad Chenoweth;Duane Edwards;Jake Aitchison MIT https://github.com/nHapiNET/nHapi @@ -12,13 +12,17 @@ git Contains the data types, segments, and messages that follow the HL7 2.1 schema. HL7;parsing;healthcare;HAPI;xml - https://github.com/nHapiNET/nHapi/releases/tag/v3.0.0 + https://github.com/nHapiNET/nHapi/releases/tag/v3.0.2 docs\README.md ..\..\NHapi.snk false 1591 + + true + + diff --git a/src/NHapi.Model.V22/NHapi.Model.V22.csproj b/src/NHapi.Model.V22/NHapi.Model.V22.csproj index 9e3266e38..82b89d612 100644 --- a/src/NHapi.Model.V22/NHapi.Model.V22.csproj +++ b/src/NHapi.Model.V22/NHapi.Model.V22.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v22 - 3.0.0 + 3.0.2 Chad Chenoweth;Duane Edwards;Jake Aitchison MIT https://github.com/nHapiNET/nHapi @@ -12,13 +12,17 @@ git Contains the data types, segments, and messages that follow the HL7 2.2 schema. HL7;parsing;healthcare;HAPI;xml - https://github.com/nHapiNET/nHapi/releases/tag/v3.0.0 + https://github.com/nHapiNET/nHapi/releases/tag/v3.0.2 docs\README.md ..\..\NHapi.snk false 1591 + + true + + diff --git a/src/NHapi.Model.V22_ZSegments/NHapi.Model.V22_ZSegments.csproj b/src/NHapi.Model.V22_ZSegments/NHapi.Model.V22_ZSegments.csproj index 8813f58f3..1ec4eb0b1 100644 --- a/src/NHapi.Model.V22_ZSegments/NHapi.Model.V22_ZSegments.csproj +++ b/src/NHapi.Model.V22_ZSegments/NHapi.Model.V22_ZSegments.csproj @@ -8,6 +8,10 @@ 1591 + + true + + diff --git a/src/NHapi.Model.V23/NHapi.Model.V23.csproj b/src/NHapi.Model.V23/NHapi.Model.V23.csproj index 1a7fb5d36..2e1f1b11e 100644 --- a/src/NHapi.Model.V23/NHapi.Model.V23.csproj +++ b/src/NHapi.Model.V23/NHapi.Model.V23.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v23 - 3.0.0 + 3.0.2 Chad Chenoweth;Duane Edwards;Jake Aitchison MIT https://github.com/nHapiNET/nHapi @@ -12,13 +12,17 @@ git Contains the data types, segments, and messages that follow the HL7 2.3 schema. HL7;parsing;healthcare;HAPI;xml - https://github.com/nHapiNET/nHapi/releases/tag/v3.0.0 + https://github.com/nHapiNET/nHapi/releases/tag/v3.0.2 docs\README.md ..\..\NHapi.snk false 1591 + + true + + diff --git a/src/NHapi.Model.V231/NHapi.Model.V231.csproj b/src/NHapi.Model.V231/NHapi.Model.V231.csproj index 2c10b1eca..75fba8575 100644 --- a/src/NHapi.Model.V231/NHapi.Model.V231.csproj +++ b/src/NHapi.Model.V231/NHapi.Model.V231.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v231 - 3.0.1 + 3.0.2 Chad Chenoweth;Duane Edwards;Jake Aitchison MIT https://github.com/nHapiNET/nHapi @@ -12,13 +12,17 @@ git Contains the data types, segments, and messages that follow the HL7 2.3.1 schema. HL7;parsing;healthcare;HAPI;xml - https://github.com/nHapiNET/nHapi/releases/tag/v3.0.1-nhapi.model.v231 + https://github.com/nHapiNET/nHapi/releases/tag/v3.0.2 docs\README.md ..\..\NHapi.snk false 1591 + + true + + diff --git a/src/NHapi.Model.V24/NHapi.Model.V24.csproj b/src/NHapi.Model.V24/NHapi.Model.V24.csproj index a4e894f73..be66e6fb2 100644 --- a/src/NHapi.Model.V24/NHapi.Model.V24.csproj +++ b/src/NHapi.Model.V24/NHapi.Model.V24.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v24 - 3.0.0 + 3.0.2 Chad Chenoweth;Duane Edwards;Jake Aitchison MIT https://github.com/nHapiNET/nHapi @@ -12,13 +12,17 @@ git Contains the data types, segments, and messages that follow the HL7 2.4 schema. HL7;parsing;healthcare;HAPI;xml - https://github.com/nHapiNET/nHapi/releases/tag/v3.0.0 + https://github.com/nHapiNET/nHapi/releases/tag/v3.0.2 docs\README.md ..\..\NHapi.snk false 1591 + + true + + diff --git a/src/NHapi.Model.V25/NHapi.Model.V25.csproj b/src/NHapi.Model.V25/NHapi.Model.V25.csproj index b32dce7bc..8210ab084 100644 --- a/src/NHapi.Model.V25/NHapi.Model.V25.csproj +++ b/src/NHapi.Model.V25/NHapi.Model.V25.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v25 - 3.0.0 + 3.0.2 Chad Chenoweth;Duane Edwards;Jake Aitchison MIT https://github.com/nHapiNET/nHapi @@ -12,13 +12,17 @@ git Contains the data types, segments, and messages that follow the HL7 2.5 schema. HL7;parsing;healthcare;HAPI;xml - https://github.com/nHapiNET/nHapi/releases/tag/v3.0.0 + https://github.com/nHapiNET/nHapi/releases/tag/v3.0.2 docs\README.md ..\..\NHapi.snk false 1591 + + true + + diff --git a/src/NHapi.Model.V251/NHapi.Model.V251.csproj b/src/NHapi.Model.V251/NHapi.Model.V251.csproj index dab999082..65116804a 100644 --- a/src/NHapi.Model.V251/NHapi.Model.V251.csproj +++ b/src/NHapi.Model.V251/NHapi.Model.V251.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v251 - 3.0.0 + 3.0.2 Chad Chenoweth;Duane Edwards;Jake Aitchison MIT https://github.com/nHapiNET/nHapi @@ -12,13 +12,17 @@ git Contains the data types, segments, and messages that follow the HL7 2.5.1 schema. HL7;parsing;healthcare;HAPI;xml - https://github.com/nHapiNET/nHapi/releases/tag/v3.0.0 + https://github.com/nHapiNET/nHapi/releases/tag/v3.0.2 docs\README.md ..\..\NHapi.snk false 1591 + + true + + diff --git a/src/NHapi.Model.V26/NHapi.Model.V26.csproj b/src/NHapi.Model.V26/NHapi.Model.V26.csproj index d6425abbd..8f43378ad 100644 --- a/src/NHapi.Model.V26/NHapi.Model.V26.csproj +++ b/src/NHapi.Model.V26/NHapi.Model.V26.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v26 - 3.0.0 + 3.0.2 Chad Chenoweth;Duane Edwards;Jake Aitchison MIT https://github.com/nHapiNET/nHapi @@ -12,13 +12,17 @@ git Contains the data types, segments, and messages that follow the HL7 2.6 schema. HL7;parsing;healthcare;HAPI;xml - https://github.com/nHapiNET/nHapi/releases/tag/v3.0.0 + https://github.com/nHapiNET/nHapi/releases/tag/v3.0.2 docs\README.md ..\..\NHapi.snk false 1591 + + true + + diff --git a/src/NHapi.Model.V27/NHapi.Model.V27.csproj b/src/NHapi.Model.V27/NHapi.Model.V27.csproj index a04007195..6d9914d74 100644 --- a/src/NHapi.Model.V27/NHapi.Model.V27.csproj +++ b/src/NHapi.Model.V27/NHapi.Model.V27.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v27 - 3.0.0 + 3.0.2 Chad Chenoweth;Duane Edwards;Jake Aitchison MIT https://github.com/nHapiNET/nHapi @@ -12,13 +12,17 @@ git Contains the data types, segments, and messages that follow the HL7 2.7 schema. HL7;parsing;healthcare;HAPI;xml - https://github.com/nHapiNET/nHapi/releases/tag/v3.0.0 + https://github.com/nHapiNET/nHapi/releases/tag/v3.0.2 docs\README.md ..\..\NHapi.snk false 1591 + + true + + diff --git a/src/NHapi.Model.V271/NHapi.Model.V271.csproj b/src/NHapi.Model.V271/NHapi.Model.V271.csproj index dcefaf841..260ebcc25 100644 --- a/src/NHapi.Model.V271/NHapi.Model.V271.csproj +++ b/src/NHapi.Model.V271/NHapi.Model.V271.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v271 - 3.0.0 + 3.0.2 Chad Chenoweth;Duane Edwards;Jake Aitchison MIT https://github.com/nHapiNET/nHapi @@ -12,13 +12,17 @@ git Contains the data types, segments, and messages that follow the HL7 2.7.1 schema. HL7;parsing;healthcare;HAPI;xml - https://github.com/nHapiNET/nHapi/releases/tag/v3.0.0 + https://github.com/nHapiNET/nHapi/releases/tag/v3.0.2 docs\README.md ..\..\NHapi.snk false 1591 + + true + + diff --git a/src/NHapi.Model.V28/NHapi.Model.V28.csproj b/src/NHapi.Model.V28/NHapi.Model.V28.csproj index db9b4a461..3ed6f6b0b 100644 --- a/src/NHapi.Model.V28/NHapi.Model.V28.csproj +++ b/src/NHapi.Model.V28/NHapi.Model.V28.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v28 - 3.0.0 + 3.0.2 Chad Chenoweth;Duane Edwards;Jake Aitchison MIT https://github.com/nHapiNET/nHapi @@ -12,13 +12,17 @@ git Contains the data types, segments, and messages that follow the HL7 2.8 schema. HL7;parsing;healthcare;HAPI;xml - https://github.com/nHapiNET/nHapi/releases/tag/v3.0.0 + https://github.com/nHapiNET/nHapi/releases/tag/v3.0.2 docs\README.md ..\..\NHapi.snk false 1591 + + true + + diff --git a/src/NHapi.Model.V281/NHapi.Model.V281.csproj b/src/NHapi.Model.V281/NHapi.Model.V281.csproj index 6376ab014..6f4e77a30 100644 --- a/src/NHapi.Model.V281/NHapi.Model.V281.csproj +++ b/src/NHapi.Model.V281/NHapi.Model.V281.csproj @@ -4,7 +4,7 @@ net35;netstandard2.0 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml nhapi.model.v281 - 3.0.0 + 3.0.2 Chad Chenoweth;Duane Edwards;Jake Aitchison MIT https://github.com/nHapiNET/nHapi @@ -12,13 +12,17 @@ git Contains the data types, segments, and messages that follow the HL7 2.8.1 schema. HL7;parsing;healthcare;HAPI;xml - https://github.com/nHapiNET/nHapi/releases/tag/v3.0.0 + https://github.com/nHapiNET/nHapi/releases/tag/v3.0.2 docs\README.md ..\..\NHapi.snk false 1591 + + true + + diff --git a/tests/NHapi.NUnit/NHapi.NUnit.csproj b/tests/NHapi.NUnit/NHapi.NUnit.csproj index 874bd5595..27cdcea03 100644 --- a/tests/NHapi.NUnit/NHapi.NUnit.csproj +++ b/tests/NHapi.NUnit/NHapi.NUnit.csproj @@ -72,6 +72,8 @@ + +