| <?xml version="1.0" encoding="utf-8"?>
|
|
|
| <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
| <Import Project="Microsoft.Managed.Core.targets"/>
|
|
|
| <PropertyGroup>
|
|
|
| <_MaxSupportedLangVersion Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(_TargetFrameworkVersionWithoutV)' < '3.0') AND
|
| ('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(_TargetFrameworkVersionWithoutV)' < '2.1')">7.3</_MaxSupportedLangVersion>
|
|
|
|
|
| <_MaxSupportedLangVersion Condition="(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(_TargetFrameworkVersionWithoutV)' < '5.0') OR
|
| ('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(_TargetFrameworkVersionWithoutV)' == '2.1')) AND
|
| '$(_MaxSupportedLangVersion)' == ''">8.0</_MaxSupportedLangVersion>
|
|
|
| |
| |
| |
| |
| |
| |
|
|
| <_MaxSupportedLangVersion Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND
|
| '$(_MaxSupportedLangVersion)' == ''">$([MSBuild]::Add(9, $([MSBuild]::Subtract($(_TargetFrameworkVersionWithoutV.Split('.')[0]), 5)))).0</_MaxSupportedLangVersion>
|
|
|
|
|
| <_MaxAvailableLangVersion>13.0</_MaxAvailableLangVersion>
|
| <_MaxSupportedLangVersion Condition="'$(_MaxSupportedLangVersion)' != '' AND
|
| '$(_MaxSupportedLangVersion)' > '$(_MaxAvailableLangVersion)'">$(_MaxAvailableLangVersion)</_MaxSupportedLangVersion>
|
|
|
| <MaxSupportedLangVersion>$(_MaxSupportedLangVersion)</MaxSupportedLangVersion>
|
| <LangVersion Condition="'$(LangVersion)' == '' AND '$(_MaxSupportedLangVersion)' != ''">$(_MaxSupportedLangVersion)</LangVersion>
|
| </PropertyGroup>
|
|
|
| <Target Name="CoreCompile"
|
| Inputs="$(MSBuildAllProjects);
|
| @(Compile);
|
| @(_CoreCompileResourceInputs);
|
| $(ApplicationIcon);
|
| $(KeyOriginatorFile);
|
| @(ReferencePathWithRefAssemblies);
|
| @(CompiledLicenseFile);
|
| @(LinkResource);
|
| @(EmbeddedDocumentation);
|
| $(Win32Resource);
|
| $(Win32Manifest);
|
| @(CustomAdditionalCompileInputs);
|
| $(ResolvedCodeAnalysisRuleSet);
|
| @(AdditionalFiles);
|
| @(EmbeddedFiles);
|
| @(Analyzer);
|
| @(EditorConfigFiles);
|
| $(SourceLink)"
|
| Outputs="@(DocFileItem);
|
| @(IntermediateAssembly);
|
| @(IntermediateRefAssembly);
|
| @(_DebugSymbolsIntermediatePath);
|
| $(NonExistentFile);
|
| @(CustomAdditionalCompileOutputs)"
|
| Returns="@(CscCommandLineArgs)"
|
| DependsOnTargets="$(CoreCompileDependsOn);_BeforeVBCSCoreCompile">
|
| |
| |
|
|
| <PropertyGroup Condition="('$(TargetFrameworkVersion)' != 'v1.0') and ('$(TargetFrameworkVersion)' != 'v1.1')">
|
| <NoWarn>$(NoWarn);1701;1702</NoWarn>
|
| </PropertyGroup>
|
|
|
| <PropertyGroup>
|
|
|
| <NoWarn Condition="'$(BuildingInsideVisualStudio)' == 'true' AND '$(VisualStudioVersion)' != '' AND '$(VisualStudioVersion)' > '10.0'">$(NoWarn);2008</NoWarn>
|
| </PropertyGroup>
|
|
|
| <PropertyGroup>
|
| |
|
|
| <AppConfigForCompiler Condition="'$(AppConfigForCompiler)' == '' AND '$(UseAppConfigForCompiler)' == 'true'">$(AppConfig)</AppConfigForCompiler>
|
|
|
|
|
| <PdbFile Condition="'$(PdbFile)' == '' AND '$(OutputType)' == 'winmdobj' AND '$(_DebugSymbolsProduced)' == 'true'">$(IntermediateOutputPath)$(TargetName).compile.pdb</PdbFile>
|
| </PropertyGroup>
|
|
|
|
|
| <Csc Condition="'%(_CoreCompileResourceInputs.WithCulture)' != 'true'"
|
| AdditionalLibPaths="$(AdditionalLibPaths)"
|
| AddModules="@(AddModules)"
|
| AdditionalFiles="@(AdditionalFiles)"
|
| AllowUnsafeBlocks="$(AllowUnsafeBlocks)"
|
| AnalyzerConfigFiles="@(EditorConfigFiles)"
|
| Analyzers="@(Analyzer)"
|
| ApplicationConfiguration="$(AppConfigForCompiler)"
|
| BaseAddress="$(BaseAddress)"
|
| CheckForOverflowUnderflow="$(CheckForOverflowUnderflow)"
|
| ChecksumAlgorithm="$(ChecksumAlgorithm)"
|
| CodeAnalysisRuleSet="$(ResolvedCodeAnalysisRuleSet)"
|
| CodePage="$(CodePage)"
|
| DebugType="$(DebugType)"
|
| DefineConstants="$(DefineConstants)"
|
| DelaySign="$(DelaySign)"
|
| DisabledWarnings="$(NoWarn)"
|
| DisableSdkPath="$(DisableSdkPath)"
|
| DocumentationFile="@(DocFileItem)"
|
| EmbedAllSources="$(EmbedAllSources)"
|
| EmbeddedFiles="@(EmbeddedFiles)"
|
| EmitDebugInformation="$(DebugSymbols)"
|
| EnvironmentVariables="$(CscEnvironment)"
|
| ErrorEndLocation="$(ErrorEndLocation)"
|
| ErrorLog="$(ErrorLog)"
|
| ErrorReport="$(ErrorReport)"
|
| Features="$(Features)"
|
| InterceptorsNamespaces="$(InterceptorsNamespaces)"
|
| InterceptorsPreviewNamespaces="$(InterceptorsPreviewNamespaces)"
|
| FileAlignment="$(FileAlignment)"
|
| GeneratedFilesOutputPath="$(CompilerGeneratedFilesOutputPath)"
|
| GenerateFullPaths="$(GenerateFullPaths)"
|
| HighEntropyVA="$(HighEntropyVA)"
|
| Instrument="$(Instrument)"
|
| KeyContainer="$(KeyContainerName)"
|
| KeyFile="$(KeyOriginatorFile)"
|
| LangVersion="$(LangVersion)"
|
| LinkResources="@(LinkResource)"
|
| MainEntryPoint="$(StartupObject)"
|
| ModuleAssemblyName="$(ModuleAssemblyName)"
|
| NoConfig="true"
|
| NoLogo="$(NoLogo)"
|
| NoStandardLib="$(NoCompilerStandardLib)"
|
| NoWin32Manifest="$(NoWin32Manifest)"
|
| Nullable="$(Nullable)"
|
| Optimize="$(Optimize)"
|
| Deterministic="$(Deterministic)"
|
| PublicSign="$(PublicSign)"
|
| OutputAssembly="@(IntermediateAssembly)"
|
| OutputRefAssembly="@(IntermediateRefAssembly)"
|
| PdbFile="$(PdbFile)"
|
| Platform="$(PlatformTarget)"
|
| Prefer32Bit="$(Prefer32Bit)"
|
| PreferredUILang="$(PreferredUILang)"
|
| ProjectName="$(MSBuildProjectName)"
|
| ProvideCommandLineArgs="$(ProvideCommandLineArgs)"
|
| References="@(ReferencePathWithRefAssemblies)"
|
| RefOnly="$(ProduceOnlyReferenceAssembly)"
|
| ReportAnalyzer="$(ReportAnalyzer)"
|
| ReportIVTs="$(ReportIVTs)"
|
| Resources="@(_CoreCompileResourceInputs);@(CompiledLicenseFile)"
|
| ResponseFiles="$(CompilerResponseFile)"
|
| RuntimeMetadataVersion="$(RuntimeMetadataVersion)"
|
| SharedCompilationId="$(SharedCompilationId)"
|
| SkipAnalyzers="$(_SkipAnalyzers)"
|
| SkipCompilerExecution="$(SkipCompilerExecution)"
|
| Sources="@(Compile)"
|
| SubsystemVersion="$(SubsystemVersion)"
|
| TargetType="$(OutputType)"
|
| TargetFramework="$(TargetFramework)"
|
| ToolExe="$(CscToolExe)"
|
| ToolPath="$(CscToolPath)"
|
| TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
|
| UseHostCompilerIfAvailable="$(UseHostCompilerIfAvailable)"
|
| UseSharedCompilation="$(UseSharedCompilation)"
|
| Utf8Output="$(Utf8Output)"
|
| VsSessionGuid="$(VsSessionGuid)"
|
| WarningLevel="$(WarningLevel)"
|
| WarningsAsErrors="$(WarningsAsErrors)"
|
| WarningsNotAsErrors="$(WarningsNotAsErrors)"
|
| Win32Icon="$(ApplicationIcon)"
|
| Win32Manifest="$(Win32Manifest)"
|
| Win32Resource="$(Win32Resource)"
|
| PathMap="$(PathMap)"
|
| SourceLink="$(SourceLink)">
|
| <Output TaskParameter="CommandLineArgs" ItemName="CscCommandLineArgs" />
|
| </Csc>
|
|
|
| <ItemGroup>
|
| <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" />
|
| </ItemGroup>
|
|
|
| <CallTarget Targets="$(TargetsTriggeredByCompilation)" Condition="'$(TargetsTriggeredByCompilation)' != ''" />
|
| </Target>
|
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
|
| <PropertyGroup>
|
| <CommandLineArgsForDesignTimeEvaluation>-langversion:$(LangVersion)</CommandLineArgsForDesignTimeEvaluation>
|
| <CommandLineArgsForDesignTimeEvaluation Condition="'$(ChecksumAlgorithm)' != ''">$(CommandLineArgsForDesignTimeEvaluation) -checksumalgorithm:$(ChecksumAlgorithm)</CommandLineArgsForDesignTimeEvaluation>
|
| <CommandLineArgsForDesignTimeEvaluation Condition="'$(DefineConstants)' != ''">$(CommandLineArgsForDesignTimeEvaluation) -define:$(DefineConstants)</CommandLineArgsForDesignTimeEvaluation>
|
| </PropertyGroup>
|
| </Project>
|
|
|