Skip to content

Commit

Permalink
Moved data from csproj to Directory.Build.props (#46)
Browse files Browse the repository at this point in the history
* Moved data from csproj to Directory.Build.props

* Added Description and PackageLicense to Directory.Build.props
  • Loading branch information
adimiko authored Mar 10, 2024
1 parent a97c81c commit 7eef13e
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 185 deletions.
26 changes: 26 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,30 @@
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
</PropertyGroup>

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageProjectUrl>https://transactionalbox.com</PackageProjectUrl>
<RepositoryUrl>https://github.com/adimiko/TransactionalBox</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>$(AssemblyName)</PackageTags>
<Title>$(AssemblyName)</Title>
<PackageIcon>small-logo.png</PackageIcon>
<Description>Outbox and Inbox Pattern in .NET</Description>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\assets\small-logo.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<InternalsVisibleTo Include="$(AssemblyName).UnitTests" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" />
</ItemGroup>
Expand Down
6 changes: 0 additions & 6 deletions source/TransactionalBox.Inbox/TransactionalBox.Inbox.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Confluent.Kafka" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageProjectUrl>https://transactionalbox.com</PackageProjectUrl>
<RepositoryUrl>https://github.com/adimiko/TransactionalBox</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>$(AssemblyName)</PackageTags>
<Title>$(AssemblyName)</Title>
<PackageIcon>small-logo.png</PackageIcon>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\assets\small-logo.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Abstractions" />
Expand Down
23 changes: 0 additions & 23 deletions source/TransactionalBox.Outbox/TransactionalBox.Outbox.csproj
Original file line number Diff line number Diff line change
@@ -1,32 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageProjectUrl>https://transactionalbox.com</PackageProjectUrl>
<RepositoryUrl>https://github.com/adimiko/TransactionalBox</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>$(AssemblyName)</PackageTags>
<Title>$(AssemblyName)</Title>
<PackageIcon>small-logo.png</PackageIcon>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\TransactionalBox.OutboxBase.DependencyBuilder\TransactionalBox.OutboxBase.DependencyBuilder.csproj" />
<ProjectReference Include="..\TransactionalBox.OutboxBase.StorageModel\TransactionalBox.OutboxBase.StorageModel.csproj" />
<ProjectReference Include="..\TransactionalBox\TransactionalBox.csproj" />
</ItemGroup>

<ItemGroup>
<InternalsVisibleTo Include="$(AssemblyName).UnitTests" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\assets\small-logo.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,3 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageProjectUrl>https://transactionalbox.com</PackageProjectUrl>
<RepositoryUrl>https://github.com/adimiko/TransactionalBox</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>$(AssemblyName)</PackageTags>
<Title>$(AssemblyName)</Title>
<PackageIcon>small-logo.png</PackageIcon>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\assets\small-logo.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageProjectUrl>https://transactionalbox.com</PackageProjectUrl>
<RepositoryUrl>https://github.com/adimiko/TransactionalBox</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>$(AssemblyName)</PackageTags>
<Title>$(AssemblyName)</Title>
<PackageIcon>small-logo.png</PackageIcon>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\assets\small-logo.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageProjectUrl>https://transactionalbox.com</PackageProjectUrl>
<RepositoryUrl>https://github.com/adimiko/TransactionalBox</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>$(AssemblyName)</PackageTags>
<Title>$(AssemblyName)</Title>
<PackageIcon>small-logo.png</PackageIcon>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\assets\small-logo.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Confluent.Kafka" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageProjectUrl>https://transactionalbox.com</PackageProjectUrl>
<RepositoryUrl>https://github.com/adimiko/TransactionalBox</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>$(AssemblyName)</PackageTags>
<Title>$(AssemblyName)</Title>
<PackageIcon>small-logo.png</PackageIcon>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\assets\small-logo.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" />
</ItemGroup>
Expand Down
19 changes: 0 additions & 19 deletions source/TransactionalBox/TransactionalBox.csproj
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageProjectUrl>https://transactionalbox.com</PackageProjectUrl>
<RepositoryUrl>https://github.com/adimiko/TransactionalBox</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>$(AssemblyName)</PackageTags>
<Title>$(AssemblyName)</Title>
<PackageIcon>small-logo.png</PackageIcon>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\assets\small-logo.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
<PackageReference Include="Scrutor" />
Expand Down

0 comments on commit 7eef13e

Please sign in to comment.