Skip to content

Repo sync for protected CLA branch #5722

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 27 commits into from
Aug 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
9bec29d
Create il3000.md
agocke Aug 5, 2020
e1ff30c
Update code-analysis-warnings-for-managed-code-by-checkid.md
agocke Aug 5, 2020
a026855
Update toc.yml
agocke Aug 5, 2020
edf9946
Add code quotes
agocke Aug 5, 2020
5408f05
Fix typos
agocke Aug 5, 2020
c1025d3
Fix more typos
agocke Aug 5, 2020
79b2ac8
Update il3000.md
agocke Aug 5, 2020
4835992
Update il3000.md
agocke Aug 5, 2020
828f39a
Update il3000.md
agocke Aug 5, 2020
5350803
fixes MicrosoftDocs/visualstudio-docs/issues/5678 -- ExitCode member
WilliamAntonRohm Aug 7, 2020
bca6e11
Add "Closed - Out of Scope"
madskristensen Aug 11, 2020
349eccc
Updated screenshot
madskristensen Aug 11, 2020
5e1053c
Added word separating hyphens
madskristensen Aug 11, 2020
4a0d39f
Update docs/code-quality/il3000.md
agocke Aug 11, 2020
1edeb26
Update docs/code-quality/il3000.md
agocke Aug 11, 2020
8d11567
Renamed file
madskristensen Aug 11, 2020
0c8c36a
File renamed
madskristensen Aug 11, 2020
6077f75
Merge pull request #6968 from agocke/patch-1
v-shmck Aug 11, 2020
323f1a4
Visual Studio Patch Tuesday Release
ornelladotcom Aug 11, 2020
991f21c
Add custom tag to install
ornelladotcom Aug 11, 2020
b313547
Merge pull request #6989 from ornellaalt/vsupdate
PRMerger6 Aug 11, 2020
f58d1a8
Merge pull request #6990 from ornellaalt/install
PRMerger6 Aug 11, 2020
9c7a100
Merge pull request #6988 from madskristensen/master
GitHubber17 Aug 11, 2020
b3887e5
Merge pull request #6982 from WilliamAntonRohm/issue-5678
PRMerger10 Aug 11, 2020
911faff
1759333 validation: column-header-missing
TimShererWithAquent Aug 11, 2020
d9254e5
Merge pull request #6991 from TimShererWithAquent/us1759333a
ShannonLeavitt Aug 11, 2020
7682d31
Merging changes synced from https://github.com/MicrosoftDocs/visualst…
ghogen Aug 11, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ f1_keywords:
- CA2247
- CA5122
- CA5374
- IL3000
ms.assetid: 5cb221f6-dc59-4abf-9bfa-adbd6f907f96
author: mikejo5000
ms.author: mikejo
Expand Down Expand Up @@ -597,3 +598,4 @@ The following table lists Code Analysis warnings for managed code by the CheckId
| CA5400 | [CA5400 Ensure HttpClient certificate revocation list check is not disabled](../code-quality/ca5400.md) | A revoked certificate isn't trusted anymore. It could be used by attackers passing some malicious data or stealing sensitive data in HTTPS communication. |
| CA5401 | [CA5401 Do not use CreateEncryptor with non-default IV](../code-quality/ca5401.md) | Symmetric encryption should always use a non-repeatable initialization vector to prevent dictionary attacks. |
| CA5402 | [CA5402 Use CreateEncryptor with the default IV](../code-quality/ca5402.md) | Symmetric encryption should always use a non-repeatable initialization vector to prevent dictionary attacks. |
| IL3000 | [IL3000 Avoid using accessing Assembly file path when publishing as a single-file](../code-quality/il3000.md) | Avoid using accessing Assembly file path when publishing as a single-file |
29 changes: 29 additions & 0 deletions docs/code-quality/il3000.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "IL3000: Avoid using accessing Assembly file path when publishing as a single-file"
description: "Assembly.Location always returns an empty string for assemblies embedded in a single-file bundle"
ms.date: 08/04/2020
ms.topic: reference
author: agocke
ms.author: angocke
manager: angocke
ms.workload:
- "multiple"
f1_keywords:
- "IL3000"
- "AvoidAssemblyLocationInSingleFile"
---
# IL3000: Avoid using accessing Assembly file path when publishing as a single-file

## Cause

