1 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4 Inputs="$(MSBuildAllProjects);
6 @(_CoreCompileResourceInputs);
8 $(AssemblyOriginatorKeyFile);
10 @(CompiledLicenseFile);
12 @(EmbeddedDocumentation);
15 @(CustomAdditionalCompileInputs);
16 $(ResolvedCodeAnalysisRuleSet)"
17 Outputs="@(DocFileItem);
18 @(IntermediateAssembly);
19 @(_DebugSymbolsIntermediatePath);
21 @(CustomAdditionalCompileOutputs)"
22 Returns="@(VbcCommandLineArgs)"
23 DependsOnTargets="$(CoreCompileDependsOn)"
26 <_NoWarnings Condition=" '$(WarningLevel)' == '0' ">true</_NoWarnings>
27 <_NoWarnings Condition=" '$(WarningLevel)' == '1' ">false</_NoWarnings>
31 <!-- If we are targeting winmdobj we want to specifically the pdbFile property since we do not want it to collide with the output of winmdexp-->
32 <PdbFile Condition="'$(PdbFile)' == '' and '$(OutputType)' == 'winmdobj' and '$(DebugSymbols)' == 'true'">$(IntermediateOutputPath)$(TargetName).compile.pdb</PdbFile>
35 <ItemGroup Condition="'$(TargetingClr2Framework)'=='true'">
41 <!-- Prefer32Bit was introduced in .NET 4.5. Set it to false if we are targeting 4.0 -->
42 <PropertyGroup Condition="('$(TargetFrameworkVersion)' == 'v4.0')">
43 <Prefer32Bit>false</Prefer32Bit>
46 <ItemGroup Condition="('$(AdditionalFileItemNames)' != '')">
47 <AdditionalFileItems Include="$(AdditionalFileItemNames)" />
48 <AdditionalFiles Include="@(%(AdditionalFileItems.Identity))" />
51 <PropertyGroup Condition="'$(UseSharedCompilation)' == ''">
52 <UseSharedCompilation>true</UseSharedCompilation>
55 <!-- Condition is to filter out the _CoreCompileResourceInputs so that it doesn't pass in culture resources to the compiler -->
56 <Vbc Condition=" '%(_CoreCompileResourceInputs.WithCulture)' != 'true' "
57 AdditionalLibPaths="$(AdditionalLibPaths)"
58 AddModules="@(AddModules)"
59 AdditionalFiles="@(AdditionalFiles)"
60 Analyzers="@(Analyzer)"
61 BaseAddress="$(BaseAddress)"
62 CodeAnalysisRuleSet="$(ResolvedCodeAnalysisRuleSet)"
63 CodePage="$(CodePage)"
64 DebugType="$(DebugType)"
65 DefineConstants="$(FinalDefineConstants)"
66 DelaySign="$(DelaySign)"
67 DisabledWarnings="$(NoWarn)"
68 DocumentationFile="@(DocFileItem)"
69 EmitDebugInformation="$(DebugSymbols)"
70 EnvironmentVariables="$(VbcEnvironment)"
71 ErrorLog="$(ErrorLog)"
72 ErrorReport="$(ErrorReport)"
73 Features="$(Features)"
74 FileAlignment="$(FileAlignment)"
75 GenerateDocumentation="$(GenerateDocumentation)"
76 HighEntropyVA="$(HighEntropyVA)"
78 KeyContainer="$(KeyContainerName)"
79 KeyFile="$(KeyOriginatorFile)"
80 LangVersion="$(LangVersion)"
81 LinkResources="@(LinkResource)"
82 MainEntryPoint="$(StartupObject)"
83 ModuleAssemblyName="$(ModuleAssemblyName)"
85 NoStandardLib="$(NoCompilerStandardLib)"
86 NoVBRuntimeReference="$(NoVBRuntimeReference)"
87 NoWarnings="$(_NoWarnings)"
88 NoWin32Manifest="$(NoWin32Manifest)"
89 Optimize="$(Optimize)"
90 Deterministic="$(Deterministic)"
91 PublicSign="$(PublicSign)"
92 OptionCompare="$(OptionCompare)"
93 OptionExplicit="$(OptionExplicit)"
94 OptionInfer="$(OptionInfer)"
95 OptionStrict="$(OptionStrict)"
96 OptionStrictType="$(OptionStrictType)"
97 OutputAssembly="@(IntermediateAssembly)"
98 OverrideToolHost="$(OverrideToolHost)"
100 Platform="$(PlatformTarget)"
101 Prefer32Bit="$(Prefer32Bit)"
102 PreferredUILang="$(PreferredUILang)"
103 ProvideCommandLineArgs="$(ProvideCommandLineArgs)"
104 References="@(ReferencePath)"
105 RemoveIntegerChecks="$(RemoveIntegerChecks)"
106 ReportAnalyzer="$(ReportAnalyzer)"
107 Resources="@(_CoreCompileResourceInputs);@(CompiledLicenseFile)"
108 ResponseFiles="$(CompilerResponseFile)"
109 RootNamespace="$(RootNamespace)"
110 SdkPath="$(FrameworkPathOverride)"
111 SkipCompilerExecution="$(SkipCompilerExecution)"
113 SubsystemVersion="$(SubsystemVersion)"
114 TargetCompactFramework="$(TargetCompactFramework)"
115 TargetType="$(OutputType)"
116 ToolExe="$(VbcToolExe)"
117 ToolPath="$(VbcToolPath)"
118 TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
119 UseHostCompilerIfAvailable="$(UseHostCompilerIfAvailable)"
120 UseSharedCompilation="$(UseSharedCompilation)"
121 Utf8Output="$(Utf8Output)"
122 VBRuntimePath="$(VBRuntimePath)"
123 Verbosity="$(VbcVerbosity)"
124 VsSessionGuid="$(VsSessionGuid)"
125 WarningsAsErrors="$(WarningsAsErrors)"
126 WarningsNotAsErrors="$(WarningsNotAsErrors)"
127 Win32Icon="$(ApplicationIcon)"
128 Win32Manifest="$(Win32Manifest)"
129 Win32Resource="$(Win32Resource)"
130 VBRuntime="$(VBRuntime)"
133 <Output TaskParameter="CommandLineArgs" ItemName="VbcCommandLineArgs" />
136 <_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" />
139 <CallTarget Targets="$(TargetsTriggeredByCompilation)" Condition="'$(TargetsTriggeredByCompilation)' != ''"/>