Skip to content

Commit ec22689

Browse files
authored
Merge pull request #4643 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to master to sync with https://github.com/MicrosoftDocs/visualstudio-docs (branch master)
2 parents 23d3c22 + 402f35e commit ec22689

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docs/msbuild/common-msbuild-project-properties.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ The following table lists frequently used properties that are defined in the Vis
6262
| FileAlignment | Specifies, in bytes, where to align the sections of the output file. Valid values are 512, 1024, 2048, 4096, 8192. This property is equivalent to the `/filealignment` compiler switch. |
6363
| FrameworkPathOverride | Specifies the location of *mscorlib.dll* and *microsoft.visualbasic.dll*. This parameter is equivalent to the `/sdkpath` switch of the *vbc.exe* compiler. |
6464
| GenerateDocumentation | (Visual Basic only) A boolean parameter that indicates whether documentation is generated by the build. If `true`, the build generates documentation information and puts it in an *.xml* file together with the name of the executable file or library that the build task created. |
65+
| GenerateSerializationAssemblies | Indicates whether XML serialization assemblies should be generated by *SGen.exe*, which can be set to on, auto, or off. This property is used for assemblies that target .NET Framework only. To generate XML serialization assemblies for .NET Standard or .NET Core assemblies, reference the *Microsoft.XmlSerializer.Generator* NuGet package. |
6566
| IntermediateOutputPath | The full intermediate output path as derived from `BaseIntermediateOutputPath`, if no path is specified. For example, *\obj\debug\\*. |
6667
| KeyContainerName | The name of the strong-name key container. |
6768
| KeyOriginatorFile | The name of the strong-name key file. |
@@ -85,8 +86,8 @@ The following table lists frequently used properties that are defined in the Vis
8586
| ProduceReferenceAssembly | A boolean value that when set to `true` enables production of [reference assemblies](https://github.com/dotnet/roslyn/blob/master/docs/features/refout.md) for the current assembly. `Deterministic` should be `true` when using this feature. This property corresponds to the `/refout` switch of the *vbc.exe* and *csc.exe* compilers. |
8687
| ProduceOnlyReferenceAssembly | A boolean value that instructs the compiler to emit only a reference assembly rather than compiled code. Cannot be used in conjunction with `ProduceReferenceAssembly`. This property corresponds to the `/refonly` switch of the *vbc.exe* and *csc.exe* compilers. |
8788
| RemoveIntegerChecks | A boolean value that indicates whether to disable integer overflow error checks. The default value is `false`. This property is equivalent to the `/removeintchecks` switch of the *vbc.exe* compiler. |
88-
| SGenUseProxyTypes | A boolean value that indicates whether proxy types should be generated by *SGen.exe*.<br /><br /> The SGen target uses this property to set the UseProxyTypes flag. This property defaults to true, and there is no UI to change this. To generate the serialization assembly for non-webservice types, add this property to the project file and set it to false before importing the *Microsoft.Common.Targets* or the *C#/VB.targets*. |
89-
| SGenToolPath | An optional tool path that indicates where to obtain *SGen.exe* when the current version of *SGen.exe* is overridden. |
89+
| SGenUseProxyTypes | A boolean value that indicates whether proxy types should be generated by *SGen.exe*. This applies only when *GenerateSerializationAssemblies* is set to on, and for .NET Framework only.<br /><br /> The SGen target uses this property to set the UseProxyTypes flag. This property defaults to true, and there is no UI to change this. To generate the serialization assembly for non-webservice types, add this property to the project file and set it to false before importing the *Microsoft.Common.Targets* or the *C#/VB.targets*. |
90+
| SGenToolPath | An optional tool path that indicates where to obtain *SGen.exe* when the current version of *SGen.exe* is overridden. This property is used for .NET Framework only.|
9091
| StartupObject | Specifies the class or module that contains the Main method or Sub Main procedure. This property is equivalent to the `/main` compiler switch. |
9192
| ProcessorArchitecture | The processor architecture that is used when assembly references are resolved. Valid values are "msil," "x86," "amd64," or "ia64." |
9293
| RootNamespace | The root namespace to use when you name an embedded resource. This namespace is part of the embedded resource manifest name. |

docs/msbuild/custombuild-task.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ ms.workload:
2020
---
2121
# CustomBuild task
2222

23-
Wraps the Visual C++ compiler tool, cmd.exe.
23+
Wraps the Visual C++ compiler tool, cmd.exe. This class derives from [TrackedVCToolTask](../msbuild/trackedvctooltask-base-class.md), but does not use file tracking to discover file dependencies. All dependencies should be explicitly specified as AdditionalDependencies for incremental build working properly.
24+
2425

2526
## Parameters
2627

@@ -34,4 +35,4 @@ The following table describes the parameters of the **CustomBuild** task.
3435

3536
## See also
3637

37-
[Task reference](../msbuild/msbuild-task-reference.md)
38+
[Task reference](../msbuild/msbuild-task-reference.md)

0 commit comments

Comments
 (0)