Skip to content

Commit d8e8e34

Browse files
authored
Merge pull request #769 from MicrosoftDocs/master
merge to live
2 parents 089ea68 + e149b49 commit d8e8e34

File tree

597 files changed

+1305
-1309
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

597 files changed

+1305
-1309
lines changed

docs/code-quality/TOC.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,7 @@
634634
### [CA0503](ca0503.md)
635635
### [CA0504](ca0504.md)
636636
### [CA0505](ca0505.md)
637+
### [FxCopCmd Errors](fxcopcmd-errors.md)
637638
## [Enhancing Code Quality with Team Project Check-in Policies](enhancing-code-quality-with-team-project-check-in-policies.md)
638639
### [Creating and Using Code Analysis Check-In Policies](creating-and-using-code-analysis-check-in-policies.md)
639640
#### [How to: Create or Update Standard Code Analysis Check-in Policies](how-to-create-or-update-standard-code-analysis-check-in-policies.md)

docs/code-quality/ca0001.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,13 @@ An exception was raised within managed code analysis tool that does not indicate
4747

4848
For more diagnostic information, view the CodeAnalysisReport.xml in the \obj folder. The report lists the exception type, stack, type, message, and stack of all inner exceptions. A sample CodeAnalysisReport.xml report for the previous exception looks similar to the following:
4949

50-
`<Exception Keyword="CA0001" Kind="Rule" TypeName="DoNotCallOverridableMethodsInConstructors" Category="Microsoft.Usage" CheckId="CA2214" Target="B..ctor()">`
51-
52-
`<Type>System.NullReferenceException</Type>`
53-
54-
`<ExceptionMessage>Object reference not set to an instance of an object.</ExceptionMessage>`
55-
56-
`<StackTrace> at Microsoft.FxCop.Rules.Usage.DoNotCallOverridableMethodsInConstructors.CheckCallees(Method method, Boolean isCallVirt) in d:\rules\DoNotCallOverridableMethodsInConstructors.cs:line 107 at Microsoft.FxCop.Rules.Usage.DoNotCallOverridableMethodsInConstructors.CheckCallees(Method method, Boolean isCallVirt) in d:\rules\DoNotCallOverridableMethodsInConstructors.cs:line 128 at Microsoft.FxCop.Rules.Usage.DoNotCallOverridableMethodsInConstructors.Check(Member member) in d:\rules\DoNotCallOverridableMethodsInConstructors.cs:line 58 at Microsoft.FxCop.Engines.Introspection.AnalysisVisitor.CheckMember(Member member, NodeBase target) in d:\Engines\Introspection\AnalysisVisitor.cs:line 743</StackTrace>`
57-
58-
`</Exception>`
59-
60-
`</Exceptions>`
50+
```
51+
<Exception Keyword="CA0001" Kind="Rule" TypeName="DoNotCallOverridableMethodsInConstructors" Category="Microsoft.Usage" CheckId="CA2214" Target="B..ctor()">
52+
<Type>System.NullReferenceException</Type>
53+
<ExceptionMessage>Object reference not set to an instance of an object.</ExceptionMessage>
54+
<StackTrace> at Microsoft.FxCop.Rules.Usage.DoNotCallOverridableMethodsInConstructors.CheckCallees(Method method, Boolean isCallVirt) in d:\rules\DoNotCallOverridableMethodsInConstructors.cs:line 107 at Microsoft.FxCop.Rules.Usage.DoNotCallOverridableMethodsInConstructors.CheckCallees(Method method, Boolean isCallVirt) in d:\rules\DoNotCallOverridableMethodsInConstructors.cs:line 128 at Microsoft.FxCop.Rules.Usage.DoNotCallOverridableMethodsInConstructors.Check(Member member) in d:\rules\DoNotCallOverridableMethodsInConstructors.cs:line 58 at Microsoft.FxCop.Engines.Introspection.AnalysisVisitor.CheckMember(Member member, NodeBase target) in d:\Engines\Introspection\AnalysisVisitor.cs:line 743</StackTrace>
55+
</Exception>
56+
```
6157
6258
In the previous report, an exception occurred at line 107 of DoNotCallOverridableMethodsInConstructors.cs file. All other stack traces show the execution path that lead to the exception.
6359

