Skip to content

Commit

Permalink
Added MAUI host. (#21)
Browse files Browse the repository at this point in the history
* Added MAUI host back to build.

* Added workload restore to pipeline.

* Fixed yaml formatting.

* Try to fix build version setting.

* Fixed build.

* Another try.

* Another one.

* Let's goooo

* Again

* SemVer

* FullSemVer

* GITVERSION_FullSemVer

* BUILD_BUILDNUMBER

* Var

* GitVersion.FullSemVer

* Revert

* Exclude android.

* Revert again

* Remove
  • Loading branch information
mgernand authored Sep 16, 2022
1 parent 3ad229d commit 4a722f1
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Fluxera.Extensions.Hosting.sln
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Fluxera.Extensions.Hosting.
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Fluxera.Extensions.Hosting.UnitTests", "tests\Fluxera.Extensions.Hosting.UnitTests\Fluxera.Extensions.Hosting.UnitTests.csproj", "{3E8945B5-D2C4-43D1-80D3-F669052815C2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Fluxera.Extensions.Hosting.Maui", "src\Fluxera.Extensions.Hosting.Maui\Fluxera.Extensions.Hosting.Maui.csproj", "{182D9ACC-CE06-4386-A892-5A7157FEB16A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -83,6 +85,10 @@ Global
{3E8945B5-D2C4-43D1-80D3-F669052815C2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3E8945B5-D2C4-43D1-80D3-F669052815C2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3E8945B5-D2C4-43D1-80D3-F669052815C2}.Release|Any CPU.Build.0 = Release|Any CPU
{182D9ACC-CE06-4386-A892-5A7157FEB16A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{182D9ACC-CE06-4386-A892-5A7157FEB16A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{182D9ACC-CE06-4386-A892-5A7157FEB16A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{182D9ACC-CE06-4386-A892-5A7157FEB16A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -97,6 +103,7 @@ Global
{D0958D89-736C-4304-9280-20AE37E0D871} = {DF28D730-99B3-4811-AAC7-725A73B3F668}
{3E78416A-8F6B-4343-AFA6-930B27574415} = {DF28D730-99B3-4811-AAC7-725A73B3F668}
{3E8945B5-D2C4-43D1-80D3-F669052815C2} = {F18D2D58-282C-4D93-8D9A-3A76CF98F018}
{182D9ACC-CE06-4386-A892-5A7157FEB16A} = {DF28D730-99B3-4811-AAC7-725A73B3F668}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D97BF2AF-6E68-4E88-BF70-773A86E26013}
Expand Down
7 changes: 7 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ stages:
packageType: 'sdk'
version: $(DotNetCoreVersion)
includePreviewVersions: false
# Restore the workloads.
- task: DotNetCoreCLI@2
displayName: 'dotnet workload restore'
inputs:
command: 'custom'
custom: 'workload'
arguments: 'restore'
# Build all projects.
- task: DotNetCoreCLI@2
displayName: 'Build Projects'
Expand Down
16 changes: 16 additions & 0 deletions samples/Samples.sln
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{6D85
Directory.Build.props = Directory.Build.props
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Fluxera.Extensions.Hosting.Maui", "..\src\Fluxera.Extensions.Hosting.Maui\Fluxera.Extensions.Hosting.Maui.csproj", "{AA6520D8-C31D-461E-BBD6-3DE3103A6ED0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MauiApp1", "MauiApp1\MauiApp1.csproj", "{4335A2A5-0602-4EA6-B051-8F9AB86EB1A6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -102,6 +106,16 @@ Global
{22BF38E4-DF0E-4A91-823A-AE9D824760FF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{22BF38E4-DF0E-4A91-823A-AE9D824760FF}.Release|Any CPU.Build.0 = Release|Any CPU
{22BF38E4-DF0E-4A91-823A-AE9D824760FF}.Release|Any CPU.Deploy.0 = Release|Any CPU
{AA6520D8-C31D-461E-BBD6-3DE3103A6ED0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AA6520D8-C31D-461E-BBD6-3DE3103A6ED0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AA6520D8-C31D-461E-BBD6-3DE3103A6ED0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AA6520D8-C31D-461E-BBD6-3DE3103A6ED0}.Release|Any CPU.Build.0 = Release|Any CPU
{4335A2A5-0602-4EA6-B051-8F9AB86EB1A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4335A2A5-0602-4EA6-B051-8F9AB86EB1A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4335A2A5-0602-4EA6-B051-8F9AB86EB1A6}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{4335A2A5-0602-4EA6-B051-8F9AB86EB1A6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4335A2A5-0602-4EA6-B051-8F9AB86EB1A6}.Release|Any CPU.Build.0 = Release|Any CPU
{4335A2A5-0602-4EA6-B051-8F9AB86EB1A6}.Release|Any CPU.Deploy.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -121,6 +135,8 @@ Global
{DE04A7B6-212C-4252-8A7A-E15D2B9CDBDD} = {6D85FEE6-75DA-4351-985D-34FF655DB84C}
{8B261F84-5659-4172-81EE-1DB9F51ABEE1} = {6D85FEE6-75DA-4351-985D-34FF655DB84C}
{22BF38E4-DF0E-4A91-823A-AE9D824760FF} = {6D85FEE6-75DA-4351-985D-34FF655DB84C}
{AA6520D8-C31D-461E-BBD6-3DE3103A6ED0} = {A45137A0-3DE2-4862-BC9E-400B73CC9480}
{4335A2A5-0602-4EA6-B051-8F9AB86EB1A6} = {6D85FEE6-75DA-4351-985D-34FF655DB84C}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {2552514A-A13C-4FFA-B983-2A00C60A72F4}
Expand Down
4 changes: 2 additions & 2 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
</PropertyGroup>

<Target Name="Update Version" BeforeTargets="Build" Condition="'$(TF_BUILD)' == 'true'">
<!--<Target Name="Update Version" BeforeTargets="Build" Condition="'$(TF_BUILD)' == 'true'">
<Message Text="Version = $(GITVERSION_FullSemVer)" Importance="High" />
<Message Text="##vso[build.updatebuildnumber]$(GITVERSION_FullSemVer)" Importance="High" />
</Target>
</Target>-->

</Project>

0 comments on commit 4a722f1

Please sign in to comment.