Skip to content

Commit 2cd0431

Browse files
authored
Merge pull request #1722 from MicrosoftDocs/master
4/2 AM Publish
2 parents d26e1bc + 1f2227e commit 2cd0431

13 files changed

+77
-21
lines changed

connected-environment/TOC.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131
# How to
3232
##[Share a development environment](how-to/share-dev-environment.md)
33+
##[Use a custom NuGet feed](how-to/use-a-custom-nuget-feed.md)
3334
##[Use kubectl with Visual Studio Connected Environment](how-to/use-kubectl-with-vsce.md)
3435

3536
# [Troubleshoot](troubleshooting.md)
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: "How to use a custom NuGet feed in a connected environment| Microsoft Docs"
3+
author: "johnsta"
4+
ms.author: "johnsta"
5+
ms.date: "03/27/2018"
6+
ms.topic: "article"
7+
description: "Use a custom NuGet feed to access and use NuGet packages in a connected environment."
8+
keywords: "Docker, Kubernetes, Azure, AKS, Azure Container Service, containers"
9+
manager: "ghogen"
10+
---
11+
# Use a custom NuGet feed in a connected environment
12+
13+
A NuGet feed provides a convenient way to include package sources in a project. Connected Environment will need to be able to access this feed in order for dependencies to be properly installed in the Docker container.
14+
15+
To set up a NuGet feed:
16+
1. Add a [package reference](https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files) in the `*.csproj` file under the `PackageReference` node.
17+
18+
```xml
19+
<ItemGroup>
20+
<!-- ... -->
21+
<PackageReference Include="Contoso.Utility.UsefulStuff" Version="3.6.0" />
22+
<!-- ... -->
23+
</ItemGroup>
24+
```
25+
26+
2. Create a [NuGet.Config](https://docs.microsoft.com/en-us/nuget/reference/nuget-config-file) file in the project folder.
27+
* Use the `packageSources` section to reference your NuGet feed location. Important: The NuGet feed must be publicly accessible.
28+
* Use the `packageSourceCredentials` section to configure username and password credentials.
29+
30+
```xml
31+
<packageSources>
32+
<add key="Contoso" value="https://contoso.com/packages/" />
33+
</packageSources>
34+
35+
<packageSourceCredentials>
36+
<Contoso>
37+
<add key="Username" value="[email protected]" />
38+
<add key="ClearTextPassword" value="33f!!lloppa" />
39+
</Contoso>
40+
</packageSourceCredentials>
41+
```
42+
43+
3. If you're using source code control:
44+
- Reference `NuGet.Config` in your `.gitignore` file so you don't accidentally commit credentials to your source repository.
45+
- Open the `vsce.yaml` file in your project, and locate the `build` section, and insert the following snippet to ensure that the `NuGet.Config` file will be synced to Azure so that it used during the container image build process. (By default, Connected Environment does not synchronize files that match `.gitignore` and `.dockerignore` rules.)
46+
47+
```yaml
48+
build:
49+
useGitIgnore: true
50+
ignore:
51+
- “!NuGet.Config”
52+
```
53+
54+
55+
## Next steps
56+
57+
Once you have completed the above steps, the next time you run `vsce up` (or hit `F5` in VSCode or Visual Studio), Connected Environment will synchronize the `NuGet.Config` file to Azure, which is then utilized by `dotnet restore` to install package dependencies in the container.
58+

docs/cross-platform/visual-studio-emulator-for-android.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ ms.workload:
1717
---
1818
# Visual Studio Emulator for Android
1919
The Visual Studio Emulator for Android is a desktop application that emulates an Android device. It provides a virtualized environment in which you can debug and test Android apps without a physical device. It also provides an isolated environment for your application prototypes.
20+
21+
> [!IMPORTANT]
22+
> In most scenarios, the Google Android emulator is recommended for use instead of the Visual Studio Emulator for Android:
23+
> - When you are in need of emulator images containing Android 7.0 or later, because there are no plans to publish Android images past version 6.0 for use in the Visual Studio Emulator for Android.
24+
> - When using Visual Studio Tools for Apache Cordova. For more information, see [Run your Apache Cordova app on Android](/visualstudio/cross-platform/tools-for-cordova/run-your-app/run-app-android#a-idgoogle-android-emulatora-run-on-the-google-android-emulator).
2025
2126
The Visual Studio Emulator for Android is designed to provide comparable performance to an actual device. Before you publish your app, however, we recommend that you test your app on a physical device.
2227

2328
You can test your app on a unique device profile for each of the Android platforms, screen resolutions, and other hardware properties supported by Visual Studio Emulator for Android.
24-
25-
> [!NOTE]
26-
> The Google Android emulator is recommended for use in the following cases:
27-
> - When using Visual Studio Tools for Apache Cordova. For more information, see [Run your Apache Cordova app on Android](/visualstudio/cross-platform/tools-for-cordova/run-your-app/run-app-android#a-idgoogle-android-emulatora-run-on-the-google-android-emulator).
28-
> - When in need of emulator images containing Android 7.0 or later as there are no plans to publish Android images past version 6.0 for use in Visual Studio Emulator for Android.
2929

3030
## <a name="Installing"></a> Installing and uninstalling
3131
Installing

docs/debugger/includes/remote-debugger-download.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ translation.priority.ht:
1818

1919
|Version|Link|Notes|
2020
|-|-|-|
21-
|Visual Studio 2017 (latest version)|[Remote tools](https://www.visualstudio.com/downloads/#remote-tools-for-visual-studio-2017)|Always download the version matching your device operating system (x86 or x64). If enhanced security mode is enabled (Windows Server), you must add new trusted sites if prompted.|
21+
|Visual Studio 2017 (latest version)|[Remote tools](https://www.visualstudio.com/downloads/?q=remote+tools#remote-tools-for-visual-studio-2017)|Always download the version matching your device operating system (x86 or x64). If enhanced security mode is enabled (Windows Server), you must add new trusted sites if prompted.|
2222
|Visual Studio 2017 (older)|[Remote tools](https://my.visualstudio.com/Downloads?q=remote%20tools%20visual%20studio%202017)|Remote tools for earlier releases of Visual Studio 2017 are available from My.VisualStudio.com. If prompted, join the free Visual Studio Dev Essentials group, or sign in with your Visual Studio subscription ID. If enhanced security mode is enabled (Windows Server), you must add new trusted sites if prompted.|
2323
|Visual Studio 2015 Update 3|[Remote tools](https://my.visualstudio.com/Downloads?q=remote%20tools%20visual%20studio%202015)|If prompted, join the free Visual Studio Dev Essentials group, or sign in with your Visual Studio subscription ID. If enhanced security mode is enabled (Windows Server), you must add new trusted sites if prompted.|
2424
|Visual Studio 2015 (older)|[Remote tools](https://my.visualstudio.com/Downloads?q=remote%20tools%20visual%20studio%202015)|If prompted, join the free Visual Studio Dev Essentials group, or sign in with your Visual Studio subscription ID. If enhanced security mode is enabled (Windows Server), you must add new trusted sites if prompted.|

docs/deployment/deploying-applications-services-and-components.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "Deployment Overview - Visual Studio | Microsoft Docs"
3+
description: "Learn about your options for deploying apps from Visual Studio."
34
ms.custom: "mvc"
45
ms.date: 11/26/2017
56
ms.reviewer: ""

docs/docfx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"feedback_system": "GitHub",
3636
"feedback_github_repo": "MicrosoftDocs/visualstudio-docs",
3737
"feedback_product_url": "https://developercommunity.visualstudio.com/",
38-
"breadcrumb_path": "~/_breadcrumb/toc.yml",
38+
"breadcrumb_path": "/visualstudio/_breadcrumb/toc.json",
3939
"ROBOTS": "INDEX,FOLLOW",
4040
"author": "",
4141
"ms.author": "",

docs/ide/visual-studio-2017-for-dotnet-developers.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,7 @@ If you are coming from another IDE or coding environment, you may find installin
2727
- [HotKeys for Visual Studio (ReSharper/IntelliJ)](https://marketplace.visualstudio.com/items?itemName=JustinClareburtMSFT.HotKeys)
2828
- [VSVim](https://marketplace.visualstudio.com/items?itemName=JaredParMSFT.VsVim)
2929

30-
![The Visual Studio Extension Gallery](../ide/media/VSIDE_Productivity_Extensibility.png)
31-
32-
The following are popular Visual Studio shortcuts.
33-
34-
> [!NOTE]
35-
> Some extensions unbind default Visual Studio keybindings so you must restore them to use the following commands. Restore your keybindings to Visual Studio's defaults by going to: **Tools > Import and Export Settings... > Reset all settings** or **Tools > Options > Keyboard > Reset**.
30+
The following are popular Visual Studio shortcuts:
3631

3732
| Shortcut (All Profiles) | Command | Description |
3833
|-|-|-|
@@ -49,6 +44,9 @@ The following are popular Visual Studio shortcuts.
4944
| **Ctrl+K,D** (Default Profile) or **Ctrl+E,D** (C# Profile) | Format Document | Cleans up formatting violations in your file based on your newline, spacing, and indentation settings |
5045
| **Ctrl+\\,E** (Default Profile) or **Ctrl+W,E** (C# Profile) | View Error List | See all errors in your document, project, or solution |
5146

47+
> [!NOTE]
48+
> Some extensions unbind the default Visual Studio keybindings. To use the following commands, restore your keybindings to Visual Studio's defaults by going to **Tools > Import and Export Settings... > Reset all settings** or **Tools > Options > Keyboard > Reset**.
49+
5250
## I need a way to quickly navigate to files or types.
5351
Visual Studio 2017 has a feature called _Go To All_ (**Ctrl+T**). Go To All enables you to quickly jump to any file, type, member, or symbol declaration.
5452
- Change the location of this search bar or turn off the 'live navigation preview' with the **gear** icon

docs/msbuild/getassemblyidentity-task.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,13 @@ Retrieves the assembly identities from the specified files and outputs the ident
5050
<ItemGroup>
5151
<MyAssemblies Include="File1.dll;File2.dll" />
5252
</ItemGroup>
53-
54-
<Target Name="RetrieveIdentities>
53+
<Target Name="RetrieveIdentities">
5554
<GetAssemblyIdentity
5655
AssemblyFiles="@(MyAssemblies)"
5756
<Output
5857
TaskParameter="Assemblies"
5958
ItemName="MyAssemblyIdentities"
6059
</Target>
61-
6260
</Project>
6361
```
6462

docs/msbuild/target-build-order.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Targets must be ordered if the input to one target depends on the output of anot
108108

109109
2. Targets specified on the command line by the **/target** switch are run. If you specify no targets on the command line, then the `DefaultTargets` targets are run. If neither is present, then the first target encountered is run.
110110

111-
3. The `Condition` attribute of the target is evaluated. If the `Condition` attribute is present and evaluates to `false`, the target isn't executed and has no further effect on the build.
111+
3. The `Condition` attribute of the target is evaluated. If the `Condition` attribute is present and evaluates to `false`, the target isn't executed and has no further effect on the build.
112112

113113
4. Before a target is executed, its `DependsOnTargets` targets are run.
114114

docs/nodejs/tutorial-nodejs-with-react-and-jsx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.date: "02/19/2018"
66
ms.reviewer: ""
77
ms.suite: ""
88
ms.technology:
9-
- "vs-nodejs"
9+
- "vs-ide-general"
1010
ms.tgt_pltfrm: ""
1111
ms.topic: "tutorial"
1212
ms.devlang: javascript

docs/nodejs/tutorial-nodejs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.date: "03/13/2018"
66
ms.reviewer: ""
77
ms.suite: ""
88
ms.technology:
9-
- "vs-nodejs"
9+
- "vs-ide-general"
1010
ms.tgt_pltfrm: ""
1111
ms.topic: "tutorial"
1212
ms.devlang: javascript

docs/python/default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
### YamlMime:ContextObject
2-
breadcrumb_path: breadcrumb/toc.json
2+
breadcrumb_path: ~/breadcrumb/toc.json
33
toc_rel: ./toc.yml

scripting-docs/javascript/variables-javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var count = 0, amount = 100;
4444
## Naming Variables
4545
[!INCLUDE[javascript](../javascript/includes/javascript-md.md)] is a case-sensitive language. This means that a variable name such as **myCounter** is different from the variable name **MYCounter**. Variable names can be of any length. The rules for creating legal variable names are as follows:
4646

47-
- The first character must be an ASCII letter (either uppercase or lowercase), or an underscore (_) character. Note that a number cannot be used as the first character.
47+
- The first character must be an ASCII letter (either uppercase or lowercase), a letter that complies with Unicode variable naming conventions, or an underscore (_) character. Note that a number cannot be used as the first character.
4848

4949
- Subsequent characters must be letters, numbers, or underscores (_).
5050

0 commit comments

Comments
 (0)