docs/code-quality/ca0054.md

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,20 @@ Custom rule assembly has invalid XML resources
3838

3939
This occurs if a custom rule assembly has invalid XML resources describing its rules. The correct format is as follows:
4040

41-
`<Rules FriendlyName="Customer Rules">`
42-
43-
`<Rule TypeName="[The unqualified type name of the rule]" Category="[A category name such as Customer.Usage]" CheckId="[An identifier for the rule that is at least unique within the same category]">`
44-
45-
`<Name>[Localized version of the type name, this is the rule name that appears in the UI]</Name>`
46-
47-
`<Description>[A sentence describing the rule in more detail than the name].</Description>`
48-
49-
`<Url>[A URL pointing to a documentation or info about the rule]</Url>`
50-
51-
`<Resolution>[Format string for rule messages].</Resolution>`
52-
53-
`<Email>[Email Address]</Email>`
54-
55-
`<MessageLevel Certainty="[A number from 0 to 100]">[Error or Warning]</MessageLevel>`
56-
57-
`<FixCategories>[NonBreaking or Breaking]</FixCategories>`
58-
59-
`<Owner>[Rule owner name or group]</Owner>`
60-
61-
`</Rule>`
62-
63-
`</Rules>`
41+
```xml
42+
<Rules FriendlyName="Customer Rules">
43+
<Rule TypeName="[The unqualified type name of the rule]" Category="[A category name such as Customer.Usage]" CheckId="[An identifier for the rule that is at least unique within the same category]">
44+
<Name>[Localized version of the type name, this is the rule name that appears in the UI]</Name>
45+
<Description>[A sentence describing the rule in more detail than the name].</Description>
46+
<Url>[A URL pointing to a documentation or info about the rule]</Url>
47+
<Resolution>[Format string for rule messages].</Resolution>
48+
<Email>[Email Address]</Email>
49+
<MessageLevel Certainty="[A number from 0 to 100]">[Error or Warning]</MessageLevel>
50+
<FixCategories>[NonBreaking or Breaking]</FixCategories>
51+
<Owner>[Rule owner name or group]</Owner>
52+
</Rule>
53+
</Rules>
54+
```
6455

6556
## See Also
6657
[Code Analysis Application Errors](../code-quality/code-analysis-application-errors.md)

