mirror of
https://github.com/ChronosX88/mta-mono.git
synced 2024-11-27 04:32:21 +00:00
124 lines
5.7 KiB
Plaintext
124 lines
5.7 KiB
Plaintext
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||
|
<UsingTask TaskName="Microsoft.Build.Tasks.CreateVisualBasicManifestResourceName" AssemblyName="Microsoft.Build.Tasks, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
|
||
|
<PropertyGroup>
|
||
|
<DefaultLanguageSourceExtension>.vb</DefaultLanguageSourceExtension>
|
||
|
<Language>VB</Language>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<PropertyGroup>
|
||
|
<CreateManifestResourceNamesDependsOn></CreateManifestResourceNamesDependsOn>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<PropertyGroup>
|
||
|
<FinalDefineConstants>CONFIG="$(Configuration)"</FinalDefineConstants>
|
||
|
<FinalDefineConstants Condition=" '$(DefineDebug)' == 'true' ">$(FinalDefineConstants),DEBUG=-1</FinalDefineConstants>
|
||
|
<FinalDefineConstants Condition=" '$(DefineTrace)' == 'true' ">$(FinalDefineConstants),TRACE=-1</FinalDefineConstants>
|
||
|
<FinalDefineConstants Condition=" '$(MyType)' != '' ">$(FinalDefineConstants),_MyType="$(MyType)"</FinalDefineConstants>
|
||
|
<FinalDefineConstants Condition=" '$(Platform)' != '' ">$(FinalDefineConstants),PLATFORM="$(Platform)"</FinalDefineConstants>
|
||
|
<FinalDefineConstants Condition=" '$(Platform)' == '' ">$(FinalDefineConstants),PLATFORM="AnyCPU"</FinalDefineConstants>
|
||
|
<FinalDefineConstants Condition=" '$(DefineConstants)' != '' ">$(FinalDefineConstants),$(DefineConstants)</FinalDefineConstants>
|
||
|
|
||
|
<_NoWarnings Condition=" '$(WarningLevel)' == '0' ">true</_NoWarnings>
|
||
|
<_NoWarnings Condition=" '$(WarningLevel)' == '1' ">false</_NoWarnings>
|
||
|
|
||
|
<DebugSymbols Condition=" '$(DebugType)' == 'none' ">false</DebugSymbols>
|
||
|
<DebugType Condition=" '$(DebugType)' == 'none' "></DebugType>
|
||
|
|
||
|
<CoreCompileDependsOn></CoreCompileDependsOn>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<ItemGroup>
|
||
|
<DocFileItem Include="$(DocumentationFile)" Condition="'$(DocumentationFile)'!=''"/>
|
||
|
</ItemGroup>
|
||
|
|
||
|
<Target
|
||
|
Name="CoreCompile"
|
||
|
Inputs="$(MSBuildAllProjects);@(Compile);@(ManifestResourceWithNoCulture);@(ManifestNonResxWithNoCultureOnDisk);@(CompiledLicenseFile);@(DocFileItem);
|
||
|
$(KeyOriginatorFile);@(ReferencePath);$(Win32Icon);$(Win32Resource)"
|
||
|
Outputs="@(IntermediateAssembly)"
|
||
|
DependsOnTargets="$(CoreCompileDependsOn)"
|
||
|
>
|
||
|
<Vbc
|
||
|
AdditionalLibPaths="$(AdditionalLibPaths)"
|
||
|
AddModules="@(AddModules)"
|
||
|
BaseAddress="$(BaseAddress)"
|
||
|
CodePage="$(CodePage)"
|
||
|
DebugType="$(DebugType)"
|
||
|
DefineConstants="$(FinalDefineConstants)"
|
||
|
DelaySign="$(DelaySign)"
|
||
|
DisabledWarnings="$(NoWarn)"
|
||
|
DocumentationFile="@(DocFileItem)"
|
||
|
EmitDebugInformation="$(DebugSymbols)"
|
||
|
ErrorReport="$(ErrorReport)"
|
||
|
FileAlignment="$(FileAlignment)"
|
||
|
GenerateDocumentation="$(GenerateDocumentation)"
|
||
|
Imports="@(Import)"
|
||
|
KeyContainer="$(KeyContainerName)"
|
||
|
KeyFile="$(KeyOriginatorFile)"
|
||
|
MainEntryPoint="$(StartupObject)"
|
||
|
NoConfig="true"
|
||
|
NoLogo="$(NoLogo)"
|
||
|
NoStandardLib="$(NoStdLib)"
|
||
|
NoWarnings="$(_NoWarnings)"
|
||
|
Optimize="$(Optimize)"
|
||
|
OptionCompare="$(OptionCompare)"
|
||
|
OptionExplicit="$(OptionExplicit)"
|
||
|
OptionStrict="$(OptionStrict)"
|
||
|
OptionStrictType="$(OptionStrictType)"
|
||
|
OutputAssembly="@(IntermediateAssembly)"
|
||
|
Platform="$(PlatformTarget)"
|
||
|
References="@(ResolvedFiles)"
|
||
|
RemoveIntegerChecks="$(RemoveIntegerChecks)"
|
||
|
Resources="@(ManifestResourceWithNoCulture);@(ManifestNonResxWithNoCultureOnDisk);@(CompiledLicenseFile)"
|
||
|
ResponseFiles="$(CompilerResponseFile)"
|
||
|
RootNamespace="$(RootNamespace)"
|
||
|
Sources="@(Compile)"
|
||
|
TargetType="$(OutputType)"
|
||
|
TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
|
||
|
UseHostCompilerIfAvailable="$(UseHostCompilerIfAvailable)"
|
||
|
Utf8Output="$(Utf8Output)"
|
||
|
Verbosity="$(VbcVerbosity)"
|
||
|
WarningsAsErrors="$(WarningsAsErrors)"
|
||
|
WarningsNotAsErrors="$(WarningsNotAsErrors)"
|
||
|
Win32Icon="$(Win32Icon)"
|
||
|
Win32Resource="$(Win32Resource)"
|
||
|
ToolExe="$(VbcToolExe)"
|
||
|
ToolPath="$(VbcToolPath)"
|
||
|
/>
|
||
|
|
||
|
</Target>
|
||
|
|
||
|
<Target Name="CreateManifestResourceNames">
|
||
|
<CreateVisualBasicManifestResourceName Condition="'@(ResxWithNoCulture)' != ''"
|
||
|
ResourceFiles="@(ResxWithNoCulture)" RootNamespace="$(RootNamespace)">
|
||
|
<Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestResourceWithNoCultureName" />
|
||
|
</CreateVisualBasicManifestResourceName>
|
||
|
|
||
|
<CreateVisualBasicManifestResourceName Condition="'@(NonResxWithNoCulture)' != ''"
|
||
|
ResourceFiles="@(NonResxWithNoCulture)" RootNamespace="$(RootNamespace)">
|
||
|
<Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestNonResxWithNoCulture" />
|
||
|
</CreateVisualBasicManifestResourceName>
|
||
|
|
||
|
<CreateVisualBasicManifestResourceName Condition="'@(ResxWithCulture)' != ''"
|
||
|
ResourceFiles="@(ResxWithCulture)" RootNamespace="$(RootNamespace)">
|
||
|
<Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestResourceWithCultureName" />
|
||
|
</CreateVisualBasicManifestResourceName>
|
||
|
|
||
|
<CreateVisualBasicManifestResourceName Condition="'@(NonResxWithCulture)' != ''"
|
||
|
ResourceFiles="@(NonResxWithCulture)" RootNamespace="$(RootNamespace)">
|
||
|
<Output TaskParameter = "ManifestResourceNames" ItemName = "ManifestNonResxWithCulture" />
|
||
|
</CreateVisualBasicManifestResourceName>
|
||
|
</Target>
|
||
|
|
||
|
<Import Project="Microsoft.Common.targets" />
|
||
|
|
||
|
<PropertyGroup>
|
||
|
<VbcToolExe Condition="'$(VbcToolExe)' == '' and '$(TargetFrameworkVersion)' != 'v4.0' and '$(OS)' != 'Windows_NT'">vbnc2</VbcToolExe>
|
||
|
<VbcToolExe Condition="'$(VbcToolExe)' == '' and '$(TargetFrameworkVersion)' != 'v4.0' and '$(OS)' == 'Windows_NT'">vbnc2.bat</VbcToolExe>
|
||
|
|
||
|
<VbcToolExe Condition="'$(VbcToolExe)' == '' and '$(TargetFrameworkVersion)' == 'v4.0' and '$(OS)' != 'Windows_NT'">vbnc</VbcToolExe>
|
||
|
<VbcToolExe Condition="'$(VbcToolExe)' == '' and '$(TargetFrameworkVersion)' == 'v4.0' and '$(OS)' == 'Windows_NT'">vbnc.bat</VbcToolExe>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
</Project>
|