--- lang: ja-jp breaks: true --- # WPF ModernWPF Samples 2022-08-29 #### `master` ブランチはビルドが通らなかった ```shell= ビルドを開始しました... 1>------ ビルド開始: プロジェクト: ModernWpf, 構成: Debug Any CPU ------ 1>D:\xxxxxxxx\ModernWpf\ModernWpf\ModernWpf.csproj(34,14): warning MSB4130: 条件 "'$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '3.0')) and $([MSBuild]::VersionLessThan($(TargetFrameworkVersion), '5.0')) or 1>D:\xxxxxxxx\ModernWpf\ModernWpf\ModernWpf.csproj(34,14): warning MSB4130: '$(TargetFrameworkIdentifier)' == '.NETFramework' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '4.6.1'))" は旧バージョンの MSBuild で正しく評価されていない可能性があります。AND 句と OR 句が意図したとおりの順序で記述されていることを確認してください。この警告が発生しないようにするには、かっこを追加して評価順序を明示してください。 1>プレビュー版の .NET を使用しています。https://aka.ms/dotnet-support-policy をご覧ください 1>プレビュー版の .NET を使用しています。https://aka.ms/dotnet-support-policy をご覧ください 1>C:\Program Files\dotnet\sdk\7.0.100-preview.7.22377.5\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: ターゲット フレームワーク 'netcoreapp3.0' はサポートされていません。今後、セキュリティ更新プログラムを受け取ることはありません。サポート ポリシーの詳細については、https://aka.ms/dotnet-core-support をご覧ください。 1>プレビュー版の .NET を使用しています。https://aka.ms/dotnet-support-policy をご覧ください 1>プレビュー版の .NET を使用しています。https://aka.ms/dotnet-support-policy をご覧ください 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(21,23,21,35): error CS0102: 型 'PInvoke' は既に 'WM_NCHITTEST' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(22,23,22,37): error CS0102: 型 'PInvoke' は既に 'WM_NCMOUSEMOVE' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(23,23,23,39): error CS0102: 型 'PInvoke' は既に 'WM_NCLBUTTONDOWN' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(24,23,24,37): error CS0102: 型 'PInvoke' は既に 'WM_NCLBUTTONUP' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(25,23,25,38): error CS0102: 型 'PInvoke' は既に 'WM_NCMOUSELEAVE' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(26,23,26,31): error CS0102: 型 'PInvoke' は既に 'HTCLIENT' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(27,23,27,34): error CS0102: 型 'PInvoke' は既に 'HTMAXBUTTON' の定義を含んでいます 1>プロジェクト "ModernWpf_kd5hmnco_wpftmp.csproj" のビルドが終了しました -- 失敗。 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(22,23,22,35): error CS0102: 型 'PInvoke' は既に 'WM_NCHITTEST' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(23,23,23,37): error CS0102: 型 'PInvoke' は既に 'WM_NCMOUSEMOVE' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(24,23,24,39): error CS0102: 型 'PInvoke' は既に 'WM_NCLBUTTONDOWN' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(25,23,25,37): error CS0102: 型 'PInvoke' は既に 'WM_NCLBUTTONUP' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(26,23,26,38): error CS0102: 型 'PInvoke' は既に 'WM_NCMOUSELEAVE' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(27,23,27,31): error CS0102: 型 'PInvoke' は既に 'HTCLIENT' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(28,23,28,34): error CS0102: 型 'PInvoke' は既に 'HTMAXBUTTON' の定義を含んでいます 1>プロジェクト "ModernWpf_rjkuw5r2_wpftmp.csproj" のビルドが終了しました -- 失敗。 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(21,23,21,35): error CS0102: 型 'PInvoke' は既に 'WM_NCHITTEST' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(22,23,22,37): error CS0102: 型 'PInvoke' は既に 'WM_NCMOUSEMOVE' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(23,23,23,39): error CS0102: 型 'PInvoke' は既に 'WM_NCLBUTTONDOWN' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(24,23,24,37): error CS0102: 型 'PInvoke' は既に 'WM_NCLBUTTONUP' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(25,23,25,38): error CS0102: 型 'PInvoke' は既に 'WM_NCMOUSELEAVE' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(26,23,26,31): error CS0102: 型 'PInvoke' は既に 'HTCLIENT' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(27,23,27,34): error CS0102: 型 'PInvoke' は既に 'HTMAXBUTTON' の定義を含んでいます 1>プロジェクト "ModernWpf_ycs3kobr_wpftmp.csproj" のビルドが終了しました -- 失敗。 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(21,23,21,35): error CS0102: 型 'PInvoke' は既に 'WM_NCHITTEST' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(22,23,22,37): error CS0102: 型 'PInvoke' は既に 'WM_NCMOUSEMOVE' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(23,23,23,39): error CS0102: 型 'PInvoke' は既に 'WM_NCLBUTTONDOWN' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(24,23,24,37): error CS0102: 型 'PInvoke' は既に 'WM_NCLBUTTONUP' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(25,23,25,38): error CS0102: 型 'PInvoke' は既に 'WM_NCMOUSELEAVE' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(26,23,26,31): error CS0102: 型 'PInvoke' は既に 'HTCLIENT' の定義を含んでいます 1>D:\xxxxxxxx\ModernWpf\ModernWpf\Microsoft.Windows.CsWin32\Microsoft.Windows.CsWin32.SourceGenerator\Windows.Win32.PInvoke.g.cs(27,23,27,34): error CS0102: 型 'PInvoke' は既に 'HTMAXBUTTON' の定義を含んでいます 1>プロジェクト "ModernWpf_pm43b3dq_wpftmp.csproj" のビルドが終了しました -- 失敗。 1>プロジェクト "ModernWpf.csproj" のビルドが終了しました -- 失敗。 ビルドが取り消されました。 ``` ## ビルドが通った、`v0.9.5` tag で実行 ## DragablzSample ![](https://i.imgur.com/qsJxNxq.png) ## FluentRibbonSample ![](https://i.imgur.com/DRusxy4.png) ![](https://i.imgur.com/xilPseq.png) ![](https://i.imgur.com/Af1Wtz6.png) ## FluentWPFSample ![](https://i.imgur.com/rXRFpFO.png) ![](https://i.imgur.com/qiGryuq.png) ![](https://i.imgur.com/R7EPBb8.png) ## MahAppsSample ![](https://i.imgur.com/XWY2Tnl.png) ![](https://i.imgur.com/3qkpNRR.png) ![](https://i.imgur.com/xOwzZ8b.png) ![](https://i.imgur.com/kEdxfac.png) ![](https://i.imgur.com/egv5RyZ.png) ![](https://i.imgur.com/jJnxx9F.png) ![](https://i.imgur.com/4azzOgL.png) ## MultiThreadingSample ![](https://i.imgur.com/R87GpDI.png) ![](https://i.imgur.com/kwKBou4.png) ## ModernWpf.SampleApp ![](https://i.imgur.com/YvFy8DO.png) ![](https://i.imgur.com/6AhqvAt.png) ###### tags: `WPF` `ModernWPF` `Samples`