Skip to content

Commit faf924c

Browse files
authored
Merge pull request #5606 from Particular/prep-build-props
Move non-standard stuff into separate props file
2 parents ea574a5 + 60f2a38 commit faf924c

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

src/Custom.Build.props

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<Project>
2+
3+
<ItemGroup>
4+
<PackageReference Include="Microsoft.DotNet.Analyzers.Compatibility" Version="0.1.2-alpha" PrivateAssets="All" />
5+
</ItemGroup>
6+
7+
</Project>

src/Directory.Build.props

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<Project>
22

3+
<Import Project="Custom.Build.props" Condition="Exists('Custom.Build.props')" />
4+
35
<PropertyGroup>
46
<LangVersion>7.3</LangVersion>
57
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
68
</PropertyGroup>
79

8-
<ItemGroup>
9-
<PackageReference Include="Microsoft.DotNet.Analyzers.Compatibility" Version="0.1.2-alpha" PrivateAssets="All" />
10-
</ItemGroup>
11-
1210
</Project>

src/NServiceBus.sln

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NServiceBus.TransportTests"
2525
EndProject
2626
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E3BC3CE8-9EA6-41BE-89AD-23876257B740}"
2727
ProjectSection(SolutionItems) = preProject
28+
Custom.Build.props = Custom.Build.props
2829
Directory.Build.props = Directory.Build.props
2930
..\GitVersion.yml = ..\GitVersion.yml
3031
EndProjectSection

0 commit comments

Comments
 (0)