| 1 |
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 2 |
<PropertyGroup> |
| 3 |
<DefaultLanguageSourceExtension>.vb</DefaultLanguageSourceExtension> |
| 4 |
<Language>VB</Language> |
| 5 |
</PropertyGroup> |
| 6 |
|
| 7 |
<PropertyGroup> |
| 8 |
<CreateManifestResourceNamesDependsOn></CreateManifestResourceNamesDependsOn> |
| 9 |
</PropertyGroup> |
| 10 |
|
| 11 |
<PropertyGroup> |
| 12 |
<FinalDefineConstants>CONFIG="$(Configuration)"</FinalDefineConstants> |
| 13 |
<FinalDefineConstants Condition=" '$(DefineDebug)' == 'true' ">$(FinalDefineConstants),DEBUG=-1</FinalDefineConstants> |
| 14 |
<FinalDefineConstants Condition=" '$(DefineTrace)' == 'true' ">$(FinalDefineConstants),TRACE=-1</FinalDefineConstants> |
| 15 |
<FinalDefineConstants Condition=" '$(MyType)' != '' ">$(FinalDefineConstants),_MyType="$(MyType)"</FinalDefineConstants> |
| 16 |
<FinalDefineConstants Condition=" '$(Platform)' != '' ">$(FinalDefineConstants),PLATFORM="$(Platform)"</FinalDefineConstants> |
| 17 |
<FinalDefineConstants Condition=" '$(Platform)' == '' ">$(FinalDefineConstants),PLATFORM="AnyCPU"</FinalDefineConstants> |
| 18 |
<FinalDefineConstants Condition=" '$(DefineConstants)' != '' ">$(FinalDefineConstants),$(DefineConstants)</FinalDefineConstants> |
| 19 |
|
| 20 |
<_NoWarnings Condition=" '$(WarningLevel)' == '0' ">true</_NoWarnings> |
| 21 |
<_NoWarnings Condition=" '$(WarningLevel)' == '1' ">false</_NoWarnings> |
| 22 |
|
| 23 |
<DebugSymbols Condition=" '$(DebugType)' == 'none' ">false</DebugSymbols> |
| 24 |
<DebugType Condition=" '$(DebugType)' == 'none' "></DebugType> |
| 25 |
|
| 26 |
<CoreCompileDependsOn></CoreCompileDependsOn> |
| 27 |
</PropertyGroup> |
| 28 |
|
| 29 |
<ItemGroup> |
| 30 |
<DocFileItem Include="$(DocumentationFile)" Condition="'$(DocumentationFile)'!=''"/> |
| 31 |
</ItemGroup> |
| 32 |
|
| 33 |
<Target |
| 34 |
Name="CoreCompile" |
| 35 |
Inputs="$(MSBuildAllProjects);@(Compile);@(ManifestResourceWithNoCulture);@(ManifestNonResxWithNoCultureOnDisk);@(CompiledLicenseFile);@(DocFileItem); |
| 36 |
$(KeyOriginatorFile);@(ReferencePath);$(Win32Icon);$(Win32Resource)" |
| 37 |
Outputs="@(IntermediateAssembly)" |
| 38 |
DependsOnTargets="$(CoreCompileDependsOn)" |
| 39 |
> |
| 40 |
<Vbc |
| 41 |
AdditionalLibPaths="$(AdditionalLibPaths)" |
| 42 |
AddModules="@(AddModules)" |
| 43 |
BaseAddress="$(BaseAddress)" |
| 44 |
CodePage="$(CodePage)" |
| 45 |
DebugType="$(DebugType)" |
| 46 |
DefineConstants="$(FinalDefineConstants)" |
| 47 |
DelaySign="$(DelaySign)" |
| 48 |
DisabledWarnings="$(NoWarn)" |
| 49 |
DocumentationFile="@(DocFileItem)" |
| 50 |
EmitDebugInformation="$(DebugSymbols)" |
| 51 |
ErrorReport="$(ErrorReport)" |
| 52 |
FileAlignment="$(FileAlignment)" |
| 53 |
GenerateDocumentation="$(GenerateDocumentation)" |
| 54 |
Imports="@(Import)" |
| 55 |
KeyContainer="$(KeyContainerName)" |
| 56 |
KeyFile="$(KeyOriginatorFile)" |
| 57 |
MainEntryPoint="$(StartupObject)" |
| 58 |
NoConfig="true" |
| 59 |
NoLogo="$(NoLogo)" |
| 60 |
NoStandardLib="$(NoStdLib)" |
| 61 |
NoWarnings="$(_NoWarnings)" |
| 62 |
Optimize="$(Optimize)" |
| 63 |
OptionCompare="$(OptionCompare)" |
| 64 |
OptionExplicit="$(OptionExplicit)" |
| 65 |
OptionStrict="$(OptionStrict)" |
| 66 |
OptionStrictType="$(OptionStrictType)" |
| 67 |
OptionInfer="$(OptionInfer)" |
| 68 |
OutputAssembly="@(IntermediateAssembly)" |
| 69 |
Platform="$(PlatformTarget)" |
| 70 |
References="@(ReferencePath)" |
| 71 |
RemoveIntegerChecks="$(RemoveIntegerChecks)" |
| 72 |
Resources="@(ManifestResourceWithNoCulture);@(ManifestNonResxWithNoCultureOnDisk);@(CompiledLicenseFile)" |
| 73 |
ResponseFiles="$(CompilerResponseFile)" |
| 74 |
RootNamespace="$(RootNamespace)" |
| 75 |
Sources="@(Compile)" |
| 76 |
TargetType="$(OutputType)" |
| 77 |
TreatWarningsAsErrors="$(TreatWarningsAsErrors)" |
| 78 |
UseHostCompilerIfAvailable="$(UseHostCompilerIfAvailable)" |
| 79 |
Utf8Output="$(Utf8Output)" |
| 80 |
VBRuntime="$(VBRuntime)" |
| 81 |
Verbosity="$(VbcVerbosity)" |
| 82 |
WarningsAsErrors="$(WarningsAsErrors)" |
| 83 |
WarningsNotAsErrors="$(WarningsNotAsErrors)" |
| 84 |
Win32Icon="$(Win32Icon)" |
| 85 |
Win32Resource="$(Win32Resource)" |
| 86 |
ToolExe="$(VbcToolExe)" |
| 87 |
ToolPath="$(VbcToolPath)" |
| 88 |
/> |
| 89 |
|
| 90 |
</Target> |
| 91 |
|
| 92 |
<Target Name="CreateManifestResourceNames"> |
| 93 |
<CreateVisualBasicManifestResourceName Condition="'@(ResxWithNoCulture)' != ''" |
| 94 |
ResourceFiles="@(ResxWithNoCulture)" RootNamespace="$(RootNamespace)"> |
| 95 |
<Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestResourceWithNoCultureName" /> |
| 96 |
</CreateVisualBasicManifestResourceName> |
| 97 |
|
| 98 |
<CreateVisualBasicManifestResourceName Condition="'@(NonResxWithNoCulture)' != ''" |
| 99 |
ResourceFiles="@(NonResxWithNoCulture)" RootNamespace="$(RootNamespace)"> |
| 100 |
<Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestNonResxWithNoCulture" /> |
| 101 |
</CreateVisualBasicManifestResourceName> |
| 102 |
|
| 103 |
<CreateVisualBasicManifestResourceName Condition="'@(ResxWithCulture)' != ''" |
| 104 |
ResourceFiles="@(ResxWithCulture)" RootNamespace="$(RootNamespace)"> |
| 105 |
<Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestResourceWithCultureName" /> |
| 106 |
</CreateVisualBasicManifestResourceName> |
| 107 |
|
| 108 |
<CreateVisualBasicManifestResourceName Condition="'@(NonResxWithCulture)' != ''" |
| 109 |
ResourceFiles="@(NonResxWithCulture)" RootNamespace="$(RootNamespace)"> |
| 110 |
<Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestNonResxWithCulture" /> |
| 111 |
</CreateVisualBasicManifestResourceName> |
| 112 |
</Target> |
| 113 |
|
| 114 |
<Import Project="Microsoft.Common.targets" /> |
| 115 |
|
| 116 |
<PropertyGroup> |
| 117 |
<VbcToolExe Condition="'$(VbcToolExe)' == ''">vbnc.exe</VbcToolExe> |
| 118 |
</PropertyGroup> |
| 119 |
|
| 120 |
</Project> |