You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/code-quality/code-analysis-for-managed-code-overview.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,9 @@ Code analysis for managed code analyzes managed assemblies and reports informati
23
23
24
24
The analysis tool represents the checks it performs during an analysis as warning messages. Warning messages identify any relevant programming and design issues and, when it is possible, supply information about how to fix the problem.
25
25
26
+
> [!NOTE]
27
+
> Static code analysis is not supported for .NET Core and .NET Standard projects in Visual Studio. If you run code analysis on a .NET Core or .NET Standard project as part of msbuild, you'll see an error similar to **error : CA0055 : Could not identify platform for \<your.dll>**. To analyze code in .NET Core or .NET Standard projects, use [Roslyn analyzers](../code-quality/roslyn-analyzers-overview.md) instead.
28
+
26
29
## IDE (integrated development environment) integration
27
30
28
31
You can run code analysis on your project manually or automatically.
Copy file name to clipboardExpand all lines: docs/data-tools/bind-wpf-controls-to-a-dataset.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -234,7 +234,7 @@ Build and run the application. Verify that you can view and update product recor
234
234
235
235
## Next steps
236
236
237
-
After completing this walkthrough, you you might try the following related tasks:
237
+
After completing this walkthrough, you might try the following related tasks:
238
238
239
239
- Learn how to use the **Data Sources** window in Visual Studio to bind WPF controls to other types of data sources. For more information, see [Bind WPF controls to a WCF data service](../data-tools/bind-wpf-controls-to-a-wcf-data-service.md).
240
240
@@ -244,4 +244,4 @@ After completing this walkthrough, you you might try the following related tasks
244
244
245
245
- [Bind WPF controls to data in Visual Studio](../data-tools/bind-wpf-controls-to-data-in-visual-studio.md)
246
246
- [Dataset tools in Visual Studio](../data-tools/dataset-tools-in-visual-studio.md)
Copy file name to clipboardExpand all lines: docs/data-tools/fill-datasets-by-using-tableadapters.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ TableAdapters use data commands to read to and write from the database. Use the
100
100
When you use a TableAdapter, it effectively performs the same operations with the commands that you would typically perform. For example, when you call the adapter's `Fill` method, the adapter runs the data command in its `SelectCommand` property and uses a data reader (for example, <xref:System.Data.SqlClient.SqlDataReader>) to load the result set into the data table. Similarly, when you call the adapter's `Update` method, it runs the appropriate command (in the `UpdateCommand`, `InsertCommand`, and `DeleteCommand` properties) for each changed record in the data table.
101
101
102
102
> [!NOTE]
103
-
> If there is enough information in the main query, the `InsertCommand`, `UpdateCommand`, and `DeleteCommand` commands are created by default when the the TableAdapter is generated. If the TableAdapter's main query is more than a single table `SELECT` statement, it's possible the designer won't be able to generate `InsertCommand`, `UpdateCommand`, and `DeleteCommand`. If these commands aren't generated, you might receive an error when running the `TableAdapter.Update` method.
103
+
> If there is enough information in the main query, the `InsertCommand`, `UpdateCommand`, and `DeleteCommand` commands are created by default when the TableAdapter is generated. If the TableAdapter's main query is more than a single table `SELECT` statement, it's possible the designer won't be able to generate `InsertCommand`, `UpdateCommand`, and `DeleteCommand`. If these commands aren't generated, you might receive an error when running the `TableAdapter.Update` method.
Copy file name to clipboardExpand all lines: docs/debugger/debugging-absolute-beginners.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ It helps to clarify the problem that you ran into before you try to fix it. We e
35
35
36
36
## Examine your assumptions
37
37
38
-
Before you investigate a bug or an error, think of the assumptions that made you expect a certain result. Hidden or unknown assumptions can get in the way of identifying a problem even when you are looking right at the cause of the problem in a debugger. You may have a long list of possible assumptions! Here are are few questions to ask yourself to challenge your assumptions.
38
+
Before you investigate a bug or an error, think of the assumptions that made you expect a certain result. Hidden or unknown assumptions can get in the way of identifying a problem even when you are looking right at the cause of the problem in a debugger. You may have a long list of possible assumptions! Here are a few questions to ask yourself to challenge your assumptions.
39
39
40
40
* Are you using the right API (that is, the right object, function, method, or property)? An API that you're using might not do what you think it does. (After you examine the API call in the debugger, fixing it may require a trip to the documentation to help identify the correct API.)
41
41
@@ -316,7 +316,7 @@ When you find the region of code with the problem, use the debugger to investiga
316
316
317
317
* [Inspect variables](../debugger/view-data-values-in-data-tips-in-the-code-editor.md) and check whether they contain the type of values that they should contain. If you find a bad value, find out where the bad value was set (tofindwherethevaluewasset, youmightneedtoeitherrestartthedebugger, lookatthe [callstack](../debugger/how-to-use-the-call-stack-window.md), orboth).
318
318
319
-
* Check whether your application is executing the code that you expect. (Forexample, inthesampleapplication, weexpectedthecodefortheswitch statement to set the galaxy type to Irregular, but the the app skipped the code due to the typo.)
319
+
* Check whether your application is executing the code that you expect. (Forexample, inthesampleapplication, weexpectedthecodefortheswitch statement to set the galaxy type to Irregular, but the app skipped the code due to the typo.)
320
320
321
321
> [!TIP]
322
322
> You use a debugger to help you find bugs. A debugging tool can find bugs *for you* only if it knows the intent of your code. A tool can only know the intent of your code if you, the developer, express that intent. Writing [unit tests](../test/improve-code-quality.md) is how you do that.
Copy file name to clipboardExpand all lines: docs/deployment/how-clickonce-performs-application-updates.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -19,18 +19,18 @@ manager: douge
19
19
ms.workload:
20
20
- "multiple"
21
21
---
22
-
# How ClickOnce Performs Application Updates
22
+
# How ClickOnce performs application updates
23
23
ClickOnce uses the file version information specified in an application's deployment manifest to decide whether to update the application's files. After an update begins, ClickOnce uses a technique called *file patching* to avoid redundant downloading of application files.
24
24
25
-
## File Patching
25
+
## File patching
26
26
When updating an application, ClickOnce does not download all of the files for the new version of the application unless the files have changed. Instead, it compares the hash signatures of the files specified in the application manifest for the current application against the signatures in the manifest for the new version. If a file's signatures are different, ClickOnce downloads the new version. If the signatures match, the file has not changed from one version to the next. In this case, ClickOnce copies the existing file and uses it in the new version of the application. This approach prevents ClickOnce from having to download the entire application again, even if only one or two files have changed.
27
27
28
28
File patching also works for assemblies that are downloaded on demand using the <xref:System.Deployment.Application.ApplicationDeployment.DownloadFileGroup%2A> and <xref:System.Deployment.Application.ApplicationDeployment.DownloadFileGroupAsync%2A> methods.
29
29
30
30
If you use Visual Studio to compile your application, it will generate new hash signatures for all files whenever you rebuild the entire project. In this case, all assemblies will be downloaded to the client, although only a few assemblies may have changed.
31
31
32
-
File patching does not work for files that are marked as data and stored in the data directory. These are always downloaded regardless of the file's hash signature. For more information on the data directory, see [Accessing Local and Remote Data in ClickOnce Applications](../deployment/accessing-local-and-remote-data-in-clickonce-applications.md).
32
+
File patching does not work for files that are marked as data and stored in the data directory. These are always downloaded regardless of the file's hash signature. For more information on the data directory, see [Access local and remote data in ClickOnce applications](../deployment/accessing-local-and-remote-data-in-clickonce-applications.md).
33
33
34
-
## See Also
35
-
[Choosing a ClickOnce Update Strategy](../deployment/choosing-a-clickonce-update-strategy.md)
36
-
[Choosing a ClickOnce Deployment Strategy](../deployment/choosing-a-clickonce-deployment-strategy.md)
34
+
## See also
35
+
[Choose a ClickOnce update strategy](../deployment/choosing-a-clickonce-update-strategy.md)
36
+
[Choose a ClickOnce deployment strategy](../deployment/choosing-a-clickonce-deployment-strategy.md)
Copy file name to clipboardExpand all lines: docs/deployment/how-to-add-a-trusted-publisher-to-a-client-computer-for-clickonce-applications.md
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ manager: douge
18
18
ms.workload:
19
19
- "multiple"
20
20
---
21
-
# How to: Add a Trusted Publisher to a Client Computer for ClickOnce Applications
21
+
# How to: Add a trusted publisher to a client computer for ClickOnce applications
22
22
With Trusted Application Deployment, you can configure client computers so that your [!INCLUDE[ndptecclick](../deployment/includes/ndptecclick_md.md)] applications run with a higher level of trust without prompting the user. The following procedures show how to use the command-line tool CertMgr.exe to add a publisher's certificate to the Trusted Publishers store on a client computer.
23
23
24
24
The commands you use vary slightly depending on whether the certificate authority (CA) that issued your certificate is part of a client's trusted root. If a Windows client computer is part of a domain, it will contain, in a list, CAs that are considered trusted roots. This list is usually configured by the system administrator. If your certificate was issued by one of these trusted roots, or by a CA that chains to one of these trusted roots, you can add the certificate to the client's trusted root store. If, on the other hand, your certificate was not issued by one of these trusted roots, you must add the certificate to both the client's Trusted Root store and Trusted Publisher store.
@@ -28,13 +28,13 @@ With Trusted Application Deployment, you can configure client computers so that
28
28
29
29
You may also add a certificate to a store programmatically using the <xref:System.Security.Cryptography.X509Certificates.X509Store> class.
30
30
31
-
For an overview of Trusted Application Deployment, see [Trusted Application Deployment Overview](../deployment/trusted-application-deployment-overview.md).
31
+
For an overview of Trusted Application Deployment, see [Trusted application deployment overview](../deployment/trusted-application-deployment-overview.md).
32
32
33
33
### To add a certificate to the Trusted Publishers store under the trusted root
34
34
35
35
1. Obtain a digital certificate from a CA.
36
36
37
-
2. Export the certificate into the Base64 X.509 (.cer) format. For more information about certificate formats, see [Export a Certificate](http://go.microsoft.com/fwlink/?LinkId=164793).
37
+
2. Export the certificate into the Base64 X.509 (*.cer*) format. For more information about certificate formats, see [Export a certificate](http://go.microsoft.com/fwlink/?LinkId=164793).
38
38
39
39
3. From the command prompt on client computers, run the following command:
40
40
@@ -44,24 +44,24 @@ With Trusted Application Deployment, you can configure client computers so that
44
44
45
45
1. Obtain a digital certificate from a CA.
46
46
47
-
2. Export the certificate into the Base64 X.509 (.cer) format. For more information about certificate formats, see [Export a Certificate](http://go.microsoft.com/fwlink/?LinkId=164793).
47
+
2. Export the certificate into the Base64 X.509 (*.cer*) format. For more information about certificate formats, see [Export a Certificate](http://go.microsoft.com/fwlink/?LinkId=164793).
48
48
49
49
3. From the command prompt on client computers, run the following command:
[How to: Enable ClickOnce Security Settings](../deployment/how-to-enable-clickonce-security-settings.md)
62
-
[How to: Set a Security Zone for a ClickOnce Application](../deployment/how-to-set-a-security-zone-for-a-clickonce-application.md)
63
-
[How to: Set Custom Permissions for a ClickOnce Application](../deployment/how-to-set-custom-permissions-for-a-clickonce-application.md)
64
-
[How to: Debug a ClickOnce Application with Restricted Permissions](../deployment/how-to-debug-a-clickonce-application-with-restricted-permissions.md)
65
-
[How to: Add a Trusted Publisher to a Client Computer for ClickOnce Applications](../deployment/how-to-add-a-trusted-publisher-to-a-client-computer-for-clickonce-applications.md)
66
-
[How to: Re-sign Application and Deployment Manifests](../deployment/how-to-re-sign-application-and-deployment-manifests.md)
67
-
[How to: Configure the ClickOnce Trust Prompt Behavior](../deployment/how-to-configure-the-clickonce-trust-prompt-behavior.md)
[How to: Enable ClickOnce security settings](../deployment/how-to-enable-clickonce-security-settings.md)
62
+
[How to: Set a security zone for a ClickOnce application](../deployment/how-to-set-a-security-zone-for-a-clickonce-application.md)
63
+
[How to: Set custom permissions for a ClickOnce application](../deployment/how-to-set-custom-permissions-for-a-clickonce-application.md)
64
+
[How to: Debug a ClickOnce application with restricted permissions](../deployment/how-to-debug-a-clickonce-application-with-restricted-permissions.md)
65
+
[How to: Add a trusted publisher to a client computer for ClickOnce applications](../deployment/how-to-add-a-trusted-publisher-to-a-client-computer-for-clickonce-applications.md)
66
+
[How to: Re-sign application and deployment manifests](../deployment/how-to-re-sign-application-and-deployment-manifests.md)
67
+
[How to: Configure the ClickOnce trust prompt behavior](../deployment/how-to-configure-the-clickonce-trust-prompt-behavior.md)
Copy file name to clipboardExpand all lines: docs/deployment/how-to-automatically-increment-the-clickonce-publish-version.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -20,23 +20,23 @@ manager: douge
20
20
ms.workload:
21
21
- "multiple"
22
22
---
23
-
# How to: Automatically Increment the ClickOnce Publish Version
23
+
# How to: Automatically increment the ClickOnce publish version
24
24
When publishing a [!INCLUDE[ndptecclick](../deployment/includes/ndptecclick_md.md)] application, changing the `Publish Version` property causes the application to be published as an update. By default, Visual Studio automatically increments the `Revision` number of the `Publish Version` each time you publish the application.
25
25
26
26
You can disable this behavior on the **Publish** page of the **Project Designer**.
27
27
28
28
> [!NOTE]
29
29
> The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose **Import and Export Settings** on the **Tools** menu. For more information, see [Personalize the Visual Studio IDE](../ide/personalizing-the-visual-studio-ide.md).
30
30
31
-
### To disable automatically incrementing the Publish Version
31
+
### To disable automatically incrementing the publish version
32
32
33
33
1. With a project selected in **Solution Explorer**, on the **Project** menu, click **Properties**.
34
34
35
35
2. Click the **Publish** tab.
36
36
37
37
3. In the **Publish Version** section, clear the **Automatically increment revision with each release** check box.
38
38
39
-
## See Also
40
-
[How to: Set the ClickOnce Publish Version](../deployment/how-to-set-the-clickonce-publish-version.md)
Copy file name to clipboardExpand all lines: docs/deployment/how-to-change-the-publish-language-for-a-clickonce-application.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ manager: douge
19
19
ms.workload:
20
20
- "multiple"
21
21
---
22
-
# How to: Change the Publish Language for a ClickOnce Application
22
+
# How to: Change the publish language for a ClickOnce application
23
23
When publishing a [!INCLUDE[ndptecclick](../deployment/includes/ndptecclick_md.md)] application, the user interface displayed during installation defaults to the language and culture of your development computer. If you are publishing a localized application, you will need to specify a language and culture to match the localized version. This is determined by the `Publish language` property for your project.
24
24
25
25
The `Publish language` property can be set in the **Publish Options** dialog box, accessible from the **Publish** page of the **Project Designer**.
@@ -39,6 +39,6 @@ When publishing a [!INCLUDE[ndptecclick](../deployment/includes/ndptecclick_md.m
39
39
40
40
5. In the **Publish Options** dialog box, select a language and culture from the **Publish language** drop-down list, and then click **OK**.
0 commit comments