diff options
Diffstat (limited to 'Tools/versioning.props')
-rwxr-xr-x | Tools/versioning.props | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Tools/versioning.props b/Tools/versioning.props new file mode 100755 index 0000000000..bbf879c9f1 --- /dev/null +++ b/Tools/versioning.props @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <BuildToolsVersioningPropsHasBeenImported>true</BuildToolsVersioningPropsHasBeenImported> + + <Company Condition="'$(Company)' == ''">Microsoft Corporation</Company> + <Copyright Condition="'$(Copyright)' == ''">%A9 Microsoft Corporation. All rights reserved.</Copyright> + <Description Condition="'$(Description)' == ''">$(AssemblyName)</Description> + <FileVersion Condition="'$(FileVersion)' == '' and '$(AssemblyFileVersion)' != ''">$(AssemblyFileVersion)</FileVersion> + <InformationalVersion Condition="'$(InformationalVersion)' == ''">$(AssemblyFileVersion)$(BuiltByString)</InformationalVersion> + <Product Condition="'$(Product)' == ''">Microsoft%AE .NET Framework</Product> + <AssemblyTitle Condition="'$(AssemblyTitle)' == ''">$(AssemblyName)</AssemblyTitle> + <!-- File passed to C# compiler that defines the mapping from source to GIT URL. Created in versioning.targets --> + <SourceLinkFilePath>$(RootIntermediateOutputPath)source_link.json</SourceLinkFilePath> + </PropertyGroup> + + <PropertyGroup Condition="'$(UseSourceLink)' == 'true' AND Exists('$(SourceLinkFilePath)')"> + <!-- Defining this variable tells the C# compiler to use this as the /sourcelink option value. --> + <SourceLink>$(SourceLinkFilePath)</SourceLink> + </PropertyGroup> + +</Project> |