Skip to content

Commit

Permalink
Update sln and MAUI csproj files
Browse files Browse the repository at this point in the history
Includes updates by @Ghander from #153.
  • Loading branch information
dennisreimann committed Mar 6, 2025
1 parent 11981fd commit 7ff8b56
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
14 changes: 13 additions & 1 deletion BTCPayApp.Maui/BTCPayApp.Maui.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<TargetFrameworks>net8.0-ios;net8.0-android;</TargetFrameworks>
<TargetFrameworks>net8.0-android;</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('linux'))">net8.0-android;</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>BTCPayApp.Maui</RootNamespace>
Expand Down Expand Up @@ -40,19 +40,31 @@
<AndroidPackageFormat>apk</AndroidPackageFormat>
<Optimize>False</Optimize>
<PublishTrimmed>False</PublishTrimmed>
<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
</PropertyGroup>

<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android' And $(Configuration) == 'Debug'">
<DebugSymbols>True</DebugSymbols>
</PropertyGroup>

<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android' And '$(Configuration)' == 'Release'">
<DebugSymbols>False</DebugSymbols>
<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
<AndroidKeyStore>True</AndroidKeyStore>
<AndroidSigningKeyStore>../btcpayapp.keystore</AndroidSigningKeyStore>
<AndroidSigningKeyAlias>btcpayapp</AndroidSigningKeyAlias>
<AndroidSigningKeyPass>env:ANDROID_SIGNING_PASSWORD</AndroidSigningKeyPass>
<AndroidSigningStorePass>env:ANDROID_SIGNING_PASSWORD</AndroidSigningStorePass>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-android|AnyCPU'">
<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-android|AnyCPU'">
<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
<DebugSymbols>False</DebugSymbols>
<AndroidKeyStore>False</AndroidKeyStore>
</PropertyGroup>

<ItemGroup>
Expand Down
10 changes: 9 additions & 1 deletion BTCPayApp.sln
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.12.35707.178 d17.12
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BTCPayApp.UI", "BTCPayApp.UI\BTCPayApp.UI.csproj", "{14A8EF70-7E90-4383-A0F3-7F041AD50173}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BTCPayApp.Server", "BTCPayApp.Server\BTCPayApp.Server.csproj", "{513ECA21-1606-4471-9490-82242B219051}"
Expand Down Expand Up @@ -48,8 +51,10 @@ Global
{513ECA21-1606-4471-9490-82242B219051}.Release|Any CPU.Build.0 = Release|Any CPU
{1FF3372E-435B-4E4D-BBE1-0AB7D8835618}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1FF3372E-435B-4E4D-BBE1-0AB7D8835618}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1FF3372E-435B-4E4D-BBE1-0AB7D8835618}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{1FF3372E-435B-4E4D-BBE1-0AB7D8835618}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1FF3372E-435B-4E4D-BBE1-0AB7D8835618}.Release|Any CPU.Build.0 = Release|Any CPU
{1FF3372E-435B-4E4D-BBE1-0AB7D8835618}.Release|Any CPU.Deploy.0 = Release|Any CPU
{07DFC925-715E-4A7C-A18E-91949B9CA7F9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{07DFC925-715E-4A7C-A18E-91949B9CA7F9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{07DFC925-715E-4A7C-A18E-91949B9CA7F9}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down Expand Up @@ -99,6 +104,9 @@ Global
{BC5E2FB2-EDF1-40F3-961F-562CE1080D95}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BC5E2FB2-EDF1-40F3-961F-562CE1080D95}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{2464FC73-75E8-4254-A900-2090FB4D1EDD} = {1F7B46F8-2965-48B8-B402-E69A157709C1}
{D1D88DD3-D388-4E26-8B57-C53745418139} = {1F7B46F8-2965-48B8-B402-E69A157709C1}
Expand Down

0 comments on commit 7ff8b56

Please sign in to comment.