From 8121d3191e6dcdb5682625aef1e1f11f75f3411b Mon Sep 17 00:00:00 2001 From: Alex Macocian Date: Fri, 1 Aug 2025 15:38:48 +0200 Subject: [PATCH] Move shared files to shared folder --- WpfExtended.Blazor/WpfExtended.Blazor.csproj | 2 +- .../Extensions/DependencyObjectExtensions.cs | 0 .../DependencyPropertyExtensions.cs | 0 .../Extensions/FrameworkElementExtensions.cs | 0 .../Launch/ExtendedApplication.cs | 0 .../IApplicationLifetimeService.cs | 0 WpfExtended.Shared/WpfExtended.Shared.csproj | 23 +++++++++++++++++++ WpfExtended.sln | 6 +++++ WpfExtended/WpfExtended.csproj | 11 ++------- 9 files changed, 32 insertions(+), 10 deletions(-) rename {WpfExtended => WpfExtended.Shared}/Extensions/DependencyObjectExtensions.cs (100%) rename {WpfExtended => WpfExtended.Shared}/Extensions/DependencyPropertyExtensions.cs (100%) rename {WpfExtended => WpfExtended.Shared}/Extensions/FrameworkElementExtensions.cs (100%) rename {WpfExtended => WpfExtended.Shared}/Launch/ExtendedApplication.cs (100%) rename {WpfExtended => WpfExtended.Shared}/Services/ApplicationLifetime/IApplicationLifetimeService.cs (100%) create mode 100644 WpfExtended.Shared/WpfExtended.Shared.csproj diff --git a/WpfExtended.Blazor/WpfExtended.Blazor.csproj b/WpfExtended.Blazor/WpfExtended.Blazor.csproj index 97b0f86..ca858e0 100644 --- a/WpfExtended.Blazor/WpfExtended.Blazor.csproj +++ b/WpfExtended.Blazor/WpfExtended.Blazor.csproj @@ -20,7 +20,7 @@ - + diff --git a/WpfExtended/Extensions/DependencyObjectExtensions.cs b/WpfExtended.Shared/Extensions/DependencyObjectExtensions.cs similarity index 100% rename from WpfExtended/Extensions/DependencyObjectExtensions.cs rename to WpfExtended.Shared/Extensions/DependencyObjectExtensions.cs diff --git a/WpfExtended/Extensions/DependencyPropertyExtensions.cs b/WpfExtended.Shared/Extensions/DependencyPropertyExtensions.cs similarity index 100% rename from WpfExtended/Extensions/DependencyPropertyExtensions.cs rename to WpfExtended.Shared/Extensions/DependencyPropertyExtensions.cs diff --git a/WpfExtended/Extensions/FrameworkElementExtensions.cs b/WpfExtended.Shared/Extensions/FrameworkElementExtensions.cs similarity index 100% rename from WpfExtended/Extensions/FrameworkElementExtensions.cs rename to WpfExtended.Shared/Extensions/FrameworkElementExtensions.cs diff --git a/WpfExtended/Launch/ExtendedApplication.cs b/WpfExtended.Shared/Launch/ExtendedApplication.cs similarity index 100% rename from WpfExtended/Launch/ExtendedApplication.cs rename to WpfExtended.Shared/Launch/ExtendedApplication.cs diff --git a/WpfExtended/Services/ApplicationLifetime/IApplicationLifetimeService.cs b/WpfExtended.Shared/Services/ApplicationLifetime/IApplicationLifetimeService.cs similarity index 100% rename from WpfExtended/Services/ApplicationLifetime/IApplicationLifetimeService.cs rename to WpfExtended.Shared/Services/ApplicationLifetime/IApplicationLifetimeService.cs diff --git a/WpfExtended.Shared/WpfExtended.Shared.csproj b/WpfExtended.Shared/WpfExtended.Shared.csproj new file mode 100644 index 0000000..c636504 --- /dev/null +++ b/WpfExtended.Shared/WpfExtended.Shared.csproj @@ -0,0 +1,23 @@ + + + + net9.0-windows + true + enable + enable + WpfExtended + + + + + + + + + + + + + + + diff --git a/WpfExtended.sln b/WpfExtended.sln index f13132d..0df5d7b 100644 --- a/WpfExtended.sln +++ b/WpfExtended.sln @@ -17,6 +17,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution .github\workflows\ci.yaml = .github\workflows\ci.yaml EndProjectSection EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfExtended.Shared", "WpfExtended.Shared\WpfExtended.Shared.csproj", "{024E4EF3-535E-4371-B2E6-AFBA9812F880}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -39,6 +41,10 @@ Global {F9BEE9F3-E1AC-448D-AA5F-7C7AA67CA683}.Debug|Any CPU.Build.0 = Debug|Any CPU {F9BEE9F3-E1AC-448D-AA5F-7C7AA67CA683}.Release|Any CPU.ActiveCfg = Release|Any CPU {F9BEE9F3-E1AC-448D-AA5F-7C7AA67CA683}.Release|Any CPU.Build.0 = Release|Any CPU + {024E4EF3-535E-4371-B2E6-AFBA9812F880}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {024E4EF3-535E-4371-B2E6-AFBA9812F880}.Debug|Any CPU.Build.0 = Debug|Any CPU + {024E4EF3-535E-4371-B2E6-AFBA9812F880}.Release|Any CPU.ActiveCfg = Release|Any CPU + {024E4EF3-535E-4371-B2E6-AFBA9812F880}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/WpfExtended/WpfExtended.csproj b/WpfExtended/WpfExtended.csproj index 1e8bd22..b0bc1a4 100644 --- a/WpfExtended/WpfExtended.csproj +++ b/WpfExtended/WpfExtended.csproj @@ -82,15 +82,8 @@ http://www.java2s.com/Open-Source/CSharp_Free_Code/Windows_Presentation_Foundati - - - - - - - - - + +