Skip to content

Commit f82dcb0

Browse files
committed
Include build customization in MSBuildAllProjects
1 parent 6223de2 commit f82dcb0

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

Antlr3.Targets/Directory.Build.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project>
33

4+
<PropertyGroup>
5+
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
6+
</PropertyGroup>
7+
48
<Import Project="../Directory.Build.props" />
59

610
<PropertyGroup>

Antlr3.Targets/Directory.Build.targets

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project>
33

4+
<PropertyGroup>
5+
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
6+
</PropertyGroup>
7+
48
<Target Name="RemoveTransitiveProjectReferences" AfterTargets="IncludeTransitiveProjectReferences">
59
<ItemGroup>
610
<ProjectReference Remove="@(_TransitiveProjectReferences)" />

Directory.Build.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project>
33

4+
<PropertyGroup>
5+
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
6+
</PropertyGroup>
7+
48
<PropertyGroup>
59
<!--
610
These properties are used by Directory.Build.props. Make sure they are set early enough for cases where they are

Directory.Build.targets

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project>
33

4+
<PropertyGroup>
5+
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
6+
</PropertyGroup>
7+
48
<PropertyGroup>
59
<!-- Default NuGet package properties. Additional items set in Directory.Build.props. -->
610
<PackageVersion Condition="'$(PackageVersion)' == ''">$(InformationalVersion)</PackageVersion>

0 commit comments

Comments
 (0)