123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <Project>
- <PropertyGroup>
- <CodeAnalysisRuleSet>../Custom.ruleset</CodeAnalysisRuleSet>
- <AvaloniaVersion>11.2.5</AvaloniaVersion>
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" />
- </ItemGroup>
- <ItemGroup>
- <AdditionalFiles Include="$(SolutionDir)/stylecop.json" />
- </ItemGroup>
- <PropertyGroup Condition="$([MSBuild]::IsOsPlatform('Windows')) AND '$(Platform)' == 'x64'">
- <RuntimeIdentifier>win-x64</RuntimeIdentifier>
- </PropertyGroup>
- <PropertyGroup Condition="$([MSBuild]::IsOsPlatform('Windows')) AND '$(Platform)' == 'ARM64'">
- <RuntimeIdentifier>win-arm64</RuntimeIdentifier>
- </PropertyGroup>
- <PropertyGroup Condition="$([MSBuild]::IsOsPlatform('Linux')) AND '$(Platform)' == 'x64'">
- <RuntimeIdentifier>linux-x64</RuntimeIdentifier>
- </PropertyGroup>
- <PropertyGroup Condition="$([MSBuild]::IsOsPlatform('Linux')) AND '$(Platform)' == 'ARM64'">
- <RuntimeIdentifier>linux-arm64</RuntimeIdentifier>
- </PropertyGroup>
- <PropertyGroup Condition="$([MSBuild]::IsOsPlatform('OSX')) AND '$(Platform)' == 'x64'">
- <RuntimeIdentifier>osx-x64</RuntimeIdentifier>
- </PropertyGroup>
- <PropertyGroup Condition="$([MSBuild]::IsOsPlatform('OSX')) AND '$(Platform)' == 'ARM64'">
- <RuntimeIdentifier>osx-arm64</RuntimeIdentifier>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Platform)'=='X64'">
- <PlatformTarget>x64</PlatformTarget>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Platform)'=='ARM64'">
- <PlatformTarget>arm64</PlatformTarget>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)'=='MSIX Debug'">
- <Optimize>false</Optimize>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)'=='MSIX'">
- <DefineConstants>TRACE;RELEASE</DefineConstants>
- <DebugSymbols>False</DebugSymbols>
- <DebugType>None</DebugType>
- <Optimize>true</Optimize>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)'=='Release'">
- <DefineConstants>TRACE;UPDATE</DefineConstants>
- <DebugSymbols>False</DebugSymbols>
- <DebugType>None</DebugType>
- <Optimize>true</Optimize>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)'=='Debug'">
- <DebugType>full</DebugType>
- <DebugSymbols>true</DebugSymbols>
- <WarningLevel>0</WarningLevel>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)'=='Steam'">
- <DefineConstants>TRACE;RELEASE;STEAM</DefineConstants>
- <Optimize>True</Optimize>
- <DebugSymbols>False</DebugSymbols>
- <DebugType>None</DebugType>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)'=='DevSteam'">
- <DefineConstants>TRACE;RELEASE;STEAM</DefineConstants>
- <Optimize>True</Optimize>
- <DebugSymbols>False</DebugSymbols>
- <DebugType>None</DebugType>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)' == 'DevRelease' ">
- <DefineConstants>TRACE;UPDATE;RELEASE</DefineConstants>
- <Optimize>True</Optimize>
- <DebugSymbols>False</DebugSymbols>
- <DebugType>None</DebugType>
- </PropertyGroup>
- <PropertyGroup Condition="'$(RuntimeIdentifier)'=='win-x64'">
- <DefineConstants>$(DefineConstants);WINDOWS</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(RuntimeIdentifier)'=='win-arm64'">
- <DefineConstants>$(DefineConstants);WINDOWS</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(RuntimeIdentifier)'=='linux-x64'">
- <DefineConstants>$(DefineConstants);LINUX</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(RuntimeIdentifier)'=='linux-arm64'">
- <DefineConstants>$(DefineConstants);LINUX</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(RuntimeIdentifier)'=='osx-x64'">
- <DefineConstants>$(DefineConstants);MACOS</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(RuntimeIdentifier)'=='osx-arm64'">
- <DefineConstants>$(DefineConstants);MACOS</DefineConstants>
- </PropertyGroup>
-
- </Project>
|