When publishing as a single-file (for example, by setting the PublishSingleFile property in a project to true), calling the `Assembly.Location` property for
assemblies embedded inside the single-file bundle always returns an empty string.

## How to fix violations

If the app only needs the containing directory for the single-file bundle, consider using the `AppContext.BaseDirectory` property instead. Otherwise, consider
removing the call entirely.

## When to suppress warnings

It's appropriate to silence this warning if the assembly being accessed is definitely not in the single-file bundle. This may be the case if the assembly is being loaded dynamically from a file path.
6 changes: 6 additions & 0 deletions docs/code-quality/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -983,3 +983,9 @@
href: ca2248.md
- name: Automatic feature suspension
href: automatic-feature-suspension.md
- name: Publish warnings
items:
- name: Overview
displayName: "publish warnings"
- name: "IL3000: Avoid using accessing Assembly file path when publishing as a single-file"
href: il3000.md
2 changes: 1 addition & 1 deletion docs/extensibility/internals/microsoft-help-viewer-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ Note: variables noted by "{n}" have code dependencies - removing or changing the

**Branding.xml**

| | |
| Feature | Description |
| - | - |
| Feature: | **CollapsibleArea** |
| Use: | Expand collapses content control text |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -514,13 +514,13 @@ Composite patterns combine interaction and design elements in distinct configura

||Basic experience|Optimized experience|Elevated experience|
|-|----------------------|--------------------------|-------------------------|
|Enables users to ...|Fix code and solution/project-level reading without dead ends|Perform maintenance, refactors, and navigation tasks|Operate in a consistent, intuitive, and fluid experience with confidence|
|Editor|Touch panning and selection<br /><br /> Scrollbar touch to jump and press+drag|Pinch zoom<br /><br /> Fast scroll<br /><br /> Selection<br /><br /> Easy use of context menu||
|Top tool windows|List panning<br /><br /> Item selection<br /><br /> Scrollbar touch to jump and press+drag|Easy item scrolling and selection||
|Windowing||Resize window<br /><br /> Quick access||
|Document well||Easy navigation between open files||
|Gestures||Ensure common gestures work across the IDE|Gesture-based actions<br /><br /> Support drag-and-drop and designers|
|Other considerations|||Custom onscreen keyboard|
|**Enables users to ...**|Fix code and solution/project-level reading without dead ends|Perform maintenance, refactors, and navigation tasks|Operate in a consistent, intuitive, and fluid experience with confidence|
|**Editor**|Touch panning and selection<br /><br /> Scrollbar touch to jump and press+drag|Pinch zoom<br /><br /> Fast scroll<br /><br /> Selection<br /><br /> Easy use of context menu||
|**Top tool windows**|List panning<br /><br /> Item selection<br /><br /> Scrollbar touch to jump and press+drag|Easy item scrolling and selection||
|**Windowing**||Resize window<br /><br /> Quick access||
|**Document well**||Easy navigation between open files||
|**Gestures**||Ensure common gestures work across the IDE|Gesture-based actions<br /><br /> Support drag-and-drop and designers|
|**Other considerations**|||Custom onscreen keyboard|

#### Gestures
Gestures provide users a shortcut to commands that might otherwise require a more complicated interaction. Refer to the Windows guidelines on [common touch gestures for Desktop Applications](/windows/desktop/wintouch/windows-touch-gestures-overview), and follow this guidance for most gestures, including simple gestures such as panning and zooming.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/ide/media/report-a-problem-logs-collected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/ide/suggest-a-feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ A feature suggestion marked **Need More Info** means that we need more details s

Found the information we were looking for? You may request to reactivate the ticket when you have the additional information.

- - -

![Closed - Out of Scope state for suggestions on Developer Community](../ide/media/SuggestStates/closed-out-of-scope.png)

**Closed - Out of Scope** If a suggestion doesn’t match our overall product direction, we will close it as *Out of Scope*. For example, we may have similar investments in other members of the Visual Studio family of products. Or the feature suggested might only be relevant to a few people, making an extension better suited to provide it.


- - -

