diff --git a/BuildTasks/BuildTasks.csproj b/BuildTasks/BuildTasks.csproj index 67280a8..1854b3e 100644 --- a/BuildTasks/BuildTasks.csproj +++ b/BuildTasks/BuildTasks.csproj @@ -10,4 +10,5 @@ + \ No newline at end of file diff --git a/ModernXamlCompiler.sln b/ModernXamlCompiler.sln index 8b072c3..f24c1e0 100644 --- a/ModernXamlCompiler.sln +++ b/ModernXamlCompiler.sln @@ -7,10 +7,12 @@ Project("{13B669BE-BB05-4DDF-9536-439F39A36129}") = "ModernXamlCompiler", "Moder EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Projections", "Projections", "{F3E8B257-26E3-4527-B03D-3302576A2F47}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WinUIProjection", "Projections\WinUI\WinUIProjection.csproj", "{A678867C-D533-49BE-81A5-B0DDE7FEC701}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BuildTasks", "BuildTasks\BuildTasks.csproj", "{8ED633AD-A29E-4919-8F5B-5D564F62BB9B}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WinUIProjectionPackage", "WinUIProjectionPackage\WinUIProjectionPackage.csproj", "{2DA123F8-F6AD-4EE5-9E71-C1E669084CE7}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WinUIProjection", "WinUIProjection\WinUIProjection.csproj", "{D7BD96E1-5F43-495F-8652-B362A7682D40}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -21,20 +23,25 @@ Global {909246B3-1658-4E63-8030-4DB48442248A}.Debug|Any CPU.Build.0 = Debug|Any CPU {909246B3-1658-4E63-8030-4DB48442248A}.Release|Any CPU.ActiveCfg = Release|Any CPU {909246B3-1658-4E63-8030-4DB48442248A}.Release|Any CPU.Build.0 = Release|Any CPU - {A678867C-D533-49BE-81A5-B0DDE7FEC701}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A678867C-D533-49BE-81A5-B0DDE7FEC701}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A678867C-D533-49BE-81A5-B0DDE7FEC701}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A678867C-D533-49BE-81A5-B0DDE7FEC701}.Release|Any CPU.Build.0 = Release|Any CPU {8ED633AD-A29E-4919-8F5B-5D564F62BB9B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8ED633AD-A29E-4919-8F5B-5D564F62BB9B}.Debug|Any CPU.Build.0 = Debug|Any CPU {8ED633AD-A29E-4919-8F5B-5D564F62BB9B}.Release|Any CPU.ActiveCfg = Release|Any CPU {8ED633AD-A29E-4919-8F5B-5D564F62BB9B}.Release|Any CPU.Build.0 = Release|Any CPU + {2DA123F8-F6AD-4EE5-9E71-C1E669084CE7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2DA123F8-F6AD-4EE5-9E71-C1E669084CE7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2DA123F8-F6AD-4EE5-9E71-C1E669084CE7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2DA123F8-F6AD-4EE5-9E71-C1E669084CE7}.Release|Any CPU.Build.0 = Release|Any CPU + {D7BD96E1-5F43-495F-8652-B362A7682D40}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D7BD96E1-5F43-495F-8652-B362A7682D40}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D7BD96E1-5F43-495F-8652-B362A7682D40}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D7BD96E1-5F43-495F-8652-B362A7682D40}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution - {A678867C-D533-49BE-81A5-B0DDE7FEC701} = {F3E8B257-26E3-4527-B03D-3302576A2F47} + {2DA123F8-F6AD-4EE5-9E71-C1E669084CE7} = {F3E8B257-26E3-4527-B03D-3302576A2F47} + {D7BD96E1-5F43-495F-8652-B362A7682D40} = {F3E8B257-26E3-4527-B03D-3302576A2F47} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {2F83FCE6-75E2-476C-AA91-770C2F3E16AC} diff --git a/projections/WinUI/README.md b/WinUIProjection/README.md similarity index 97% rename from projections/WinUI/README.md rename to WinUIProjection/README.md index c4f430d..847481b 100644 --- a/projections/WinUI/README.md +++ b/WinUIProjection/README.md @@ -1,5 +1,5 @@ -# DisposableMemory.ModernNetUAP.WinUI - -Provides WinUI 2 projections and build support on top of DisposableMemory.ModernNetUAP.XamlCompiler. - +# DisposableMemory.ModernNetUAP.WinUI + +Provides WinUI 2 projections and build support on top of DisposableMemory.ModernNetUAP.XamlCompiler. + Also works with the new official .NET 9 UWP support. \ No newline at end of file diff --git a/projections/WinUI/WinUIProjection.csproj b/WinUIProjection/WinUIProjection.csproj similarity index 63% rename from projections/WinUI/WinUIProjection.csproj rename to WinUIProjection/WinUIProjection.csproj index bbe1625..d9ca53d 100644 --- a/projections/WinUI/WinUIProjection.csproj +++ b/WinUIProjection/WinUIProjection.csproj @@ -1,48 +1,36 @@ - - - - - net8.0-windows10.0.19041.0 - enable - enable - true - 10.0.19041.39 - true - - - - DisposableMemory.ModernNetUAP.WinUI - 2.8.6.2 - driver1998 - WinUI 2.x Projections and build support for Modern .NET, requires DisposableMemory.ModernNetUAP.XamlCompiler package. - https://github.com/driver1998/ModernNetUAP.XamlCompiler - MIT - README.md - - - - - - build; buildtransitive; compile; runtime - - - build; buildtransitive; compile; runtime - - - - - - -include Microsoft - - - - - - - - - - - - + + + + + + $(WinUIProjectionPackageVersion) + net8.0-windows10.0.19041.0 + enable + enable + true + 10.0.19041.39 + true + + + + + + build; buildtransitive; compile; runtime + + + build; buildtransitive; compile; runtime + + + + + + -include Microsoft.UI.Xaml + + + + + + + + \ No newline at end of file diff --git a/projections/WinUI/build/DisposableMemory.ModernNetUAP.WinUI.props b/WinUIProjection/build/DisposableMemory.ModernNetUAP.WinUI.props similarity index 58% rename from projections/WinUI/build/DisposableMemory.ModernNetUAP.WinUI.props rename to WinUIProjection/build/DisposableMemory.ModernNetUAP.WinUI.props index 05803b5..44e3ca0 100644 --- a/projections/WinUI/build/DisposableMemory.ModernNetUAP.WinUI.props +++ b/WinUIProjection/build/DisposableMemory.ModernNetUAP.WinUI.props @@ -2,6 +2,7 @@ <_PkgWinUI_Version>2.8.6 - <_PkgWebView2_Version>1.0.1264.42 + <_PkgWebView2_Version>1.0.2839-prerelease + true diff --git a/WinUIProjectionPackage/PackageVersion.props b/WinUIProjectionPackage/PackageVersion.props new file mode 100644 index 0000000..98f0d95 --- /dev/null +++ b/WinUIProjectionPackage/PackageVersion.props @@ -0,0 +1,6 @@ + + + + 2.8.6.3-preview + + diff --git a/WinUIProjectionPackage/WinUIProjectionPackage.csproj b/WinUIProjectionPackage/WinUIProjectionPackage.csproj new file mode 100644 index 0000000..f7d11e6 --- /dev/null +++ b/WinUIProjectionPackage/WinUIProjectionPackage.csproj @@ -0,0 +1,36 @@ + + + + + + net8.0-windows10.0.19041.0 + + + + DisposableMemory.ModernNetUAP.WinUI + $(WinUIProjectionPackageVersion) + driver1998 + WinUI 2.x Projections and build support for Modern .NET. + https://github.com/driver1998/ModernNetUAP.XamlCompiler + MIT + README.md + + + + + + + + + + + + + + Content + all + true + lib/net8.0-windows10.0.19041.0 + + + diff --git a/projections/WinUI/build/DisposableMemory.ModernNetUAP.WinUI.targets b/projections/WinUI/build/DisposableMemory.ModernNetUAP.WinUI.targets deleted file mode 100644 index b14f5b4..0000000 --- a/projections/WinUI/build/DisposableMemory.ModernNetUAP.WinUI.targets +++ /dev/null @@ -1,19 +0,0 @@ - - - - - $([MSBuild]::NormalizeDirectory('$(NuGetPackageRoot)', 'microsoft.web.webview2', '$(_PkgWebView2_Version)')) - - - - - - - - - - - \ No newline at end of file