Skip to content

Commit d609206

Browse files
author
Adrian Popescu
committed
[Csproj] Add package validation & continuous integration build
1 parent 6382615 commit d609206

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/vies-dotnet-api/vies-dotnet-api.csproj

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
<Authors>Adrian Popescu</Authors>
1515
<Copyright>Adrian Popescu, 2017 - $([System.DateTime]::Now.Year.ToString())</Copyright>
1616
<Description>European VIES VAT validation for dotnet.</Description>
17+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
18+
<EnablePackageValidation>true</EnablePackageValidation>
1719
<NeutralLanguage>en-US</NeutralLanguage>
1820
<Owners>Adrian Popescu</Owners>
1921
<PackageId>vies-dotnet-api</PackageId>
@@ -23,7 +25,9 @@
2325
<PackageReadmeFile>README.md</PackageReadmeFile>
2426
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
2527
<PackageTags>VIES NET dotNet API EU VAT eu vat-validation vat-identification vat-number vat-information-exchange-system</PackageTags>
28+
<PackageValidationBaselineVersion>2.0.2</PackageValidationBaselineVersion>
2629
<Product>Redmine .NET API Client</Product>
30+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
2731
<ReleaseNotes></ReleaseNotes>
2832
<RepositoryType>Git</RepositoryType>
2933
<RepositoryUrl>https://github.com/zapadi/vies-dotnetcore</RepositoryUrl>
@@ -39,12 +43,10 @@
3943
<AnalysisLevel>latest</AnalysisLevel>
4044
</PropertyGroup>
4145

42-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
46+
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
47+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
4348
</PropertyGroup>
44-
45-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
46-
</PropertyGroup>
47-
49+
4850
<ItemGroup>
4951
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
5052
</ItemGroup>
@@ -56,6 +58,7 @@
5658
</ItemGroup>
5759

5860
<ItemGroup>
61+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
5962
<PackageReference Include="Meziantou.Analyzer" Version="2.0.118" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
6063
</ItemGroup>
6164
</Project>

0 commit comments

Comments
 (0)