![Completed - Preview state for suggestions on Developer Community](../ide/media/SuggestStates/CompletedPreview.jpg)
Expand Down
3 changes: 2 additions & 1 deletion docs/install/command-line-parameter-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ For lists of the workloads and components that you can install by using the comm
```

```powershell
$exitCode = Start-Process -FilePath vs_enterprise.exe -ArgumentList "--installPath", "C:\VS", "--passive", "--wait" -Wait -PassThru
$process = Start-Process -FilePath vs_enterprise.exe -ArgumentList "--installPath", "C:\VS", "--passive", "--wait" -Wait -PassThru
Write-Output $process.ExitCode
```

or
Expand Down
2 changes: 1 addition & 1 deletion docs/install/install-visual-studio.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Install Visual Studio
titleSuffix: ''
description: Learn how to install Visual Studio, step-by-step.
ms.date: 12/13/2019
ms.custom: seodec18
ms.custom: contperfq1
ms.topic: conceptual
f1_keywords:
- vs.about
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: A list of released versions and build numbers for Visual Studio, so
author: ornellaalt
ms.author: ornella
manager: jillfra
ms.date: 08/05/2020
ms.date: 08/11/2020
ms.topic: reference
ms.workload:
- multiple
Expand All @@ -23,6 +23,9 @@ The following table lists the build numbers and release dates for Visual Studio

| **Version**| **Channel** | **Release date** | **Build version** |
| ---------------------- | ----------- | ---------------- | ----------------- |
| 16.7.1 | Release | August 11, 2020 | 16.7.30406.217 |
| 16.4.12 | Release | August 11, 2020 | 16.4.30406.169 |
| 16.0.17 | Release | August 11, 2020 | 16.0.28803.806 |
| 16.8.0 | Preview 1 | August 5, 2020 | 16.8.30404.54 |
| 16.7.0 | Release | August 5, 2020 | 16.7.30330.147 |
| 16.7.0 | Preview 6 | July 28, 2020 | 16.7.30323.103 |
Expand Down Expand Up @@ -160,6 +163,7 @@ The following table lists the build numbers and release dates for Visual Studio

| **Version**| **Channel** | **Release date** | **Build version** |
| ---------------------- | ----------- | ---------------- | ----------------- |
| 15.9.26 | Release | August 11, 2020 | 15.9.28307.1234 |
| 15.9.25 | Release | July 14, 2020 | 15.9.28307.1216 |
| 15.9.24 | Release | June 9, 2020 | 15.9.28307.1177 |
| 15.9.23 | Release | May 12, 2020 | 15.9.28307.1146 |
Expand Down
10 changes: 4 additions & 6 deletions docs/vs-2015/extensibility/image-service-and-catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,10 @@ This cookbook contains guidance and best practices for adopting the Visual Studi
</Source>
```

