<Project InitialTargets="_VerifyProperties_" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--=============================================================================================-->
<Import Project="..\..\..\..\Sources\.LEGACY\!CommonHelpers.props" />
<PropertyGroup>
   <Description>LnkConverter utility</Description>
   <Authors>Sergei Y.Kitáev</Authors>
   <Copyright>© Sergei Y.Kitáev, 2014</Copyright>
   <Company>Sergei Y.Kitáev</Company>
   <Version>2021.01.18.0</Version>
   <Product>$(MSBuildProjectName) ($(Platform)/$(Configuration); $(TargetFramework))</Product>
   <Product Condition=" '$(Configuration)' == 'Release' ">$(MSBuildProjectName) ($(Platform); $(TargetFramework))</Product>
   <!--<GenerateAssemblyInfo>false</GenerateAssemblyInfo>-->
   <KeyContainerName>$(DNH_KeyContainerName)</KeyContainerName>
   <SignAssembly />
   <DelaySign />
</PropertyGroup>
<PropertyGroup>
   <_ProductName_>LnkConverter utility</_ProductName_>
   <_ProductTitle_>LnkConverter utility (console app.)</_ProductTitle_>
   <_AssemblyProduct_X64_Debug_>$(MSBuildProjectName) (x64/Debug; $(TargetFramework))</_AssemblyProduct_X64_Debug_>
   <_AssemblyProduct_X64_Release_>$(MSBuildProjectName) (x64; $(TargetFramework))</_AssemblyProduct_X64_Release_>
   <_AssemblyProduct_X86_Debug_>$(MSBuildProjectName) (x86/Debug; $(TargetFramework))</_AssemblyProduct_X86_Debug_>
   <_AssemblyProduct_X86_Release_>$(MSBuildProjectName) (x86; $(TargetFramework))</_AssemblyProduct_X86_Release_>
</PropertyGroup>
<!--=============================================================================================-->
<Import Project="$(MSBuildProjectName).codegen.props" />
<!--=============================================================================================-->
<PropertyGroup>
   <_BinaryRootFolder_>$(MSBuildProjectDirectory)\bin</_BinaryRootFolder_>
   <_ObjectRootFolder_>$(MSBuildProjectDirectory)\obj</_ObjectRootFolder_>

   <_OutputFolder_ />
   <_OutputFolder_ Condition=" '$(_BinaryRootFolder_)' != '' AND '$(Platform)' != '' AND '$(Configuration)' != '' AND '$(TargetFramework)' != '' "
   >$(_BinaryRootFolder_)\$(Platform)\$(Configuration)\$(TargetFramework)</_OutputFolder_>
   <_PublishCfgFolder_ />

   <_VSCacheFolder_>$(MSBuildProjectDirectory)\.vs</_VSCacheFolder_>

   <_RemoveVSCacheFolderOnCleanup_ />
   <!--<_RemoveVSCacheFolderOnCleanup_>False</_RemoveVSCacheFolderOnCleanup_>-->
   <_RemoveVSCacheFolderOnCleanup_ Condition=" '$(_RemoveVSCacheFolderOnCleanup_)' == '' ">true</_RemoveVSCacheFolderOnCleanup_>
</PropertyGroup>
<PropertyGroup>
   <_DotNetHelpersRoot_>$(MSBuildProjectDirectory)\..\..\..\..</_DotNetHelpersRoot_>
   <_DNH_AssemblyReferenceFolder_ Condition=" $(_DotNetHelpersRoot_) != '' ">$(_DotNetHelpersRoot_)\Assemblies\.LEGACY</_DNH_AssemblyReferenceFolder_>
   <_DNH_PlatformAssemblyFolder_ Condition=" '$(Platform)' == 'x64' AND '$(_DNH_AssemblyReferenceFolder_)' != '' "
   >$(_DNH_AssemblyReferenceFolder_)\x64</_DNH_PlatformAssemblyFolder_>
   <_DNH_PlatformAssemblyFolder_ Condition=" '$(Platform)' == 'x86' AND '$(_DNH_AssemblyReferenceFolder_)' != '' "
   >$(_DNH_AssemblyReferenceFolder_)\x86</_DNH_PlatformAssemblyFolder_>
</PropertyGroup>
<PropertyGroup>
   <_PublicDestinationRoot_>$(MSBuildProjectDirectory)\..\Assemblies\LnkConverter</_PublicDestinationRoot_>
   <_PublicDestinationFolder_X64_>$(_PublicDestinationRoot_)\x64</_PublicDestinationFolder_X64_>
   <_PublicDestinationFolder_X86_>$(_PublicDestinationRoot_)\x86</_PublicDestinationFolder_X86_>
   <_PublicDestinationFolder_ />
   <_PublicDestinationFolder_ Condition=" '$(Platform)' == 'x64' ">$(_PublicDestinationFolder_X64_)</_PublicDestinationFolder_>
   <_PublicDestinationFolder_ Condition=" '$(Platform)' == 'x86' ">$(_PublicDestinationFolder_X86_)</_PublicDestinationFolder_>
