Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/vies-dotnet-api/Internal/ViesService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ public async Task<ViesCheckVatResponse> SendRequestAsync(string countryCode, str
private async Task<ViesCheckVatResponse> GetViesCheckVatResponseAsync(HttpResponseMessage httpResponseMessage, CancellationToken cancellationToken)
{
using(Stream stream =
#if !(NETCOREAPP || NET5_0_OR_GREATER)
await httpResponseMessage.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false))
#if (NETSTANDARD2_0 || NETSTANDARD2_1)
await httpResponseMessage.Content.ReadAsStreamAsync().ConfigureAwait(false))
#else
await httpResponseMessage.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false))
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/vies-dotnet-api/Parsers/Xml/XmlResponseParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public async Task<ViesCheckVatResponse> ParseAsync(Stream response)
}
}

throw new ViesDeserializationException($"Could not deserialize response: {response}");
throw new ViesDeserializationException(message: $"Could not deserialize response: {response}");
}

private static ViesCheckVatResponse ReadResponse(XmlReader xmlReader)
Expand Down
3 changes: 1 addition & 2 deletions src/vies-dotnet-api/vies-dotnet-api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,13 @@
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageTags>VIES NET dotNet API EU VAT eu vat-validation vat-identification vat-number vat-information-exchange-system</PackageTags>

<Product>Redmine .NET API Client</Product>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<ReleaseNotes></ReleaseNotes>
<RepositoryType>Git</RepositoryType>
<RepositoryUrl>https://github.com/zapadi/vies-dotnetcore</RepositoryUrl>
<RequireLicenseAcceptance>false</RequireLicenseAcceptance>
<Summary>VIES (VAT Information Exchange System) NET API helps you to verify if EU VAT information exists (valid) or it doesn't exist (invalid).</Summary>
<Summary>The VIES (VAT Information Exchange System) .NET API enables users to verify the validity of EU VAT identification numbers.</Summary>
<Title>VIES NET API</Title>
</PropertyGroup>

Expand Down
Loading