Skip to content

Commit dbfbcc8

Browse files
authored
Merge pull request #795 from davidwengier/FixAuthGenerateProperty
Use the correct property name, and remove MSBuildAllTargetsFix auth generate property
2 parents 7e97d78 + f62aa17 commit dbfbcc8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/System.CommandLine.DragonFruit/targets/System.CommandLine.DragonFruit.targets

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
<Project>
22

3-
<PropertyGroup>
4-
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
5-
</PropertyGroup>
6-
7-
<PropertyGroup Condition="'$(DisableAutoGeneratedMain)' != 'true'">
3+
<PropertyGroup Condition="'$(AutoGenerateEntryPoint)' == 'true'">
84
<!-- The location of the generated program file. -->
95
<_GeneratedEntryPointFile>$(IntermediateOutputPath)$(MSBuildProjectName).Program.g$(DefaultLanguageSourceExtension)</_GeneratedEntryPointFile>
106
</PropertyGroup>
117

128
<Target Name="_GenerateRealEntryPointType"
139
BeforeTargets="CoreCompile"
1410
DependsOnTargets="PrepareForBuild;CoreGenerateDragonFruitProgramFile"
15-
Condition="'$(DisableAutoGeneratedMain)' != 'true'">
11+
Condition="'$(AutoGenerateEntryPoint)' == 'true'">
1612
<PropertyGroup>
1713
<StartupObject>AutoGeneratedProgram</StartupObject>
1814
</PropertyGroup>

0 commit comments

Comments
 (0)