-->
We designed Visual Studio 2017 to work well in a variety of network and computer configurations. While we recommend that you try the Visual Studio web installer—which is a small file that allows you to stay current with all the latest fixes and features—we understand that you might not be able to.
- Cannot display JSON file created and saved in Visual Studio Code. This is a bug in VS Code. If you are running into it, rather than setting the language of the file, save the file with the.json extension, and VS Code will detect the language and correctly display the file.
- Copy the selected code from VS Code and paste it into Word. If we paste it directly into PowerPoint, we unfortunately lose the tab/spaces indentation. Copy the text from Word and paste it into PowerPoint. Adjust the line spacing to 1.0 since it comes over from Word with a line.
We designed Visual Studio 2019 to work well in a variety of network and computer configurations. While we recommend that you try the Visual Studio web installer—which is a small file that allows you to stay current with all the latest fixes and features—we understand that you might not be able to.
Now, Visual Studio allows us to quickly duplicate a line of code without losing the contents of clipboards. You can just duplicate the line by using Ctrl+E,V. This will keep View Clipboard Ring History in Visual Studio 2019. Duplicate selection or line.
For example, you might have an unreliable internet connection or one that has low bandwidth. If so, you have a few options: You can use the new 'Download all, then install' feature to download the files before you install, or you can use the command line to create a local cache of the files.
Note
If you are an enterprise administrator who wants to perform a deployment of Visual Studio to a network of client workstations that are firewalled from the internet, see our Create a network installation of Visual Studio and Install certificates required for Visual Studio offline installation pages.
Use the 'Download all, then install' feature
New in version 15.8: After you download the web installer, select the new Download all, then install option from the Visual Studio Installer. Then, continue with your installation.
After you download the web installer, select the new Download all, then install option from the Visual Studio Installer. Then, continue with your installation.
We designed the 'Download all, then install' feature so that you can download Visual Studio as a single installation for the same computer on which you downloaded it. That way, you can safely disconnect from the web before you install Visual Studio.
Important
Do not use the 'Download all, then install' feature to create an offline cache that you intend to transfer to another computer. It's not designed to work that way.
If you want to create an offline cache on the local computer that you can then use to install Visual Studio, see the Use the command line to create a local cache section below. Alternatively, the Create a network installation of Visual Studio page provides information about how to create a cache on the network.
If you want to create an offline cache on the local computer that you can then use to install Visual Studio, see the Use the command line to create a local cache section below. Alternatively, the Create a network installation of Visual Studio page provides information about how to create a cache on the network.
Use the command line to create a local cache
After you download a small bootstrapper, use the command line to create a local cache. Then, use the local cache to install Visual Studio. (This process replaces the ISO files that were available for previous versions).
After you download a small bootstrapper file, use the command line to create a local cache. Then, use the local cache to install Visual Studio.
Step 1 - Download the Visual Studio bootstrapper
You must have an internet connection to complete this step.
To get the latest bootstrapper for Visual Studio 2017 version 15.9, go to the Visual Studio previous versions page and download one of the following bootstrapper files:
Edition | Filename |
---|---|
Visual Studio Professional 2017 version 15.9 | vs_professional.exe |
Visual Studio Enterprise 2017 version 15.9 | vs_enterprise.exe |
Visual Studio Build Tools 2017 version 15.9 | vs_buildtools.exe |
Start by downloading the Visual Studio 2019 bootstrapper from either the Visual Studio downloads page or the Visual Studio 2019 Releases page for your chosen version and edition of Visual Studio. Your setup file—or bootstrapper—will match or be similar to one of the following:
Edition | File |
---|---|
Visual Studio 2019 Community | vs_community.exe |
Visual Studio 2019 Professional | vs_professional.exe |
Visual Studio 2019 Enterprise | vs_enterprise.exe |
Visual Studio 2019 Build Tools | vs_buildtools.exe |
Tip
If you previously downloaded a bootstrapper file and want to verify what version it is, here's how. In Windows, open File Explorer, right-click the bootstrapper file, choose Properties, choose the Details tab, and then view the Product version number. To match that number to a release of Visual Studio, refer to the Visual Studio build numbers and release dates page.
Tip
If you previously downloaded a bootstrapper file and want to verify its version, here's how. In Windows, open File Explorer, right-click the bootstrapper file, choose Properties, choose the Details tab, and then view the Product version number. To match that number to a release of Visual Studio, refer to the Visual Studio 2019 Releases page.
CryptSync is a small utility that synchronizes two folders while encrypting the contents in one folder. That means one of the two folders has all files unencrypted (the files you work with) and the other folder has all the files encrypted. The Crypt Sync Files encrypts / decrypts and synchronize files between local folders and USB Drive, memory cards, network drives, folders on Cloud services (Dropbox, etc.) You can choose the encryption AES256 or ZIP archive with a password. The Crypt Sync Files Mac OS X encrypts / decrypts and synchronize files between local folders and USB Drive, memory cards, network drives, folders on Cloud services (Dropbox, etc.) You can store your encrypted files on external drives, folders, cloud services and don’t worry about file security. You can choose the encryption AES256 or ZIP with a. The Crypt Sync Files encrypts / decrypts and synchronize files between local folders and USB Drive, memory cards, network drives, folders on Cloud services (Dropbox, etc.) You can store your encrypted files on external drives, folders, cloud services and don’t worry about file security. Crypt sync files.
Step 2 - Create a local install cache
Programs running in background. You must have an internet connection to complete this step.
Open a command prompt and use the bootstrapper's parameters as defined in the Use command-line parameters to install Visual Studio page to create your local installation cache. Common examples using the Enterprise bootstrapper are illustrated below and in the command-line parameter examples page. You can install a language other than English by changing
en-US
to a locale from the list of language locales, and you can use the list of components and workloads to further customize your cache.Tip
To prevent an error, make sure that your full installation path is less than 80 characters.
- For .NET web and .NET desktop development, run:
- For .NET desktop and Office development, run:Youtube cecilia bartoli. This piece of art is very nice. I bought this DVD becauce of my fan of Miss Cecilia Bartoli. The Vivaldi album is full of very charming music and both the singer and conductor are absolutely fantastic. These concert are live, so it's joyful listning to it. Fantastic music, with the greatest Diva ever.
- For C++ desktop development, run:
- To create a complete local layout, English only, with all features (this will take a long time—we have lots of features!), run:
Note
A complete Visual Studio layout requires a minimum of 35 GB of disk space. For more information, see System requirements.
Note
A complete Visual Studio layout requires a minimum of 35 GB of disk space. For more information, see System requirements.
Step 3 - Install Visual Studio from the local cache
When you install Visual Studio from a local install cache, the Visual Studio installer uses the local cached versions of the files. But, if you select components during installation that aren't in the cache, then the Visual Studio installer will attempt to download them from the internet. To make sure that you install only the files that you've previously downloaded, use the same command-line options that you used to create the layout cache.
For example, if you created a local installation cache with the following command:
Then use this command to run the installation:
Important
If you're using Visual Studio Community, you must activate it by logging into the product within 30 days of installation. Activation requires an internet connection.
Note
If you get an error that a signature is invalid, you must install updated certificates. Open the Certificates folder in your offline cache. Double-click each of the certificate files, and then click through the Certificate Manager wizard. If you're asked for a password, leave it blank.
Tip
For offline installations, if you get an error message that says 'A product matching the following parameters cannot be found', make sure that you are using the
--noweb
switch with version 16.3.5 or later.List of language locales
Language-locale | Language |
---|---|
cs-CZ | Czech |
de-DE | German |
en-US | English |
es-ES | Spanish |
fr-FR | French |
it-IT | Italian |
ja-JP | Japanese |
ko-KR | Korean |
pl-PL | Polish |
pt-BR | Portuguese - Brazil |
ru-RU | Russian |
tr-TR | Turkish |
zh-CN | Chinese - Simplified |
zh-TW | Chinese - Traditional |
Visual Studio Code Duplicate Line Mac
Get support
Sometimes, things can go wrong. If your Visual Studio installation fails, see Troubleshoot Visual Studio installation and upgrade issues for step-by-step guidance.
We also offer an installation chat (English only) support option for installation-related issues.
Here are a few more support options:
- Report product issues to us via the Report a Problem tool that appears both in the Visual Studio Installer and in the Visual Studio IDE.
- Suggest a feature, track product issues, and find answers in the Visual Studio Developer Community.
- Use your GitHub account to talk to us and other Visual Studio developers in the Visual Studio conversation in the Gitter community.
See also
ReSharper | Edit | Duplicate Text
Control+D
Control+D
ReSharper_DuplicateText
One of the ways of creating a code element similar to an existing one (for example, a new method overload or a new auto-implemented property) is cloning the existing element with copy-paste and then editing the clone.
ReSharper helps you streamline the cloning part — with a single keystroke Control+D the cloned code is inserted right after the original.
Quickly duplicate the current line or selection
- If you want to clone a line, set the caret at this line line. To clone an arbitrary piece of code, select it in the editor. To select a logical code block, press Control+W one or more times; to select the current declaration, press Control+Shift+OemOpenBrackets.
- Press Control+D or choose ReSharper | Edit | Duplicate Text from the main menu. Alternatively, you can press Control+Shift+A, start typing the command name in the popup, and then choose it there.
- The duplicated line or multi-line selection is inserted below the original line or selection; the duplicated inline selection is inserted to the right of the original.
- If you have duplicated a selection, the selection stays at the clone. If necessary, you can press Ctrl+Shift+Alt and then use arrow keys to move the clone to the desired position.
This feature is supported in the following languages and technologies:
The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see corresponding topics in the ReSharper by Language section.
Visual Studio Duplicate Line
Last modified: 08 March 2021