</PropertyGroup>
<!--=============================================================================================-->

<ItemGroup>
   <_CleanLocal_Folders_
      Condition="Exists('$(_BinaryRootFolder_)')"
      Include="$(_BinaryRootFolder_)" />
   <_CleanLocal_Folders_
      Condition="Exists('$(_ObjectRootFolder_)')"
      Include="$(_ObjectRootFolder_)" />
   <_CleanLocal_Folders_
      Condition=" '$(_RemoveVSCacheFolderOnCleanup_)' == 'true' AND Exists( '$(_VSCacheFolder_)' ) "
      Include="$(_VSCacheFolder_)" />

   <_CleanAll_Files_ Include="@(_CleanLocal_Files_)" />
   <_CleanAll_Folders_ Include="@(_CleanLocal_Folders_)" />

   <_CleanAll_Files_ Condition=" '$(_PublicDestinationFolder_X64_)' != '' " Include="$(_PublicDestinationFolder_X64_)\*" />
   <_CleanAll_Files_ Condition=" '$(_PublicDestinationFolder_X86_)' != '' " Include="$(_PublicDestinationFolder_X86_)\*" />
</ItemGroup>

<ItemGroup>
   <_CopyToOutputFolder_Files_
      Condition=" '$(_DNH_PlatformAssemblyFolder_)' != '' "
      Include="$(_DNH_PlatformAssemblyFolder_)\CommonHelpers.CPP.*" />
</ItemGroup>

<ItemGroup>
   <_CleanPublicDestinationBeforeBuild_Files_ Include="$(_PublicDestinationFolder_)\*" />
</ItemGroup>
<ItemGroup Condition=" '$(_OutputFolder_)' != '' ">
   <_CopyToPublicDestination_Files_ Include="$(_OutputFolder_)\LnkConverter.exe" />
   <_CopyToPublicDestination_Files_ Include="$(_OutputFolder_)\LnkConverter.pdb" />
   <_CopyToPublicDestination_Files_ Include="$(_OutputFolder_)\CommonHelpers.dll" />
   <_CopyToPublicDestination_Files_ Include="$(_OutputFolder_)\CommonHelpers.pdb" />
   <_CopyToPublicDestination_Files_ Include="$(_OutputFolder_)\CommonHelpers.xml" />
   <_CopyToPublicDestination_Files_ Include="$(_OutputFolder_)\CommonHelpers.2.dll" />
   <_CopyToPublicDestination_Files_ Include="$(_OutputFolder_)\CommonHelpers.2.pdb" />
   <_CopyToPublicDestination_Files_ Include="$(_OutputFolder_)\CommonHelpers.2.xml" />
   <_CopyToPublicDestination_Files_ Include="$(_OutputFolder_)\CommonHelpers.Sys.dll" />
   <_CopyToPublicDestination_Files_ Include="$(_OutputFolder_)\CommonHelpers.Sys.pdb" />
   <_CopyToPublicDestination_Files_ Include="$(_OutputFolder_)\CommonHelpers.Sys.xml" />
   <_CopyToPublicDestination_Files_ Include="$(MSBuildProjectDirectory)\LnkConverter.exe.config" />
</ItemGroup>
<ItemGroup>
   <_CopyToPublicDestination_Files_ Include="@(_CopyToOutputFolder_Files_)" />
   <_CopyToPublicDestination_Files_ Include="$(MSBuildProjectDirectory)\LnkConverter.DummyShortcut.bin" />
</ItemGroup>
<!--=============================================================================================-->
<Target Name="_VerifyProperties_">
   <Error Condition=" '$(TargetFramework)' == '' "
          Text="Property &quot;TargetFramework&quot; was not defined." />
   <Error Condition=" '$(Configuration)' == '' "
          Text="Property &quot;Configuration&quot; was not defined." />
<!--
   <Error Condition=" '$(_XProperty_)' == '' "
          Text="Property &quot;_XProperty_&quot; was not defined." />
   <Error
      Condition=" '$(XVariable)' == '' "
      Text="Environment variable &quot;XVariable&quot; was not defined." />
   <Error
      Condition=" '$(XVariable)' == '1' "
      Text="Not defined flag property: &quot;XVariable&quot; (environment variable)." />
-->
</Target>
<!--=============================================================================================-->
</Project>
