2024-02-10 19:20:23 +03:00
|
|
|
<Project>
|
2022-01-03 22:52:20 +03:00
|
|
|
|
|
|
|
<PropertyGroup>
|
2022-11-03 05:58:40 +03:00
|
|
|
<LangVersion>10.0</LangVersion>
|
|
|
|
<PackageProjectUrl>https://github.com/unoplatform/uno.themes</PackageProjectUrl>
|
2022-01-03 22:52:20 +03:00
|
|
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
2022-10-29 05:27:01 +03:00
|
|
|
<UseWinUI Condition="'$(UseWinUI)'==''">false</UseWinUI>
|
2022-11-23 23:58:07 +03:00
|
|
|
|
|
|
|
<!-- Required until xamarin targets are used (defined by MSBuild.SDK.Extras)-->
|
|
|
|
<DisableImplicitFrameworkDefines>false</DisableImplicitFrameworkDefines>
|
2023-07-21 09:13:57 +03:00
|
|
|
<UnoEnableXamlFuzzyMatching>false</UnoEnableXamlFuzzyMatching>
|
2022-01-03 22:52:20 +03:00
|
|
|
</PropertyGroup>
|
2022-11-03 05:58:40 +03:00
|
|
|
|
2022-01-03 22:52:20 +03:00
|
|
|
<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
|
|
|
|
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
|
|
|
|
</PropertyGroup>
|
2022-11-03 05:58:40 +03:00
|
|
|
|
2022-01-03 22:52:20 +03:00
|
|
|
<PropertyGroup>
|
|
|
|
<GeneratePackageOnBuild Condition="'$(Configuration)'=='Release'">true</GeneratePackageOnBuild>
|
|
|
|
<IsTestProject>$(MSBuildProjectName.Contains('Test'))</IsTestProject>
|
|
|
|
<IsSampleProject>$(MSBuildProjectName.Contains('Sample'))</IsSampleProject>
|
2023-10-26 05:24:39 +03:00
|
|
|
<IsMarkupProject>$(MSBuildProjectName.Contains('Markup'))</IsMarkupProject>
|
2022-01-03 22:52:20 +03:00
|
|
|
</PropertyGroup>
|
2022-11-03 05:58:40 +03:00
|
|
|
|
2022-01-03 22:52:20 +03:00
|
|
|
<ItemGroup>
|
|
|
|
<None Include="$(MSBuildThisFileDirectory)build\uno-logo.png" Pack="true" Visible="false" PackagePath="\"/>
|
|
|
|
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="/" />
|
|
|
|
</ItemGroup>
|
2022-11-03 05:58:40 +03:00
|
|
|
|
2024-03-22 23:56:30 +03:00
|
|
|
<ItemGroup Condition="$(MSBuildProjectName.Contains('WinUI'))">
|
|
|
|
<None Include="$(MSBuildProjectDirectory)\build\Package.targets" Pack="true" PackagePath="buildTransitive/$(PackageId).targets" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
2022-01-03 22:52:20 +03:00
|
|
|
<Choose>
|
|
|
|
<When Condition="'$(IsTestProject)' != 'true' and '$(SourceLinkEnabled)' != 'false' and '$(IsSampleProject)' != 'true'">
|
|
|
|
<PropertyGroup>
|
|
|
|
<!-- Optional: Declare that the Repository URL can be published to NuSpec -->
|
|
|
|
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
|
|
|
<!-- Optional: Embed source files that are not tracked by the source control manager to the PDB -->
|
|
|
|
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
|
|
|
<!-- Optional: Include PDB in the built .nupkg -->
|
|
|
|
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
|
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
2024-02-10 19:20:23 +03:00
|
|
|
<PackageReference Include="DotNet.ReproducibleBuilds" PrivateAssets="All" />
|
2022-01-03 22:52:20 +03:00
|
|
|
</ItemGroup>
|
|
|
|
</When>
|
|
|
|
</Choose>
|
|
|
|
|
2024-02-10 19:20:23 +03:00
|
|
|
<!--
|
|
|
|
Adjust the output paths for runtime project in order for those
|
|
|
|
projects to stay in the same folder as the original reference one.
|
|
|
|
-->
|
|
|
|
<PropertyGroup Condition="'$(IsSampleProject)'!='true'">
|
|
|
|
<BaseOutputPath>bin\$(MSBuildProjectName)</BaseOutputPath>
|
|
|
|
<BaseIntermediateOutputPath>obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
|
|
|
|
<DefaultItemExcludes>$(DefaultItemExcludes);obj/**;bin/**</DefaultItemExcludes>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2023-10-26 05:24:39 +03:00
|
|
|
<PropertyGroup Condition="'$(IsMarkupProject)'=='true'">
|
|
|
|
<IsPackable>true</IsPackable>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2024-02-10 19:20:23 +03:00
|
|
|
<PropertyGroup Condition="'$(IsSampleProject)'=='true'">
|
|
|
|
<IsPackable>false</IsPackable>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
<Build_Android>true</Build_Android>
|
|
|
|
<Build_iOS>true</Build_iOS>
|
|
|
|
<Build_MacOS>true</Build_MacOS>
|
|
|
|
<Build_Windows Condition="'$(OS)'=='Windows_NT'">true</Build_Windows>
|
|
|
|
<Build_Windows Condition="'$(OS)'!='Windows_NT'">false</Build_Windows>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2022-10-06 22:19:23 +03:00
|
|
|
<!-- Workaround for https://developercommunity.visualstudio.com/t/XamarinMac-binaries-are-missing-in-173/10164443 -->
|
|
|
|
<ItemGroup Condition="$(TargetFramework.ToLower().StartsWith('xamarinmac')) and '$(Configuration)' == 'Release' and '$(OS)'=='Windows_NT'">
|
|
|
|
<Reference Include="Xamarin.Mac">
|
|
|
|
<HintPath Condition="Exists('C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\Extensions\Xamarin.VisualStudio')">C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\Extensions\Xamarin.VisualStudio\Xamarin.Mac.dll</HintPath>
|
|
|
|
<HintPath Condition="Exists('C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\Extensions\Xamarin.VisualStudio')">C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\Extensions\Xamarin.VisualStudio\Xamarin.Mac.dll</HintPath>
|
|
|
|
<HintPath Condition="Exists('C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\Xamarin.VisualStudio')">C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\Xamarin.VisualStudio\Xamarin.Mac.dll</HintPath>
|
|
|
|
<HintPath Condition="Exists('C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\Extensions\Xamarin.VisualStudio')">C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\Extensions\Xamarin.VisualStudio\Xamarin.Mac.dll</HintPath>
|
|
|
|
</Reference>
|
|
|
|
</ItemGroup>
|
|
|
|
|
2022-10-29 05:27:01 +03:00
|
|
|
<Import Project="PlatformItemGroups.props" />
|
2022-09-14 19:13:01 +03:00
|
|
|
<Import Project="Uno.CrossTargeting.props" />
|
2022-01-03 22:52:20 +03:00
|
|
|
</Project>
|