Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converts a project to use centralised package management #398

Closed
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
14 changes: 13 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,17 @@
"sonarlint.connectedMode.project": {
"connectionId": "guibranco",
"projectKey": "guibranco_CrispyWaffle"
}
},
"cSpell.words": [
"choco",
"cobertura",
"CODACY",
"codecov",
"Elmah",
"Fullname",
"lcov",
"opencover",
"pullrequest",
"sonarscanner"
]
}
8 changes: 7 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<PropertyGroup Label="NuGet">
<NuGetAudit>true</NuGetAudit>
<NuGetAuditLevel>low</NuGetAuditLevel>
<NuGetAuditMode>all</NuGetAuditMode>
</PropertyGroup>

<PropertyGroup Label="Build">
<UpdateVersionProperties>true</UpdateVersionProperties>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand Down Expand Up @@ -66,4 +72,4 @@
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
</Project>
</Project>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<ProjectGuid>0EB3767D-0830-4059-B54D-7AA26286F0BD</ProjectGuid>
Expand All @@ -12,4 +12,4 @@
<ProjectReference Include="..\CrispyWaffle\CrispyWaffle.csproj" />
</ItemGroup>

</Project>
</Project>
10 changes: 5 additions & 5 deletions Src/CrispyWaffle.ElasticSearch/CrispyWaffle.ElasticSearch.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
<PackageReleaseNotes>ElasticSearch release</PackageReleaseNotes>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\CrispyWaffle.Configuration\CrispyWaffle.Configuration.csproj" />
<ProjectReference Include="..\CrispyWaffle\CrispyWaffle.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Elasticsearch.Net" />
<PackageReference Include="NEST" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\CrispyWaffle.Configuration\CrispyWaffle.Configuration.csproj" />
<ProjectReference Include="..\CrispyWaffle\CrispyWaffle.csproj" />
</ItemGroup>

</Project>
5 changes: 2 additions & 3 deletions Src/CrispyWaffle.Elmah/CrispyWaffle.Elmah.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\CrispyWaffle\CrispyWaffle.csproj" />
<PackageReference Include="ElmahCore" />
</ItemGroup>

<ItemGroup>
<!-- ReSharper disable once VulnerablePackage -->
<PackageReference Include="ElmahCore" />
<ProjectReference Include="..\CrispyWaffle\CrispyWaffle.csproj" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion Src/CrispyWaffle.Eventlog/CrispyWaffle.Eventlog.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
<ItemGroup>
<ProjectReference Include="..\CrispyWaffle\CrispyWaffle.csproj" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion Src/CrispyWaffle.I18n.PtBr/CrispyWaffle.I18n.PtBr.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<ProjectGuid>0EB3767D-0830-5559-B54D-7AA26286F0BD</ProjectGuid>
Expand Down
2 changes: 1 addition & 1 deletion Src/CrispyWaffle.RabbitMQ/CrispyWaffle.RabbitMQ.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
<ProjectReference Include="..\CrispyWaffle.Configuration\CrispyWaffle.Configuration.csproj" />
<ProjectReference Include="..\CrispyWaffle\CrispyWaffle.csproj" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion Src/CrispyWaffle.Redis/CrispyWaffle.Redis.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
<ProjectReference Include="..\CrispyWaffle.Configuration\CrispyWaffle.Configuration.csproj" />
<ProjectReference Include="..\CrispyWaffle\CrispyWaffle.csproj" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion Src/CrispyWaffle.Utils/CrispyWaffle.Utils.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
<ProjectReference Include="..\CrispyWaffle.Configuration\CrispyWaffle.Configuration.csproj" />
<ProjectReference Include="..\CrispyWaffle\CrispyWaffle.csproj" />
</ItemGroup>

</Project>
3 changes: 1 addition & 2 deletions Src/CrispyWaffle/CrispyWaffle.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@
<PackageReference Include="System.Security.Permissions" />
<PackageReference Include="System.Text.Json" />
</ItemGroup>

</Project>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<ProjectGuid>DAE04EC0-911F-11D3-BF4B-00C04F79EFBC</ProjectGuid>
<TargetFramework>$(DotNetVersionTests)</TargetFramework>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions Tests/CrispyWaffle.Tests/CrispyWaffle.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<ProjectGuid>FAE04EC0-301F-11D3-BF4B-00C04F79EFBC</ProjectGuid>
<TargetFrameworks>$(DotNetVersionTests)</TargetFrameworks>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,4 @@ deploy:
tag: v$(appveyor_build_version)
description: "Release of $(SOLUTION_NAME) - v$(appveyor_build_version)"
auth_token: $(GITHUB_TOKEN)
force_update: true
force_update: true
Loading