Skip to content

Commit d360082

Browse files
Merge pull request #4917 from MicrosoftDocs/main638664200001942668sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents b37e792 + 499c600 commit d360082

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

hub/apps/windows-app-sdk/applifecycle/applifecycle-single-instance.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,24 +35,24 @@ We need to check for redirection as early as possible, before creating any windo
3535
1. Define the **DISABLE_XAML_GENERATED_MAIN** symbol for each configuration and platform. Add the following XML to the project file:
3636

3737
```xml
38-
<propertygroup condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
39-
<defineconstants>DISABLE_XAML_GENERATED_MAIN</defineconstants>
40-
</propertygroup>
41-
<propertygroup condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
42-
<defineconstants>DISABLE_XAML_GENERATED_MAIN</defineconstants>
43-
</propertygroup>
44-
<propertygroup condition="'$(Configuration)|$(Platform)'=='Release|x86'">
45-
<defineconstants>DISABLE_XAML_GENERATED_MAIN</defineconstants>
46-
</propertygroup>
47-
<propertygroup condition="'$(Configuration)|$(Platform)'=='Release|x64'">
48-
<defineconstants>DISABLE_XAML_GENERATED_MAIN</defineconstants>
49-
</propertygroup>
50-
<propertygroup condition="'$(Configuration)|$(Platform)'=='Debug|arm64'">
51-
<defineconstants>DISABLE_XAML_GENERATED_MAIN</defineconstants>
52-
</propertygroup>
53-
<propertygroup condition="'$(Configuration)|$(Platform)'=='Release|arm64'">
54-
<defineconstants>DISABLE_XAML_GENERATED_MAIN</defineconstants>
55-
</propertygroup>
38+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
39+
<DefineConstants>DISABLE_XAML_GENERATED_MAIN</DefineConstants>
40+
</PropertyGroup>
41+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
42+
<DefineConstants>DISABLE_XAML_GENERATED_MAIN</DefineConstants>
43+
</PropertyGroup>
44+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
45+
<DefineConstants>DISABLE_XAML_GENERATED_MAIN</DefineConstants>
46+
</PropertyGroup>
47+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
48+
<DefineConstants>DISABLE_XAML_GENERATED_MAIN</DefineConstants>
49+
</PropertyGroup>
50+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|arm64'">
51+
<DefineConstants>DISABLE_XAML_GENERATED_MAIN</DefineConstants>
52+
</PropertyGroup>
53+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|arm64'">
54+
<DefineConstants>DISABLE_XAML_GENERATED_MAIN</DefineConstants>
55+
</PropertyGroup>
5656
```
5757

5858
Adding the **DISABLE_XAML_GENERATED_MAIN** symbol will disable the auto-generated Program code for your project.

0 commit comments

Comments
 (0)