Skip to content

Commit d933d80

Browse files
committed
additions
1 parent 79b3095 commit d933d80

2 files changed

Lines changed: 21 additions & 18 deletions

File tree

SECURITY.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ Instead, please report them to the Microsoft Security Response Center (MSRC) at
1414

1515
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc).
1616

17-
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
17+
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
1818

1919
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
2020

21-
- Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22-
- Full paths of source file(s) related to the manifestation of the issue
23-
- The location of the affected source code (tag/branch/commit or direct URL)
24-
- Any special configuration required to reproduce the issue
25-
- Step-by-step instructions to reproduce the issue
26-
- Proof-of-concept or exploit code (if possible)
27-
- Impact of the issue, including how an attacker might exploit the issue
21+
- Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22+
- Full paths of source file(s) related to the manifestation of the issue
23+
- The location of the affected source code (tag/branch/commit or direct URL)
24+
- Any special configuration required to reproduce the issue
25+
- Step-by-step instructions to reproduce the issue
26+
- Proof-of-concept or exploit code (if possible)
27+
- Impact of the issue, including how an attacker might exploit the issue
2828

2929
This information will help us triage your report more quickly.
3030

docs/debugging_buildfailures.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
# Capturing binlogs
2+
23
Capturing and providing binlog files can help with debugging build and packaging issues. In order to collect binlogs, please follow these steps:
34

45
Generally, it is encouraged to collect binlog files through the CLI of MSBuild as they tend to be easier to diagnose, but both methods of creating binlog files are fine.
56

67
## Collecting binlogs through Visual Studio
7-
1. Download the VS Project System Tools extension: [For VS 2019](https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.ProjectSystemTools) | [For VS 2022](https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.ProjectSystemTools2022)
8-
3. Set the **Build Log File** verbosity to `Diagnostics`: `Tools->Options->Projects and Solutions->MSBuild project build log file verbosity`:<br/>
9-
![Screenshot of Build and run options](./images/binlog-images/buildandrunoptions.png)
10-
11-
3. Go to View->Other Windows->Build Logging:<br/>
12-
![Screenshot of Build Logging menu item](./images/binlog-images/buildlogging_menuitem.png)
138

14-
4. To start taking logs, press the play button:<br/>
9+
1. Download the VS **Project System Tools** extension: [For VS 2019](https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.ProjectSystemTools) | [For VS 2022](https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.ProjectSystemTools2022)
10+
2. Set the **Build Log File** verbosity to `Diagnostics`: Tools > Options > Projects and Solutions > MSBuild project build log file verbosity:
11+
![Screenshot of Build and run options](./images/binlog-images/buildandrunoptions.png)
12+
3. Go to View > Other Windows > Build Logging:
13+
![Screenshot of Build Logging menu item](./images/binlog-images/buildlogging_menuitem.png)
14+
4. To start taking logs, press the play button:
1515
![Screenshot of Build Logging window](./images/binlog-images/buildlogging_window.png)
16-
1716
5. Run the steps that resulted in errors, e.g. building your project. The steps that failed show up as "Failed". Those files have the file extension ".binlog" and can be shared to help debugging build and packaging issues.
1817

1918
## Collection binlogs through the command line
@@ -22,10 +21,14 @@ To collect binlogs through the command line interface of MSBuild using the Visua
2221

2322
For example, to build your solution in x86 release and collect binlogs, you can use the following:
2423

25-
`msbuild /p:Platform=x86 /p:Configuration=Release /bl`
24+
```cli
25+
msbuild /p:Platform=x86 /p:Configuration=Release /bl
26+
```
2627

2728
If you encounter issues while creating app packages, you can use the following command to simulate collect binlogs:
2829

29-
`msbuild /p:AppxBundlePlatforms=x86 /p:Platform=x86 /p:Configuration=Release /p:BuildAppxUploadPackageForUap=true /bl`
30+
```cli
31+
msbuild /p:AppxBundlePlatforms=x86 /p:Platform=x86 /p:Configuration=Release /p:BuildAppxUploadPackageForUap=true /bl
32+
```
3033

3134
In case of investigating build failures with the WinUI source code, please run the `devcmd.cmd` script at the root of the repository first.

0 commit comments

Comments
 (0)