docs/code-quality/ca1009-declare-event-handlers-correctly.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@ translation.priority.ht:
6969
## See Also
7070
<xref:System.EventArgs?displayProperty=fullName>
7171
<xref:System.Object?displayProperty=fullName>
72-
[NIB: Events and Delegates](http://msdn.microsoft.com/en-us/d98fd58b-fa4f-4598-8378-addf4355a115)
72+
[Handling and raising events](/dotnet/standard/events/index)

docs/code-quality/ca1304-specify-cultureinfo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ translation.priority.mt:
8989
[CA1305: Specify IFormatProvider](../code-quality/ca1305-specify-iformatprovider.md)
9090

9191
## See Also
92-
[NIB: Using the CultureInfo Class](http://msdn.microsoft.com/en-us/d4329e34-64c3-4d1e-8c73-5b0ee626ba7a)
92+
[Using the CultureInfo Class](/dotnet/standard/globalization-localization/globalization#Cultures)

docs/code-quality/ca1305-specify-iformatprovider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ translation.priority.mt:
8989
[CA1304: Specify CultureInfo](../code-quality/ca1304-specify-cultureinfo.md)
9090

9191
## See Also
92-
[NIB: Using the CultureInfo Class](http://msdn.microsoft.com/en-us/d4329e34-64c3-4d1e-8c73-5b0ee626ba7a)
92+
[Using the CultureInfo Class](/dotnet/standard/globalization-localization/globalization#Cultures)

docs/code-quality/ca1710-identifiers-should-have-correct-suffix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,4 @@ foreach(SomeType x in SomeDictionary.Values) { }
105105

106106
## See Also
107107
[Attributes](/dotnet/standard/design-guidelines/attributes)
108-
[NIB: Events and Delegates](http://msdn.microsoft.com/en-us/d98fd58b-fa4f-4598-8378-addf4355a115)
108+
[Handling and raising events](/dotnet/standard/events/index)

docs/code-quality/ca1711-identifiers-should-not-have-incorrect-suffix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ translation.priority.ht:
8686

8787
## See Also
8888
[Attributes](/dotnet/standard/design-guidelines/attributes)
89-
[NIB: Events and Delegates](http://msdn.microsoft.com/en-us/d98fd58b-fa4f-4598-8378-addf4355a115)
89+
[Handling and raising events](/dotnet/standard/events/index)

docs/code-quality/code-analysis-application-errors.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,11 @@ This section is a reference of the error messages that are generated by the mana
6868
|[CA0504](ca0504.md)|Rule directory was ignored because it does not exist|
6969
|[CA0505](ca0505.md)|The property is deprecated. Use the superceding property|
7070
|[FxCopCmd Errors](fxcopcmd-errors.md)|Managed code analysis errors.|
71-
|[Code Analysis Policy Errors](../code-quality/code-analysis-policy-errors.md)|Code analysis check in policy errors.|
7271

7372
## Related Sections
7473
[Guidelines for Writing Secure Code](http://msdn.microsoft.com/en-us/9892fd19-45cd-44b6-9fa8-10f1b5cb6ea4)
74+
75+
[Code Analysis Policy Errors](../code-quality/code-analysis-policy-errors.md)
7576

7677
[Analyzing Managed Code Quality](../code-quality/analyzing-managed-code-quality-by-using-code-analysis.md)
7778

docs/cross-platform/change-log-visual-studio-tools-for-unity.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,37 @@ translation.priority.mt:
3232
# Change Log (Visual Studio Tools for Unity)
3333
Visual Studio Tools for Unity change log.
3434

35+
## 3.4.0.2
36+
Released 2017-09-19
37+
38+
### New Features
39+
40+
- **Project Generation:**
41+
42+
- Added support for assembly.json compilation units.
43+
44+
- Stopped copying Unity assemblies to the project folder.
45+
46+
- **Debugger:**
47+
48+
- Added support for setting the next statement with the new Unity runtime.
49+
50+
- Added support for Decimal type with the new Unity runtime.
51+
52+
- Added support for implicit/explicit conversions.
53+
54+
### Bug fixes
55+
56+
- **Evaluation:**
57+
58+
- Fixed array creation with implicit size.
59+
60+
- Fixed compiler generated items with locals.
61+
62+
- **Project Generation:**
63+
64+
- Fixed reference to Microsoft.CSharp for 4.6 API level.
65+
3566
## 3.3.0.2
3667
Released 2017-08-15
3768

Loading

docs/data-tools/TOC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
### [How to: Save and Edit Connection Strings](how-to-save-and-edit-connection-strings.md)
99
### [Connect to data in an Access database (Windows Forms)](connect-to-data-in-an-access-database-windows-forms.md)
1010
## [Add new data sources](add-new-data-sources.md)
11-
## [Entity Data Model Tools in Visual Studio](entity-data-model-tools-in-visual-studio.md)
11+
## [Entity Framework Tools in Visual Studio](entity-data-model-tools-in-visual-studio.md)
1212
## [Dataset tools in Visual Studio](dataset-tools-in-visual-studio.md)
1313
### [Create and configure datasets in Visual Studio](create-and-configure-datasets-in-visual-studio.md)
1414
#### [Typed vs. untyped datasets](typed-vs-untyped-datasets.md)

docs/data-tools/configure-service-reference-dialog-box.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ The **Configure Service Reference** dialog box enables you to configure the beha
9696
Contains a list of referenced assemblies for the project or Web site. When **Reuse types in specified referenced assemblies** is selected, individual assemblies can be selected or cleared.
9797

9898
**Add Web Reference**
99-
Displays the [NIB: Add Web Reference Dialog Box](http://msdn.microsoft.com/en-us/bdf05776-c591-40af-bfd7-e1e2aa1e87b5).
99+
Displays the [Add Web Reference Dialog Box](https://msdn.microsoft.com/en-us/library/8dcbc50t(v=vs.100).aspx).
100100

101101
> [!NOTE]
102102
> This option should be used only for projects that target version 2.0 of the [!INCLUDE[dnprdnshort](../code-quality/includes/dnprdnshort_md.md)].

docs/data-tools/connect-to-data-in-an-access-database-windows-forms.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Connect to data in an Access database (Windows Forms) | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "11/04/2016"
4+
ms.date: "09/15/2017"
55
ms.reviewer: ""
66
ms.suite: ""
77
ms.tgt_pltfrm: ""
@@ -50,32 +50,35 @@ You can connect to an Access database (either an .mdf file or an .accdb file) by
5050
![View Other Windows Data Sources](../data-tools/media/viewdatasources.png "ViewDataSources")
5151

5252
3. In the **Data Sources** window, click **Add New Data Source**.
53-
54-
![Add New Data Source](../data-tools/media/dataaddnewdatasource.png "dataAddNewDataSource")
53+
54+
The **Data Source Configuration Wizard** opens.
5555

5656
4. Select **Database** on the **Choose a Data Source Type** page, and then select **Next**.
5757

5858
5. Select **Dataset** on the **Choose a Database Model** page, and then select **Next**.
5959

6060
6. On the **Choose your Data Connection** page, select **New Connection** to configure a new data connection.
61+
62+
The **Add Connection** dialog box opens.
6163

62-
7. Change the **Data source** to **.NET Framework Data Provider for OLE DB**.
63-
64-
![Change Data Provider to OLE DB](../data-tools/media/datachangedatasourceoledb.png "dataChangeDataSourceOLEDB")
65-
66-
> [!IMPORTANT]
67-
> Although a data source of **Microsoft Access Database File (OLE DB)** might seem like the right choice, you use that data-source type only for .mdb database files.
64+
7. Select the **Change** button next to the **Data source** text box.
65+
66+
The **Change Data Source** dialog box opens.
6867

69-
8. In **OLE DB Provider**, select **Microsoft Office 12.0 Access Database Engine OLE DB Provider**.
68+
8. In the list of data sources, choose **\<other\>**. In the **Data provider** drop-down, select **.NET Framework Data Provider for OLE DB**, then choose **OK**.
69+
70+
9. Back in the **Add Connection** dialog box, select **Microsoft Office 12.0 Access Database Engine OLE DB Provider** from the **OLE DB Provider** drop-down.
7071

7172
![OLE DB Provider Microsoft Office 12.0 Access](../data-tools/media/dataoledbprovideroffice12access.png "dataOLEDBProviderOffice12Access")
73+
74+
> [!NOTE]
75+
> If you don't see **Microsoft Office 12.0 Access Database Engine OLE DB Provider** in the OLE DB provider drop-down, you may need to install the [2007 Office System Driver: Data Connectivity Components](https://www.microsoft.com/download/confirmation.aspx?id=23734).
7276
73-
9. In **Server or file name**, specify the path and name of the .accdb file to which you want to connect, and then select **OK**.
74-
75-
> [!NOTE]
76-
> If the database file has a user name and password, specify them before you select **OK**.
77+
9. In the **Server or file name** text box, specify the path and file name of the .accdb file you want to connect to, and then select **OK**. (If the database file has a user name and password, specify them before you select **OK**.)
7778

7879
10. Select **Next** on the **Choose your Data Connection** page.
80+
81+
You may get a dialog box telling you the data file is not in your current project. Select **Yes** or **No**.
7982

8083
11. Select **Next** on the **Save connection string to the Application Configuration file** page.
8184

@@ -97,6 +100,8 @@ You can connect to an Access database (either an .mdf file or an .accdb file) by
97100
![View Other Windows Data Sources](../data-tools/media/viewdatasources.png "ViewDataSources")
98101

99102
3. In the **Data Sources** window, click **Add New Data Source**.
103+
104+
The **Data Source Configuration Wizard** opens.
100105

101106
4. Select **Database** on the **Choose a Data Source Type** page, and then select **Next**.
102107

@@ -106,7 +111,7 @@ You can connect to an Access database (either an .mdf file or an .accdb file) by
106111

107112
7. If the data source is not **Microsoft Access Database File (OLE DB)**, select **Change** to open the **Change Data Source** dialog box and select **Microsoft Access Database File**, and then select **OK**.
108113

109-
8. In the **Database file name**, specify the path and name of the .mdb file to which you want to connect, and then select **OK**.
114+
8. In the **Database file name**, specify the path and name of the .mdb file you want to connect to, and then select **OK**.
110115

111116
![Add Connection Access Database File](../data-tools/media/dataaddconnectionaccessmdb.png "dataAddConnectionAccessMDB")
112117

0 commit comments

Comments
 (0)