| | |
|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Attribute** | **Definition** |
| Uri | [Required] A URI that defines where the image can be loaded from. It can be one of the following:<br /><br /> - A [Pack URI](https://msdn.microsoft.com/library/aa970069\(v=vs.100\).aspx) using the application:/// authority<br />- An absolute component resource reference<br />- A path to a file containing a native resource |
| Background | [Optional] Indicates what on kind of background the source is intended to be used.<br /><br /> It can be one of the following:<br /><br /> *Light:* The source can be used on a light background.<br /><br /> <em>Dark:</em>The source can be used on a dark background.<br /><br /> *HighContrast:* The source can be used on any background in High Contrast mode.<br /><br /> *HighContrastLight:* The source can be used on a light background in High Contrast mode.<br /><br /> *HighContrastDark:* The source can be used on a dark background in High Contrast mode.<br /><br /> If the Background attribute is omitted, the source can be used on any background.<br /><br /> If Background is *Light*, *Dark*, *HighContrastLight*, or *HighContrastDark*, the source’s colors are never inverted. If Background is omitted or set to *HighContrast*, the inversion of the source’s colors is controlled by the image’s **AllowColorInversion** attribute. |
| | |
|**Attribute**|**Definition**|
|-|-|
| Uri | [Required] A URI that defines where the image can be loaded from. It can be one of the following:<br /><br /> - A [Pack URI](https://msdn.microsoft.com/library/aa970069\(v=vs.100\).aspx) using the application:/// authority<br />- An absolute component resource reference<br />- A path to a file containing a native resource |
| Background | [Optional] Indicates what on kind of background the source is intended to be used.<br /><br /> It can be one of the following:<br /><br /> *Light:* The source can be used on a light background.<br /><br /> <em>Dark:</em>The source can be used on a dark background.<br /><br /> *HighContrast:* The source can be used on any background in High Contrast mode.<br /><br /> *HighContrastLight:* The source can be used on a light background in High Contrast mode.<br /><br /> *HighContrastDark:* The source can be used on a dark background in High Contrast mode.<br /><br /> If the Background attribute is omitted, the source can be used on any background.<br /><br /> If Background is *Light*, *Dark*, *HighContrastLight*, or *HighContrastDark*, the source’s colors are never inverted. If Background is omitted or set to *HighContrast*, the inversion of the source’s colors is controlled by the image’s **AllowColorInversion** attribute. |

A \<Source> element can have exactly one of the following optional subelements:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,39 @@ Optional. The path of a localized version of the license file for the extension.
If the `License` element is defined, then the text of the designated license file is displayed during setup and the user must accept the license to continue.

## Element Information

| | |
|-----------------|-----------------------------------------------------------|
| Namespace | `http://schemas.microsoft.com/developer/vsx-schema-lp/2010` |
| Schema Name | VSIX Language Pack Schema |
| Validation File | VSIXLanguagePackSchema.xsd |
| Can be Empty | Not applicable |

:::row:::
:::column:::
Namespace
:::column-end:::
:::column:::
`http://schemas.microsoft.com/developer/vsx-schema-lp/2010`
:::column-end:::
:::row-end:::
:::row:::
:::column:::
Schema Name
:::column-end:::
:::column:::
VSIX Language Pack Schema
:::column-end:::
:::row-end:::
:::row:::
:::column:::
Validation File
:::column-end:::
:::column:::
VSIXLanguagePackSchema.xsd
:::column-end:::
:::row-end:::
:::row:::
:::column:::
Can be Empty
:::column-end:::
:::column:::
Not applicable
:::column-end:::
:::row-end:::

## See Also
[VSX Language Pack Schema Reference](../extensibility/vsx-language-pack-schema-reference.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,39 @@ Required. Provides a localized description of the extension.
Required. A text description of the extension in the target language.

## Element Information

| | |
|-----------------|-----------------------------------------------------------|
| Namespace | `http://schemas.microsoft.com/developer/vsx-schema-lp/2010` |
| Schema Name | VSIX Language Pack Schema |
| Validation File | VSIXLanguagePackSchema.xsd |
| Can be Empty | Not applicable |

:::row:::
:::column:::
Namespace
:::column-end:::
:::column:::
`http://schemas.microsoft.com/developer/vsx-schema-lp/2010`
:::column-end:::
:::row-end:::
:::row:::
:::column:::
Schema Name
:::column-end:::
:::column:::
VSIX Language Pack Schema
:::column-end:::
:::row-end:::
:::row:::
:::column:::
Validation File
:::column-end:::
:::column:::
VSIXLanguagePackSchema.xsd
:::column-end:::
:::row-end:::
:::row:::
:::column:::
Can be Empty
:::column-end:::
:::column:::
Not applicable
:::column-end:::
:::row-end:::

## See Also
[VSX Language Pack Schema Reference](../extensibility/vsx-language-pack-schema-reference.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,39 @@ Required. The localized name of the extension to be installed.
Required. The name of the language pack in the target language.

## Element Information

| | |
|-----------------|-----------------------------------------------------------|
| Namespace | `http://schemas.microsoft.com/developer/vsx-schema-lp/2010` |
| Schema Name | VSIX Language Pack Schema |
| Validation File | VSIXLanguagePackSchema.xsd |
| Can be Empty | Not applicable |

:::row:::
:::column:::
Namespace
:::column-end:::
:::column:::
`http://schemas.microsoft.com/developer/vsx-schema-lp/2010`
:::column-end:::
:::row-end:::
:::row:::
:::column:::
Schema Name
:::column-end:::
:::column:::
VSIX Language Pack Schema
:::column-end:::
:::row-end:::
:::row:::
:::column:::
Validation File
:::column-end:::
:::column:::
VSIXLanguagePackSchema.xsd
:::column-end:::
:::row-end:::
:::row:::
:::column:::
Can be Empty
:::column-end:::
:::column:::
Not applicable
:::column-end:::
:::row-end:::

## See Also
[VSX Language Pack Schema Reference](../extensibility/vsx-language-pack-schema-reference.md)
Expand Down
Loading