From 1ac41c989237c71c45900b40849f8232dfef6a52 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Mon, 17 May 2021 19:40:53 +0900 Subject: [PATCH 01/59] fixed #396 --- .../ASPNETWebService/ASPNETWebService/Web.config | 2 +- .../ASPNETWebServiceCore/ASPNETWebServiceCore/appsettings.json | 2 +- .../Infrastructure/ServiceInterface/WCFService/App.config | 2 +- root/programs/CS/Frameworks/Tools/DaoGen_Tool/app.config | 2 +- root/programs/CS/Frameworks/Tools/DaoGen_Tool/appsettings.json | 2 +- .../CS/Samples/2CS_sample/2CSClientWPF_sample/app.config | 2 +- .../CS/Samples/2CS_sample/2CSClientWin_sample/app.config | 2 +- .../CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/app.config | 2 +- root/programs/CS/Samples/2CS_sample/TimeStamp_sample/app.config | 2 +- .../CS/Samples/Bat_sample/RerunnableBatch_sample/app.config | 2 +- .../CS/Samples/Bat_sample/RerunnableBatch_sample2/app.config | 2 +- .../CS/Samples/Bat_sample/RerunnableBatch_sample3/app.config | 2 +- .../CS/Samples/Bat_sample/SimpleBatch_sample/app.config | 2 +- .../WS_sample/WSClient_sample/WSClientWPF_sample/app.config | 2 +- .../WS_sample/WSClient_sample/WSClientWin_sample/app.config | 2 +- .../CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Web.config | 2 +- .../WebApp_sample/WebForms_Sample/WebForms_Sample/Web.config | 2 +- .../Backend/MVC_Sample/MVC_Sample/appsettings.json | 2 +- .../Legacy/2CS_sample/2CSClientWPF_sample/appsettings.json | 2 +- .../Legacy/2CS_sample/2CSClientWin_sample/appsettings.json | 2 +- .../Legacy/2CS_sample/GenDaoAndBatUpd_sample/appsettings.json | 2 +- .../Legacy/2CS_sample/TimeStamp_sample/appsettings.json | 2 +- .../Legacy/Bat_sample/RerunnableBatch_sample/appsettings.json | 2 +- .../Legacy/Bat_sample/RerunnableBatch_sample2/appsettings.json | 2 +- .../Legacy/Bat_sample/RerunnableBatch_sample3/appsettings.json | 2 +- .../Legacy/Bat_sample/SimpleBatch_sample/appsettings.json | 2 +- .../WSClient_sample/WSClientWPF_sample/appsettings.json | 2 +- .../WSClient_sample/WSClientWin_sample/appsettings.json | 2 +- .../ASPNETWebService/ASPNETWebService/Web.config | 2 +- .../Infrastructure/ServiceInterface/WCFService/App.config | 2 +- .../VB/Samples/2CS_sample/2CSClientWPF_sample/app.config | 2 +- .../VB/Samples/2CS_sample/2CSClientWin_sample/app.config | 2 +- .../VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/app.config | 2 +- root/programs/VB/Samples/2CS_sample/TimeStamp_sample/app.config | 2 +- .../VB/Samples/Bat_sample/RerunnableBatch_sample/app.config | 2 +- .../VB/Samples/Bat_sample/RerunnableBatch_sample2/app.config | 2 +- .../VB/Samples/Bat_sample/RerunnableBatch_sample3/app.config | 2 +- .../VB/Samples/Bat_sample/SimpleBatch_sample/app.config | 2 +- .../WS_sample/WSClient_sample/WSClientWPF_sample/app.config | 2 +- .../WS_sample/WSClient_sample/WSClientWin_sample/app.config | 2 +- .../VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Web.config | 2 +- .../WebApp_sample/WebForms_Sample/WebForms_Sample/web.config | 2 +- 42 files changed, 42 insertions(+), 42 deletions(-) diff --git a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Web.config b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Web.config index 797ebe6bd..a2bc5a24c 100644 --- a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Web.config +++ b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Web.config @@ -16,7 +16,7 @@ - + diff --git a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore/appsettings.json b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore/appsettings.json index c4fddfd02..a7b8b8eb6 100644 --- a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore/appsettings.json +++ b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore/appsettings.json @@ -25,7 +25,7 @@ // connectionStrings section "connectionStrings": { - "ConnectionString_SQL": "Data Source=localhost\\sqlexpress;Initial Catalog=Northwind;Integrated Security=True;", + "ConnectionString_SQL": "Data Source=localhost;Initial Catalog=Northwind;User ID=sa;Password=seigi@123;", "ConnectionString_ODBC": "Dsn=odbc_test1", "ConnectionString_ODP": "User Id=SCOTT;Password=tiger;Data Source=localhost/XE;", "ConnectionString_MCN": "Server=localhost;Database=test;User Id=root;Password=seigi@123", diff --git a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/WCFService/App.config b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/WCFService/App.config index 5a573f741..3430a8bc5 100644 --- a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/WCFService/App.config +++ b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/WCFService/App.config @@ -42,7 +42,7 @@ - + diff --git a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/app.config b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/app.config index d171b32a9..2078ff93b 100644 --- a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/app.config +++ b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/app.config @@ -4,7 +4,7 @@ - + diff --git a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/appsettings.json b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/appsettings.json index 92e55d6d8..075cdb0d0 100644 --- a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/appsettings.json +++ b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/appsettings.json @@ -5,7 +5,7 @@ // ★入力項目(初期化) // 接続文字列 - "ConnectionString_SQL": "Data Source=localhost\\sqlexpress;Initial Catalog=Northwind;Integrated Security=True;", + "ConnectionString_SQL": "Data Source=localhost;Initial Catalog=Northwind;User ID=sa;Password=seigi@123;", "ConnectionString_ODBC": "Dsn=odbc_test1", "ConnectionString_ODP": "User Id=SCOTT;Password=tiger;Data Source=localhost/XE;", "ConnectionString_MCN": "Server=localhost;Database=test;User Id=root;Password=seigi@123", diff --git a/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/app.config b/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/app.config index 2e1564550..4f3aa738d 100644 --- a/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/app.config +++ b/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/app.config @@ -5,7 +5,7 @@ - + diff --git a/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/app.config b/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/app.config index 3a82195b4..d77f8b414 100644 --- a/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/app.config +++ b/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/app.config @@ -5,7 +5,7 @@ - + diff --git a/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/app.config b/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/app.config index bc4d130f6..a8622b97c 100644 --- a/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/app.config +++ b/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/app.config @@ -5,7 +5,7 @@ - + diff --git a/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/app.config b/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/app.config index 77bb0678e..a46cd99ee 100644 --- a/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/app.config +++ b/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/app.config @@ -5,7 +5,7 @@ - + diff --git a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/app.config b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/app.config index 1ecc40783..6306e27b8 100644 --- a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/app.config +++ b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/app.config @@ -5,7 +5,7 @@ - + diff --git a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/app.config b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/app.config index 424c150c2..7ce5ee118 100644 --- a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/app.config +++ b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/app.config @@ -5,7 +5,7 @@ - + diff --git a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/app.config b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/app.config index 4e8a58e89..85757be57 100644 --- a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/app.config +++ b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/app.config @@ -5,7 +5,7 @@ - + diff --git a/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/app.config b/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/app.config index f87867ac7..68ae34b1f 100644 --- a/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/app.config +++ b/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/app.config @@ -5,7 +5,7 @@ - + diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/app.config b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/app.config index a3b4f1db5..b0b57716f 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/app.config +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/app.config @@ -66,7 +66,7 @@ - + diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/app.config b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/app.config index ff7de67d9..6891eff5e 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/app.config +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/app.config @@ -78,7 +78,7 @@ - + diff --git a/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Web.config b/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Web.config index c5a15b167..065d0cf87 100644 --- a/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Web.config +++ b/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Web.config @@ -12,7 +12,7 @@ - + diff --git a/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/Web.config b/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/Web.config index cf84579c4..ea44717c3 100644 --- a/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/Web.config +++ b/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/Web.config @@ -14,7 +14,7 @@ - + diff --git a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/appsettings.json b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/appsettings.json index 633e0e40b..d2c87d4ae 100644 --- a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/appsettings.json @@ -1,7 +1,7 @@ { // connectionStrings section "connectionStrings": { - "ConnectionString_SQL": "Data Source=localhost\\sqlexpress;Initial Catalog=Northwind;Integrated Security=True;", + "ConnectionString_SQL": "Data Source=localhost;Initial Catalog=Northwind;User ID=sa;Password=seigi@123;", "ConnectionString_ODBC": "Dsn=odbc_test1", "ConnectionString_ODP": "User Id=SCOTT;Password=tiger;Data Source=localhost/XE;", "ConnectionString_MCN": "Server=localhost;Database=test;User Id=root;Password=seigi@123", diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/appsettings.json index df0f1a607..d3b3a507b 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/appsettings.json @@ -3,7 +3,7 @@ // connectionStrings section "connectionStrings": { // SQL Server / SQL Client用 - "ConnectionString_SQL": "Data Source=localhost\\sqlexpress;Initial Catalog=Northwind;Integrated Security=True;", + "ConnectionString_SQL": "Data Source=localhost;Initial Catalog=Northwind;User ID=sa;Password=seigi@123;", // Multi-DB / ODCB.NET用 "ConnectionString_ODBC": "Dsn=odbc_test1", // Oracle / ODP.NET用 diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/appsettings.json index b8e4882b0..2736ab173 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/appsettings.json @@ -3,7 +3,7 @@ // connectionStrings section "connectionStrings": { // SQL Server / SQL Client用 - "ConnectionString_SQL": "Data Source=localhost\\sqlexpress;Initial Catalog=Northwind;Integrated Security=True;", + "ConnectionString_SQL": "Data Source=localhost;Initial Catalog=Northwind;User ID=sa;Password=seigi@123;", // Multi-DB / ODCB.NET用 "ConnectionString_ODBC": "Dsn=odbc_test1", // Oracle / ODP.NET用 diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/appsettings.json index 75817e64f..26498532e 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/appsettings.json @@ -3,7 +3,7 @@ // connectionStrings section "connectionStrings": { // SQL Server / SQL Client用 - "ConnectionString_SQL": "Data Source=localhost\\sqlexpress;Initial Catalog=Northwind;Integrated Security=True;" + "ConnectionString_SQL": "Data Source=localhost;Initial Catalog=Northwind;User ID=sa;Password=seigi@123;" }, // appSettings section diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/appsettings.json index 689fe465f..40e6439f7 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/appsettings.json @@ -3,7 +3,7 @@ // connectionStrings section "connectionStrings": { // SQL Server / SQL Client用 - "ConnectionString_SQL": "Data Source=localhost\\sqlexpress;Initial Catalog=Northwind;Integrated Security=True;" + "ConnectionString_SQL": "Data Source=localhost;Initial Catalog=Northwind;User ID=sa;Password=seigi@123;" }, // appSettings section diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/appsettings.json index 8cb408d65..7b45ef3f3 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/appsettings.json @@ -1,6 +1,6 @@ { "connectionStrings": { - "ConnectionString_SQL": "Data Source=localhost\\sqlexpress;Initial Catalog=Northwind;Integrated Security=True;", + "ConnectionString_SQL": "Data Source=localhost;Initial Catalog=Northwind;User ID=sa;Password=seigi@123;", "ConnectionString_ODBC": "Dsn=odbc_test1", "ConnectionString_ODP": "User Id=SCOTT;Password=tiger;Data Source=localhost/XE;", "ConnectionString_MCN": "Server=localhost;Database=test;User Id=root;Password=seigi@123", diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/appsettings.json index 8cb408d65..7b45ef3f3 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/appsettings.json @@ -1,6 +1,6 @@ { "connectionStrings": { - "ConnectionString_SQL": "Data Source=localhost\\sqlexpress;Initial Catalog=Northwind;Integrated Security=True;", + "ConnectionString_SQL": "Data Source=localhost;Initial Catalog=Northwind;User ID=sa;Password=seigi@123;", "ConnectionString_ODBC": "Dsn=odbc_test1", "ConnectionString_ODP": "User Id=SCOTT;Password=tiger;Data Source=localhost/XE;", "ConnectionString_MCN": "Server=localhost;Database=test;User Id=root;Password=seigi@123", diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/appsettings.json index 8cb408d65..7b45ef3f3 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/appsettings.json @@ -1,6 +1,6 @@ { "connectionStrings": { - "ConnectionString_SQL": "Data Source=localhost\\sqlexpress;Initial Catalog=Northwind;Integrated Security=True;", + "ConnectionString_SQL": "Data Source=localhost;Initial Catalog=Northwind;User ID=sa;Password=seigi@123;", "ConnectionString_ODBC": "Dsn=odbc_test1", "ConnectionString_ODP": "User Id=SCOTT;Password=tiger;Data Source=localhost/XE;", "ConnectionString_MCN": "Server=localhost;Database=test;User Id=root;Password=seigi@123", diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/appsettings.json index 86ed07765..fd03c3516 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/appsettings.json @@ -1,6 +1,6 @@ { "connectionStrings": { - "ConnectionString_SQL": "Data Source=localhost\\sqlexpress;Initial Catalog=Northwind;Integrated Security=True;", + "ConnectionString_SQL": "Data Source=localhost;Initial Catalog=Northwind;User ID=sa;Password=seigi@123;", "ConnectionString_ODBC": "Dsn=odbc_test1", "ConnectionString_ODP": "User Id=SCOTT;Password=tiger;Data Source=localhost/XE;", "ConnectionString_MCN": "Server=localhost;Database=test;User Id=root;Password=seigi@123", diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/appsettings.json index 335da6f14..7cd9e470c 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/appsettings.json @@ -59,7 +59,7 @@ // connectionStrings section "connectionStrings": { // SQL Server / SQL Client用 - "ConnectionString_SQL": "Data Source=localhost\\sqlexpress;Initial Catalog=Northwind;Integrated Security=True;", + "ConnectionString_SQL": "Data Source=localhost;Initial Catalog=Northwind;User ID=sa;Password=seigi@123;", // Multi-DB / ODCB.NET用 "ConnectionString_ODBC": "Dsn=odbc_test1", // Oracle / ODP.NET用 diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/appsettings.json index 0e4d3fb02..d7e4626a9 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/appsettings.json @@ -74,7 +74,7 @@ // connectionStrings section "connectionStrings": { // SQL Server / SQL Client用 - "ConnectionString_SQL": "Data Source=localhost\\sqlexpress;Initial Catalog=Northwind;Integrated Security=True;", + "ConnectionString_SQL": "Data Source=localhost;Initial Catalog=Northwind;User ID=sa;Password=seigi@123;", // Multi-DB / ODCB.NET用 "ConnectionString_ODBC": "Dsn=odbc_test1", // Oracle / ODP.NET用 diff --git a/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Web.config b/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Web.config index 797ebe6bd..a2bc5a24c 100644 --- a/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Web.config +++ b/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Web.config @@ -16,7 +16,7 @@ - + diff --git a/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/WCFService/App.config b/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/WCFService/App.config index 8f11d58d9..28387b186 100644 --- a/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/WCFService/App.config +++ b/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/WCFService/App.config @@ -41,7 +41,7 @@ - + diff --git a/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/app.config b/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/app.config index bf1ddced5..4ed8df9af 100644 --- a/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/app.config +++ b/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/app.config @@ -5,7 +5,7 @@ - + diff --git a/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/app.config b/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/app.config index 5acb4fc35..f08c308ca 100644 --- a/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/app.config +++ b/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/app.config @@ -5,7 +5,7 @@ - + diff --git a/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/app.config b/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/app.config index 4267704f1..635cd04c1 100644 --- a/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/app.config +++ b/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/app.config @@ -5,7 +5,7 @@ - + diff --git a/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/app.config b/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/app.config index 6d1635664..e143d016f 100644 --- a/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/app.config +++ b/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/app.config @@ -5,7 +5,7 @@ - + diff --git a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/app.config b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/app.config index e85299ce6..34ea09e91 100644 --- a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/app.config +++ b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/app.config @@ -5,7 +5,7 @@ - + diff --git a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/app.config b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/app.config index 4fbcec7b1..2717f7840 100644 --- a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/app.config +++ b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/app.config @@ -5,7 +5,7 @@ - + diff --git a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/app.config b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/app.config index 63623a353..2a4b84d98 100644 --- a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/app.config +++ b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/app.config @@ -5,7 +5,7 @@ - + diff --git a/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/app.config b/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/app.config index 1b5c24aa2..b90c83aa9 100644 --- a/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/app.config +++ b/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/app.config @@ -5,7 +5,7 @@ - + diff --git a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/app.config b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/app.config index a3b4f1db5..b0b57716f 100644 --- a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/app.config +++ b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/app.config @@ -66,7 +66,7 @@ - + diff --git a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/app.config b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/app.config index e7db09881..60433d9de 100644 --- a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/app.config +++ b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/app.config @@ -80,7 +80,7 @@ - + diff --git a/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Web.config b/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Web.config index 487b69d1e..a3babfe9e 100644 --- a/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Web.config +++ b/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Web.config @@ -12,7 +12,7 @@ - + diff --git a/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/web.config b/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/web.config index 5f4c231f5..48ef5af20 100644 --- a/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/web.config +++ b/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/web.config @@ -14,7 +14,7 @@ - + From 626d073f9a118ad45b4bd3bb8a0bf4e611d6bf29 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Tue, 18 May 2021 18:17:10 +0900 Subject: [PATCH 02/59] fixed #395 --- .../Framework/Transmission/CallController.cs | 25 ++++++++++++------- .../Controllers/FxController.cs | 20 +++++++++++++-- .../Controllers/FxController.cs | 18 ++++++++++++- .../2CSClientWPF_sample.sln | 11 +++++++- .../2CSClientWin_sample.sln | 11 +++++++- 5 files changed, 71 insertions(+), 14 deletions(-) diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs index 62669afb1..691dff1b9 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs @@ -60,6 +60,7 @@ //* 2018/08/04 西野 大介 regionディレクティブのインデントの問題を修正 //* 2018/08/04 西野 大介 HttpClientにpropsの設定値を反映する。 //* 2019/10/01 西野 大介 .NET Standard対応:ASP.NET WebAPI (JSON-RPC)の復元 +//* 2021/05/18 西野 大介 ASP.NET WebAPI(JSON)の例外処理の問題を修正 //********************************************************************************** using System; @@ -767,15 +768,16 @@ public object Invoke(string serviceName, object parameterValue) // 例外処理 WSErrorInfo wsErrorInfo = (WSErrorInfo)BinarySerialize.BytesToObject(ret); - if (wsErrorInfo.ErrorType == FxEnum.ErrorType.BusinessApplicationException) // #18-このコードブロック - { - // 業務例外 - throw new BusinessApplicationException( - wsErrorInfo.ErrorMessageID, - wsErrorInfo.ErrorMessage, - wsErrorInfo.ErrorInformation); - } - else if (wsErrorInfo.ErrorType == FxEnum.ErrorType.BusinessSystemException) + //if (wsErrorInfo.ErrorType == FxEnum.ErrorType.BusinessApplicationException) // #18-このコードブロック + //{ + // // 業務例外 + // throw new BusinessApplicationException( + // wsErrorInfo.ErrorMessageID, + // wsErrorInfo.ErrorMessage, + // wsErrorInfo.ErrorInformation); + //} + //else + if (wsErrorInfo.ErrorType == FxEnum.ErrorType.BusinessSystemException) { // システム例外 throw new BusinessSystemException( @@ -789,6 +791,11 @@ public object Invoke(string serviceName, object parameterValue) wsErrorInfo.ErrorMessageID, wsErrorInfo.ErrorMessage); } + else if (wsErrorInfo.ErrorType == FxEnum.ErrorType.ElseException) + { + // その他、一般的な例外 + throw new Exception(wsErrorInfo.ErrorMessage); + } } #endregion diff --git a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Controllers/FxController.cs b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Controllers/FxController.cs index 1b71fcf72..1ade4c420 100644 --- a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Controllers/FxController.cs +++ b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Controllers/FxController.cs @@ -30,6 +30,7 @@ //* 日時 更新者 内容 //* ---------- ---------------- ------------------------------------------------- //* 2017/08/18 西野 大介 新規作成 +//* 2021/05/18 西野 大介 ASP.NET WebAPI(JSON)の例外処理の問題を修正 //********************************************************************************** using System; @@ -326,6 +327,11 @@ public async Task> DotNETOnlineWebAPI(Dictionary> DotNETOnlineWebAPI(Dictionary> DotNETOnlineWebAPI(Dictionary> DotNETOnlineWebAPI([FromBody] Dict } catch (Exception ex) { + // エラー情報を設定する。 + wsErrorInfo.ErrorType = FxEnum.ErrorType.ElseException; + //wsErrorInfo.ErrorMessageID = fxEx.messageID; + wsErrorInfo.ErrorMessage = ex.Message; + // ログ出力用の情報を保存 errorType = FxEnum.ErrorType.ElseException.ToString(); // 2009/09/15-この行 errorMessageID = "-"; @@ -330,7 +336,10 @@ public async Task> DotNETOnlineWebAPI([FromBody] Dict errorToString = ex.ToString(); - throw; // SoapExceptionになって伝播 + //throw; // SoapExceptionになって伝播しない + + // エラー情報を戻す。 + ret = BinarySerialize.ObjectToBytes(wsErrorInfo); } finally { @@ -359,7 +368,14 @@ public async Task> DotNETOnlineWebAPI([FromBody] Dict returnDic.Add("Return", CustomEncode.ToBase64String(ret)); returnDic.Add("ContextObject", CustomEncode.ToBase64String(contextObject)); + if (returnValueObject != null) + { returnDic.Add("ReturnValueObject", CustomEncode.ToBase64String(returnValueObject)); + } + else + { + returnDic.Add("ReturnValueObject", CustomEncode.ToBase64String(BinarySerialize.ObjectToBytes(""))); + } return returnDic; } diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln index a58a56287..a6aff4d53 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln @@ -3,7 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.29326.143 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2CSClientWPF_sample", "2CSClientWPF_sample.csproj", "{F9737483-DC6C-45D1-8CB7-27138FD76D36}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "2CSClientWPF_sample", "2CSClientWPF_sample.csproj", "{F9737483-DC6C-45D1-8CB7-27138FD76D36}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ASPNETWebServiceCore", "..\..\..\..\Frameworks\Infrastructure\ServiceInterface\ASPNETWebServiceCore\ASPNETWebServiceCore\ASPNETWebServiceCore.csproj", "{3BD336D7-8E84-4856-9EB7-81F4F5A50F41}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -15,8 +17,15 @@ Global {F9737483-DC6C-45D1-8CB7-27138FD76D36}.Debug|Any CPU.Build.0 = Debug|Any CPU {F9737483-DC6C-45D1-8CB7-27138FD76D36}.Release|Any CPU.ActiveCfg = Release|Any CPU {F9737483-DC6C-45D1-8CB7-27138FD76D36}.Release|Any CPU.Build.0 = Release|Any CPU + {3BD336D7-8E84-4856-9EB7-81F4F5A50F41}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3BD336D7-8E84-4856-9EB7-81F4F5A50F41}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3BD336D7-8E84-4856-9EB7-81F4F5A50F41}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3BD336D7-8E84-4856-9EB7-81F4F5A50F41}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {042D9C6D-8D8A-4A5E-89D4-274F3A02DE37} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln index 37733c8b7..2b19a2051 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln @@ -3,7 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.29326.143 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2CSClientWin_sample", "2CSClientWin_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "2CSClientWin_sample", "2CSClientWin_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ASPNETWebServiceCore", "..\..\..\..\Frameworks\Infrastructure\ServiceInterface\ASPNETWebServiceCore\ASPNETWebServiceCore\ASPNETWebServiceCore.csproj", "{37C55C28-A72B-4A15-9A2B-832082D51A5C}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -15,8 +17,15 @@ Global {386EA604-40DB-44A8-87AE-F29B209BA9CF}.Debug|Any CPU.Build.0 = Debug|Any CPU {386EA604-40DB-44A8-87AE-F29B209BA9CF}.Release|Any CPU.ActiveCfg = Release|Any CPU {386EA604-40DB-44A8-87AE-F29B209BA9CF}.Release|Any CPU.Build.0 = Release|Any CPU + {37C55C28-A72B-4A15-9A2B-832082D51A5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {37C55C28-A72B-4A15-9A2B-832082D51A5C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {37C55C28-A72B-4A15-9A2B-832082D51A5C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {37C55C28-A72B-4A15-9A2B-832082D51A5C}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {16589D88-D4B8-4BF4-9F99-ECEAEAD62EC0} + EndGlobalSection EndGlobal From 758923736842ef8663b5fad2f646205d74c328db Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Tue, 18 May 2021 20:30:30 +0900 Subject: [PATCH 03/59] fixed #393 --- .../Framework/Transmission/CallController.cs | 259 ++++++++++-------- 1 file changed, 140 insertions(+), 119 deletions(-) diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs index 691dff1b9..061a02e3e 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs @@ -61,6 +61,7 @@ //* 2018/08/04 西野 大介 HttpClientにpropsの設定値を反映する。 //* 2019/10/01 西野 大介 .NET Standard対応:ASP.NET WebAPI (JSON-RPC)の復元 //* 2021/05/18 西野 大介 ASP.NET WebAPI(JSON)の例外処理の問題を修正 +//* 2021/05/18 西野 大介 SOAP、WebAPIのCookieコンテナ対応 //********************************************************************************** using System; @@ -186,6 +187,15 @@ public object Context #endregion + #region CookieContainer + /// CookieContainer + public CookieContainer CookieContainer + { + set; + get; + } + #endregion + #region Web参照と関連プロパティ #if NETSTD @@ -195,18 +205,6 @@ public object Context /// ASP.NET WebサービスのWeb参照 private Reference WR; - #region プロパティ直接公開 - - - /// Web参照のCookieContainer - public CookieContainer CookieContainer - { - set { this.WR.CookieContainer = value; } - get { return this.WR.CookieContainer; } - } - - #endregion - #endregion #region WCF HTTP WebサービスのWeb参照 @@ -259,6 +257,126 @@ public string WCF_TCPIP_EndPointConfigName #endregion #endif + #region ASPNETWebAPI → HttpClient + + /// ASPNETWebAPIのHttpClients(props毎) + private Dictionary WEB_API  + = new Dictionary(); + + /// インスタンス内をスレッドセーフに + private static object syncObject = new object(); + + /// InitHttpClients + /// Dictionary(string, string) + /// HttpClient + private HttpClient InitHttpClients(Dictionary props) + { + lock (syncObject) + { + string key = JsonConvert.SerializeObject(props); + + if (!this.WEB_API.ContainsKey(key)) + { + // Equivalent to WebRequestHandler in .net Core · Issue #26223 · dotnet/corefx + // https://github.com/dotnet/corefx/issues/26223 + + // 通信用の変数 +#if NETSTD + #region HttpClientHandler + HttpClientHandler handler = new HttpClientHandler(); + if (this.CookieContainer != null) + handler.CookieContainer = this.CookieContainer; + #endregion +#else + #region WebRequestHandler + WebRequestHandler handler = new WebRequestHandler(); + if(this.CookieContainer != null) + handler.CookieContainer = this.CookieContainer; + #endregion +#endif + + #region WASのクライアント認証のセキュリティ資格情報 for WCF + + NetworkCredential nwcWAS = this.CreateCredentials(props); + if (nwcWAS != null) + { + handler.Credentials = nwcWAS; + } + + #endregion + + #region プロキシ経由の要求を行うためのプロキシ情報 + + WebProxy proxy = this.CreateProxy(props); + if (proxy != null) + { + handler.Proxy = proxy; + } + + #endregion + + #region HTTP圧縮の有効・無効(Default:false) + + if (!props.ContainsKey(FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION))// Dic化でnullチェック変更 + { + // XML定義:キーが無い + } + else + { + if (string.IsNullOrEmpty(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])) + { + // XML定義:null or 空文字列 + } + else + { + // XML定義:あり + + bool compress; + + if (Boolean.TryParse(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION], out compress)) + { + // 書式正常 + if (compress) + { + handler.AutomaticDecompression = + DecompressionMethods.GZip | DecompressionMethods.Deflate; + } + } + else + { + // パラメータ・エラー(書式不正) + throw new FrameworkException( + FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[0], + String.Format(FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[1], + FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION + + "=" + props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])); + } + } + } + + #endregion + + #region クライアント証明書、HTTP圧縮、接続グループ.etc + X509Certificate2 x509 = this.CreateX509Certificate(props); + if (x509 != null) + { + handler.ClientCertificates.Add(x509); + } + #endregion + + this.WEB_API.Add(key, new HttpClient(handler)); + } + else + { + // 初期化済み + } + + return this.WEB_API[key]; + } + } + + #endregion + #region プロキシのURL /// プロキシのURL @@ -340,8 +458,6 @@ public object Invoke(string serviceName, object parameterValue) #endregion - #endregion - // 名前解決(プロトコル タイプ) CallController.PRT_NS.NameResolutionProtocolType(serviceName, out protocol); @@ -474,6 +590,10 @@ public object Invoke(string serviceName, object parameterValue) #endregion + #region CookieContainer + WR.CookieContainer = this.CookieContainer; + #endregion + #region その他(固定) // 実行アカウントでのWindows認証の有効・無効(Default:false)。 @@ -489,9 +609,6 @@ public object Invoke(string serviceName, object parameterValue) WR.RequestEncoding = Encoding.GetEncoding(CustomEncode.UTF_8); // #36-この行 // → サービスIFの仕様として「UTF-8」前提で考える。 - // Cookieの有効・無効(Default:null) - WR.CookieContainer = null; // 無効 - // Redirectを受け付けるか、受け付けないか(Default:false) WR.AllowAutoRedirect = false; // 受け付けない @@ -825,6 +942,8 @@ public object Invoke(string serviceName, object parameterValue) } } + #endregion + /// /// ASP.NET WebAPI (JSON-RPC) /// .NETCoreでも利用するため共通化 @@ -841,84 +960,10 @@ private byte[] ASPNETWebAPI( string serviceName, string url, int timeout, Dictionary props, byte[] contextObject, byte[] parameterValueObject, out byte[] returnValueObject) { - // Equivalent to WebRequestHandler in .net Core · Issue #26223 · dotnet/corefx - // https://github.com/dotnet/corefx/issues/26223 - - // 通信用の変数 -#if NETSTD - #region HttpClientHandler - HttpClientHandler handler = new HttpClientHandler(); - #endregion -#else - #region WebRequestHandler - WebRequestHandler handler = new WebRequestHandler(); - #endregion -#endif - - #region WASのクライアント認証のセキュリティ資格情報 for WCF - - NetworkCredential nwcWAS = this.CreateCredentials(props); - if (nwcWAS != null) - { - handler.Credentials = nwcWAS; - } - - #endregion - - #region プロキシ経由の要求を行うためのプロキシ情報 - - WebProxy proxy = this.CreateProxy(props); - if (proxy != null) - { - handler.Proxy = proxy; - } - - #endregion - - #region HTTP圧縮の有効・無効(Default:false) - - if (!props.ContainsKey(FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION))// Dic化でnullチェック変更 - { - // XML定義:キーが無い - } - else - { - if (string.IsNullOrEmpty(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])) - { - // XML定義:null or 空文字列 - } - else - { - // XML定義:あり - - bool compress; - - if (Boolean.TryParse(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION], out compress)) - { - // 書式正常 - if (compress) - { - handler.AutomaticDecompression = - DecompressionMethods.GZip | DecompressionMethods.Deflate; - } - } - else - { - // パラメータ・エラー(書式不正) - throw new FrameworkException( - FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[0], - String.Format(FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[1], - FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION - + "=" + props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])); - } - } - } - - #endregion - #region HttpClient - HttpClient client = new HttpClient(handler); + // HttpClientの初期化 + HttpClient client = this.InitHttpClients(props); HttpRequestMessage httpRequestMessage = null; HttpResponseMessage httpResponseMessage = null; @@ -936,21 +981,12 @@ private byte[] ASPNETWebAPI( Encoding.UTF8, "application/json"), }; - // タイムアウト指定、有り + #region タイムアウト指定、有り if (0 <= timeout) { client.Timeout = TimeSpan.FromSeconds(timeout); } - - #region クライアント証明書、エージェント ヘッダ、接続グループ.etc - - #region クライアント証明書 CERTIFICATE - - X509Certificate2 x509 = this.CreateX509Certificate(props); - if (x509 != null) - { - handler.ClientCertificates.Add(x509); - } + #endregion #endregion @@ -978,21 +1014,6 @@ private byte[] ASPNETWebAPI( #endregion - #region 接続グループ(Default:Empty) - - // - - - #endregion - - #endregion - - // HttpRequestMessage (Headers) - //httpRequestMessage.Headers.Add("Authorization", authHeader); - //httpRequestMessage.Headers.Authorization = new AuthenticationHeaderValue("OAuth", authHeader); - //httpRequestMessage.Headers.ExpectContinue = false; - - #endregion - // 同期呼び出しで実行 httpResponseMessage = client.SendAsync(httpRequestMessage).Result; string result = httpResponseMessage.Content.ReadAsStringAsync().Result; From f6d86bdabbc969f49afe0b74925f5482b28e0010 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Wed, 19 May 2021 02:23:19 +0900 Subject: [PATCH 04/59] Additional commit for #393. --- .../Framework/Transmission/CallController.cs | 377 ++++++++++-------- 1 file changed, 202 insertions(+), 175 deletions(-) diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs index 061a02e3e..2a51c2cfc 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs @@ -198,12 +198,208 @@ public CookieContainer CookieContainer #region Web参照と関連プロパティ + /// インスタンス内をスレッドセーフに + private static object syncObject = new object(); + #if NETSTD #else #region ASP.NET WebサービスのWeb参照 - /// ASP.NET WebサービスのWeb参照 - private Reference WR; + /// ASP.NET WebサービスのWeb参照(props毎) + private Dictionary WEB_REF + = new Dictionary(); + + /// InitReferences + /// string + /// int + /// Dictionary(string, string) + /// Reference + private Reference InitReferences(string url, int timeout, Dictionary props) + { + Reference reference = null; + + lock (syncObject) + { + string key = JsonConvert.SerializeObject(props); + + if (!this.WEB_REF.ContainsKey(key)) + { + reference = new Reference(); + + #region CookieContainer + reference.CookieContainer = this.CookieContainer; + #endregion + + #region その他(固定) + + // 実行アカウントでのWindows認証の有効・無効(Default:false)。 + reference.UseDefaultCredentials = true; // 有効 + + // 事前認証の有効・無効(Default:false)。 + reference.PreAuthenticate = false; // 無効 + // → 認証後の要求でも「WWW-authenticate HTTP」ヘッダーを + // ・ 送信する場合 :true + // ・ それ以外の場合:false + + // Webサービスを要求するときに使用されるEncoding(Default:UTF-8)。 + reference.RequestEncoding = Encoding.GetEncoding(CustomEncode.UTF_8); // #36-この行 + // → サービスIFの仕様として「UTF-8」前提で考える。 + + // Redirectを受け付けるか、受け付けないか(Default:false) + reference.AllowAutoRedirect = false; // 受け付けない + + // SOAP プロトコルのバージョン(Default:Soap11) + // WR.SoapProtocolVersion // 変更しない; + + // NTLM認証で、接続共有の有効・無効(Default:false) + // WR.UnsafeAuthenticatedConnectionSharing // 変更しない; + + // Componentを格納しているIContainer + // WR.Container // 変更しない; + + // ComponentのISite + // WR.Site // 変更しない; + + #endregion + + #region WASのクライアント認証のセキュリティ資格情報 + + NetworkCredential nwcWAS = this.CreateCredentials(props); + if (nwcWAS != null) + { + reference.Credentials = nwcWAS; + } + + #endregion + + #region プロキシ経由の要求を行うためのプロキシ情報 + + WebProxy proxy = this.CreateProxy(props); + if (proxy != null) + { + reference.Proxy = proxy; + } + + #endregion + + #region クライアント証明書、HTTP圧縮、エージェント ヘッダ、接続グループ.etc + + #region クライアント証明書(#z-このregion) + + X509Certificate2 x509 = this.CreateX509Certificate(props); + if (x509 != null) + { + reference.ClientCertificates.Add(x509); + } + + #endregion + + #region HTTP圧縮の有効・無効(Default:false) + + if (!props.ContainsKey(FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION))// Dic化でnullチェック変更 + { + // XML定義:キーが無い + } + else + { + if (string.IsNullOrEmpty(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])) + { + // XML定義:null or 空文字列 + } + else + { + // XML定義:あり + + bool compress; + + if (Boolean.TryParse(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION], out compress)) + { + // 書式正常 + reference.EnableDecompression = compress; + } + else + { + // パラメータ・エラー(書式不正) + throw new FrameworkException( + FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[0], + String.Format(FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[1], + FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION + + "=" + props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])); + } + } + } + + #endregion + + #region ユーザ エージェント ヘッダ値 + + // (Default:MS Web Services Client Protocol number、numberは、CLRのver) + if (!props.ContainsKey(FxLiteral.TRANSMISSION_HTTP_PROP_USER_AGENT))// Dic化でnullチェック変更 + { + // XML定義:キーが無い + } + else + { + if (string.IsNullOrEmpty(props[FxLiteral.TRANSMISSION_HTTP_PROP_USER_AGENT])) + { + // XML定義:null or 空文字列 + } + else + { + // XML定義:あり + reference.UserAgent = props[FxLiteral.TRANSMISSION_HTTP_PROP_USER_AGENT]; // #34-この行 + } + } + + #endregion + + #region 接続グループ(Default:Empty) + + if (!props.ContainsKey(FxLiteral.TRANSMISSION_HTTP_PROP_CONNECTION_GROUP_NAME))// Dic化でnullチェック変更 + { + // XML定義:キーが無い + } + else + { + if (string.IsNullOrEmpty(props[FxLiteral.TRANSMISSION_HTTP_PROP_CONNECTION_GROUP_NAME])) + { + // XML定義:null or 空文字列 + } + else + { + // XML定義:あり + reference.ConnectionGroupName = props[FxLiteral.TRANSMISSION_HTTP_PROP_CONNECTION_GROUP_NAME]; + } + } + + #endregion + + #endregion + + this.WEB_REF.Add(key, reference); + } + else + { + // 初期化済み + } + + reference = this.WEB_REF[key]; + + #region URL、タイムアウト + + // URL + reference.Url = url; + // タイムアウト + if (0 <= timeout) + { + reference.Timeout = timeout * 1000; + } + + #endregion + + return reference; + } + } #endregion @@ -222,10 +418,6 @@ public string WCF_HTTP_EndPointConfigName get; } - #endregion - - #region WCF_HTTP_BindingConfiguration - /// To get/set Binding Configuration of WCF HTTP public string WCF_HTTP_BindingConfiguration { @@ -260,12 +452,9 @@ public string WCF_TCPIP_EndPointConfigName #region ASPNETWebAPI → HttpClient /// ASPNETWebAPIのHttpClients(props毎) - private Dictionary WEB_API  + private Dictionary WEB_API = new Dictionary(); - /// インスタンス内をスレッドセーフに - private static object syncObject = new object(); - /// InitHttpClients /// Dictionary(string, string) /// HttpClient @@ -575,173 +764,11 @@ public object Invoke(string serviceName, object parameterValue) { #region WS-I Basic Profile v1.1、IIS + ASP.NET - // 都度newしても接続はプールされているので、オーバーヘッドは少ない。 - WR = new Reference(); - - #region URL、タイムアウト - - // URL - WR.Url = url; - // タイムアウト - if (0 <= timeout) - { - WR.Timeout = timeout * 1000; - } - - #endregion - - #region CookieContainer - WR.CookieContainer = this.CookieContainer; - #endregion - - #region その他(固定) - - // 実行アカウントでのWindows認証の有効・無効(Default:false)。 - WR.UseDefaultCredentials = true; // 有効 - - // 事前認証の有効・無効(Default:false)。 - WR.PreAuthenticate = false; // 無効 - // → 認証後の要求でも「WWW-authenticate HTTP」ヘッダーを - // ・ 送信する場合 :true - // ・ それ以外の場合:false - - // Webサービスを要求するときに使用されるEncoding(Default:UTF-8)。 - WR.RequestEncoding = Encoding.GetEncoding(CustomEncode.UTF_8); // #36-この行 - // → サービスIFの仕様として「UTF-8」前提で考える。 - - // Redirectを受け付けるか、受け付けないか(Default:false) - WR.AllowAutoRedirect = false; // 受け付けない - - // SOAP プロトコルのバージョン(Default:Soap11) - // WR.SoapProtocolVersion // 変更しない; - - // NTLM認証で、接続共有の有効・無効(Default:false) - // WR.UnsafeAuthenticatedConnectionSharing // 変更しない; - - // Componentを格納しているIContainer - // WR.Container // 変更しない; - - // ComponentのISite - // WR.Site // 変更しない; - - #endregion - - #region WASのクライアント認証のセキュリティ資格情報 - - NetworkCredential nwcWAS = this.CreateCredentials(props); - if (nwcWAS != null) - { - WR.Credentials = nwcWAS; - } - - #endregion - - #region プロキシ経由の要求を行うためのプロキシ情報 - - WebProxy proxy = this.CreateProxy(props); - if (proxy != null) - { - WR.Proxy = proxy; - } - - #endregion - - #region クライアント証明書、HTTP圧縮、エージェント ヘッダ、接続グループ.etc - - #region クライアント証明書(#z-このregion) - - X509Certificate2 x509 = this.CreateX509Certificate(props); - if (x509 != null) - { - WR.ClientCertificates.Add(x509); - } - - #endregion - - #region HTTP圧縮の有効・無効(Default:false) - - if (!props.ContainsKey(FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION))// Dic化でnullチェック変更 - { - // XML定義:キーが無い - } - else - { - if (string.IsNullOrEmpty(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])) - { - // XML定義:null or 空文字列 - } - else - { - // XML定義:あり - - bool compress; - - if (Boolean.TryParse(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION], out compress)) - { - // 書式正常 - WR.EnableDecompression = compress; - } - else - { - // パラメータ・エラー(書式不正) - throw new FrameworkException( - FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[0], - String.Format(FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[1], - FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION - + "=" + props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])); - } - } - } - - #endregion - - #region ユーザ エージェント ヘッダ値 - - // (Default:MS Web Services Client Protocol number、numberは、CLRのver) - if (!props.ContainsKey(FxLiteral.TRANSMISSION_HTTP_PROP_USER_AGENT))// Dic化でnullチェック変更 - { - // XML定義:キーが無い - } - else - { - if (string.IsNullOrEmpty(props[FxLiteral.TRANSMISSION_HTTP_PROP_USER_AGENT])) - { - // XML定義:null or 空文字列 - } - else - { - // XML定義:あり - WR.UserAgent = props[FxLiteral.TRANSMISSION_HTTP_PROP_USER_AGENT]; // #34-この行 - } - } - - #endregion - - #region 接続グループ(Default:Empty) - - if (!props.ContainsKey(FxLiteral.TRANSMISSION_HTTP_PROP_CONNECTION_GROUP_NAME))// Dic化でnullチェック変更 - { - // XML定義:キーが無い - } - else - { - if (string.IsNullOrEmpty(props[FxLiteral.TRANSMISSION_HTTP_PROP_CONNECTION_GROUP_NAME])) - { - // XML定義:null or 空文字列 - } - else - { - // XML定義:あり - WR.ConnectionGroupName = props[FxLiteral.TRANSMISSION_HTTP_PROP_CONNECTION_GROUP_NAME]; - } - } - - #endregion - - #endregion + // Referenceの初期化 + Reference reference = this.InitReferences(url, timeout, props); // 同期呼び出しで実行 - ret = WR.DotNETOnlineWS( + ret = reference.DotNETOnlineWS( serviceName, ref contextObject, parameterValueObject, out returnValueObject); // #x-この行 From a7c8d3cf2b392e3fe431e7ec78ec04dfabdf9b89 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Wed, 19 May 2021 10:46:24 +0900 Subject: [PATCH 05/59] Reverted #393 --- .../Framework/Transmission/CallController.cs | 606 ++++++++---------- 1 file changed, 279 insertions(+), 327 deletions(-) diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs index 2a51c2cfc..8669ce54c 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs @@ -61,7 +61,6 @@ //* 2018/08/04 西野 大介 HttpClientにpropsの設定値を反映する。 //* 2019/10/01 西野 大介 .NET Standard対応:ASP.NET WebAPI (JSON-RPC)の復元 //* 2021/05/18 西野 大介 ASP.NET WebAPI(JSON)の例外処理の問題を修正 -//* 2021/05/18 西野 大介 SOAP、WebAPIのCookieコンテナ対応 //********************************************************************************** using System; @@ -187,220 +186,27 @@ public object Context #endregion - #region CookieContainer - /// CookieContainer - public CookieContainer CookieContainer - { - set; - get; - } - #endregion - #region Web参照と関連プロパティ - /// インスタンス内をスレッドセーフに - private static object syncObject = new object(); - #if NETSTD #else #region ASP.NET WebサービスのWeb参照 - /// ASP.NET WebサービスのWeb参照(props毎) - private Dictionary WEB_REF - = new Dictionary(); - - /// InitReferences - /// string - /// int - /// Dictionary(string, string) - /// Reference - private Reference InitReferences(string url, int timeout, Dictionary props) - { - Reference reference = null; - - lock (syncObject) - { - string key = JsonConvert.SerializeObject(props); - - if (!this.WEB_REF.ContainsKey(key)) - { - reference = new Reference(); - - #region CookieContainer - reference.CookieContainer = this.CookieContainer; - #endregion - - #region その他(固定) - - // 実行アカウントでのWindows認証の有効・無効(Default:false)。 - reference.UseDefaultCredentials = true; // 有効 - - // 事前認証の有効・無効(Default:false)。 - reference.PreAuthenticate = false; // 無効 - // → 認証後の要求でも「WWW-authenticate HTTP」ヘッダーを - // ・ 送信する場合 :true - // ・ それ以外の場合:false - - // Webサービスを要求するときに使用されるEncoding(Default:UTF-8)。 - reference.RequestEncoding = Encoding.GetEncoding(CustomEncode.UTF_8); // #36-この行 - // → サービスIFの仕様として「UTF-8」前提で考える。 - - // Redirectを受け付けるか、受け付けないか(Default:false) - reference.AllowAutoRedirect = false; // 受け付けない - - // SOAP プロトコルのバージョン(Default:Soap11) - // WR.SoapProtocolVersion // 変更しない; - - // NTLM認証で、接続共有の有効・無効(Default:false) - // WR.UnsafeAuthenticatedConnectionSharing // 変更しない; - - // Componentを格納しているIContainer - // WR.Container // 変更しない; - - // ComponentのISite - // WR.Site // 変更しない; - - #endregion - - #region WASのクライアント認証のセキュリティ資格情報 - - NetworkCredential nwcWAS = this.CreateCredentials(props); - if (nwcWAS != null) - { - reference.Credentials = nwcWAS; - } - - #endregion - - #region プロキシ経由の要求を行うためのプロキシ情報 - - WebProxy proxy = this.CreateProxy(props); - if (proxy != null) - { - reference.Proxy = proxy; - } - - #endregion - - #region クライアント証明書、HTTP圧縮、エージェント ヘッダ、接続グループ.etc - - #region クライアント証明書(#z-このregion) - - X509Certificate2 x509 = this.CreateX509Certificate(props); - if (x509 != null) - { - reference.ClientCertificates.Add(x509); - } - - #endregion - - #region HTTP圧縮の有効・無効(Default:false) - - if (!props.ContainsKey(FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION))// Dic化でnullチェック変更 - { - // XML定義:キーが無い - } - else - { - if (string.IsNullOrEmpty(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])) - { - // XML定義:null or 空文字列 - } - else - { - // XML定義:あり - - bool compress; + /// ASP.NET WebサービスのWeb参照 + private Reference WR; - if (Boolean.TryParse(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION], out compress)) - { - // 書式正常 - reference.EnableDecompression = compress; - } - else - { - // パラメータ・エラー(書式不正) - throw new FrameworkException( - FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[0], - String.Format(FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[1], - FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION - + "=" + props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])); - } - } - } - - #endregion - - #region ユーザ エージェント ヘッダ値 - - // (Default:MS Web Services Client Protocol number、numberは、CLRのver) - if (!props.ContainsKey(FxLiteral.TRANSMISSION_HTTP_PROP_USER_AGENT))// Dic化でnullチェック変更 - { - // XML定義:キーが無い - } - else - { - if (string.IsNullOrEmpty(props[FxLiteral.TRANSMISSION_HTTP_PROP_USER_AGENT])) - { - // XML定義:null or 空文字列 - } - else - { - // XML定義:あり - reference.UserAgent = props[FxLiteral.TRANSMISSION_HTTP_PROP_USER_AGENT]; // #34-この行 - } - } - - #endregion - - #region 接続グループ(Default:Empty) - - if (!props.ContainsKey(FxLiteral.TRANSMISSION_HTTP_PROP_CONNECTION_GROUP_NAME))// Dic化でnullチェック変更 - { - // XML定義:キーが無い - } - else - { - if (string.IsNullOrEmpty(props[FxLiteral.TRANSMISSION_HTTP_PROP_CONNECTION_GROUP_NAME])) - { - // XML定義:null or 空文字列 - } - else - { - // XML定義:あり - reference.ConnectionGroupName = props[FxLiteral.TRANSMISSION_HTTP_PROP_CONNECTION_GROUP_NAME]; - } - } - - #endregion - - #endregion - - this.WEB_REF.Add(key, reference); - } - else - { - // 初期化済み - } - - reference = this.WEB_REF[key]; + #region プロパティ直接公開 - #region URL、タイムアウト - // URL - reference.Url = url; - // タイムアウト - if (0 <= timeout) + /// Web参照のCookieContainer + public CookieContainer CookieContainer { - reference.Timeout = timeout * 1000; + set { this.WR.CookieContainer = value; } + get { return this.WR.CookieContainer; } } #endregion - return reference; - } - } - #endregion #region WCF HTTP WebサービスのWeb参照 @@ -418,6 +224,10 @@ public string WCF_HTTP_EndPointConfigName get; } + #endregion + + #region WCF_HTTP_BindingConfiguration + /// To get/set Binding Configuration of WCF HTTP public string WCF_HTTP_BindingConfiguration { @@ -449,123 +259,6 @@ public string WCF_TCPIP_EndPointConfigName #endregion #endif - #region ASPNETWebAPI → HttpClient - - /// ASPNETWebAPIのHttpClients(props毎) - private Dictionary WEB_API - = new Dictionary(); - - /// InitHttpClients - /// Dictionary(string, string) - /// HttpClient - private HttpClient InitHttpClients(Dictionary props) - { - lock (syncObject) - { - string key = JsonConvert.SerializeObject(props); - - if (!this.WEB_API.ContainsKey(key)) - { - // Equivalent to WebRequestHandler in .net Core · Issue #26223 · dotnet/corefx - // https://github.com/dotnet/corefx/issues/26223 - - // 通信用の変数 -#if NETSTD - #region HttpClientHandler - HttpClientHandler handler = new HttpClientHandler(); - if (this.CookieContainer != null) - handler.CookieContainer = this.CookieContainer; - #endregion -#else - #region WebRequestHandler - WebRequestHandler handler = new WebRequestHandler(); - if(this.CookieContainer != null) - handler.CookieContainer = this.CookieContainer; - #endregion -#endif - - #region WASのクライアント認証のセキュリティ資格情報 for WCF - - NetworkCredential nwcWAS = this.CreateCredentials(props); - if (nwcWAS != null) - { - handler.Credentials = nwcWAS; - } - - #endregion - - #region プロキシ経由の要求を行うためのプロキシ情報 - - WebProxy proxy = this.CreateProxy(props); - if (proxy != null) - { - handler.Proxy = proxy; - } - - #endregion - - #region HTTP圧縮の有効・無効(Default:false) - - if (!props.ContainsKey(FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION))// Dic化でnullチェック変更 - { - // XML定義:キーが無い - } - else - { - if (string.IsNullOrEmpty(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])) - { - // XML定義:null or 空文字列 - } - else - { - // XML定義:あり - - bool compress; - - if (Boolean.TryParse(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION], out compress)) - { - // 書式正常 - if (compress) - { - handler.AutomaticDecompression = - DecompressionMethods.GZip | DecompressionMethods.Deflate; - } - } - else - { - // パラメータ・エラー(書式不正) - throw new FrameworkException( - FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[0], - String.Format(FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[1], - FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION - + "=" + props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])); - } - } - } - - #endregion - - #region クライアント証明書、HTTP圧縮、接続グループ.etc - X509Certificate2 x509 = this.CreateX509Certificate(props); - if (x509 != null) - { - handler.ClientCertificates.Add(x509); - } - #endregion - - this.WEB_API.Add(key, new HttpClient(handler)); - } - else - { - // 初期化済み - } - - return this.WEB_API[key]; - } - } - - #endregion - #region プロキシのURL /// プロキシのURL @@ -647,6 +340,8 @@ public object Invoke(string serviceName, object parameterValue) #endregion + #endregion + // 名前解決(プロトコル タイプ) CallController.PRT_NS.NameResolutionProtocolType(serviceName, out protocol); @@ -764,11 +459,172 @@ public object Invoke(string serviceName, object parameterValue) { #region WS-I Basic Profile v1.1、IIS + ASP.NET - // Referenceの初期化 - Reference reference = this.InitReferences(url, timeout, props); + // 都度newしても接続はプールされているので、オーバーヘッドは少ない。 + WR = new Reference(); + + #region URL、タイムアウト + + // URL + WR.Url = url; + // タイムアウト + if (0 <= timeout) + { + WR.Timeout = timeout * 1000; + } + + #endregion + + #region その他(固定) + + // 実行アカウントでのWindows認証の有効・無効(Default:false)。 + WR.UseDefaultCredentials = true; // 有効 + + // 事前認証の有効・無効(Default:false)。 + WR.PreAuthenticate = false; // 無効 + // → 認証後の要求でも「WWW-authenticate HTTP」ヘッダーを + // ・ 送信する場合 :true + // ・ それ以外の場合:false + + // Webサービスを要求するときに使用されるEncoding(Default:UTF-8)。 + WR.RequestEncoding = Encoding.GetEncoding(CustomEncode.UTF_8); // #36-この行 + // → サービスIFの仕様として「UTF-8」前提で考える。 + + // Cookieの有効・無効(Default:null) + WR.CookieContainer = null; // 無効 + + // Redirectを受け付けるか、受け付けないか(Default:false) + WR.AllowAutoRedirect = false; // 受け付けない + + // SOAP プロトコルのバージョン(Default:Soap11) + // WR.SoapProtocolVersion // 変更しない; + + // NTLM認証で、接続共有の有効・無効(Default:false) + // WR.UnsafeAuthenticatedConnectionSharing // 変更しない; + + // Componentを格納しているIContainer + // WR.Container // 変更しない; + + // ComponentのISite + // WR.Site // 変更しない; + + #endregion + + #region WASのクライアント認証のセキュリティ資格情報 + + NetworkCredential nwcWAS = this.CreateCredentials(props); + if (nwcWAS != null) + { + WR.Credentials = nwcWAS; + } + + #endregion + + #region プロキシ経由の要求を行うためのプロキシ情報 + + WebProxy proxy = this.CreateProxy(props); + if (proxy != null) + { + WR.Proxy = proxy; + } + + #endregion + + #region クライアント証明書、HTTP圧縮、エージェント ヘッダ、接続グループ.etc + + #region クライアント証明書(#z-このregion) + + X509Certificate2 x509 = this.CreateX509Certificate(props); + if (x509 != null) + { + WR.ClientCertificates.Add(x509); + } + + #endregion + + #region HTTP圧縮の有効・無効(Default:false) + + if (!props.ContainsKey(FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION))// Dic化でnullチェック変更 + { + // XML定義:キーが無い + } + else + { + if (string.IsNullOrEmpty(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])) + { + // XML定義:null or 空文字列 + } + else + { + // XML定義:あり + + bool compress; + + if (Boolean.TryParse(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION], out compress)) + { + // 書式正常 + WR.EnableDecompression = compress; + } + else + { + // パラメータ・エラー(書式不正) + throw new FrameworkException( + FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[0], + String.Format(FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[1], + FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION + + "=" + props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])); + } + } + } + + #endregion + + #region ユーザ エージェント ヘッダ値 + + // (Default:MS Web Services Client Protocol number、numberは、CLRのver) + if (!props.ContainsKey(FxLiteral.TRANSMISSION_HTTP_PROP_USER_AGENT))// Dic化でnullチェック変更 + { + // XML定義:キーが無い + } + else + { + if (string.IsNullOrEmpty(props[FxLiteral.TRANSMISSION_HTTP_PROP_USER_AGENT])) + { + // XML定義:null or 空文字列 + } + else + { + // XML定義:あり + WR.UserAgent = props[FxLiteral.TRANSMISSION_HTTP_PROP_USER_AGENT]; // #34-この行 + } + } + + #endregion + + #region 接続グループ(Default:Empty) + + if (!props.ContainsKey(FxLiteral.TRANSMISSION_HTTP_PROP_CONNECTION_GROUP_NAME))// Dic化でnullチェック変更 + { + // XML定義:キーが無い + } + else + { + if (string.IsNullOrEmpty(props[FxLiteral.TRANSMISSION_HTTP_PROP_CONNECTION_GROUP_NAME])) + { + // XML定義:null or 空文字列 + } + else + { + // XML定義:あり + WR.ConnectionGroupName = props[FxLiteral.TRANSMISSION_HTTP_PROP_CONNECTION_GROUP_NAME]; + } + } + + #endregion + + #endregion // 同期呼び出しで実行 - ret = reference.DotNETOnlineWS( + ret = WR.DotNETOnlineWS( serviceName, ref contextObject, parameterValueObject, out returnValueObject); // #x-この行 @@ -969,8 +825,6 @@ public object Invoke(string serviceName, object parameterValue) } } - #endregion - /// /// ASP.NET WebAPI (JSON-RPC) /// .NETCoreでも利用するため共通化 @@ -987,10 +841,84 @@ private byte[] ASPNETWebAPI( string serviceName, string url, int timeout, Dictionary props, byte[] contextObject, byte[] parameterValueObject, out byte[] returnValueObject) { + // Equivalent to WebRequestHandler in .net Core · Issue #26223 · dotnet/corefx + // https://github.com/dotnet/corefx/issues/26223 + + // 通信用の変数 +#if NETSTD + #region HttpClientHandler + HttpClientHandler handler = new HttpClientHandler(); + #endregion +#else + #region WebRequestHandler + WebRequestHandler handler = new WebRequestHandler(); + #endregion +#endif + + #region WASのクライアント認証のセキュリティ資格情報 for WCF + + NetworkCredential nwcWAS = this.CreateCredentials(props); + if (nwcWAS != null) + { + handler.Credentials = nwcWAS; + } + + #endregion + + #region プロキシ経由の要求を行うためのプロキシ情報 + + WebProxy proxy = this.CreateProxy(props); + if (proxy != null) + { + handler.Proxy = proxy; + } + + #endregion + + #region HTTP圧縮の有効・無効(Default:false) + + if (!props.ContainsKey(FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION))// Dic化でnullチェック変更 + { + // XML定義:キーが無い + } + else + { + if (string.IsNullOrEmpty(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])) + { + // XML定義:null or 空文字列 + } + else + { + // XML定義:あり + + bool compress; + + if (Boolean.TryParse(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION], out compress)) + { + // 書式正常 + if (compress) + { + handler.AutomaticDecompression = + DecompressionMethods.GZip | DecompressionMethods.Deflate; + } + } + else + { + // パラメータ・エラー(書式不正) + throw new FrameworkException( + FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[0], + String.Format(FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[1], + FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION + + "=" + props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])); + } + } + } + + #endregion + #region HttpClient - // HttpClientの初期化 - HttpClient client = this.InitHttpClients(props); + HttpClient client = new HttpClient(handler); HttpRequestMessage httpRequestMessage = null; HttpResponseMessage httpResponseMessage = null; @@ -1008,12 +936,21 @@ private byte[] ASPNETWebAPI( Encoding.UTF8, "application/json"), }; - #region タイムアウト指定、有り + // タイムアウト指定、有り if (0 <= timeout) { client.Timeout = TimeSpan.FromSeconds(timeout); } - #endregion + + #region クライアント証明書、エージェント ヘッダ、接続グループ.etc + + #region クライアント証明書 CERTIFICATE + + X509Certificate2 x509 = this.CreateX509Certificate(props); + if (x509 != null) + { + handler.ClientCertificates.Add(x509); + } #endregion @@ -1041,6 +978,21 @@ private byte[] ASPNETWebAPI( #endregion + #region 接続グループ(Default:Empty) + + // - + + #endregion + + #endregion + + // HttpRequestMessage (Headers) + //httpRequestMessage.Headers.Add("Authorization", authHeader); + //httpRequestMessage.Headers.Authorization = new AuthenticationHeaderValue("OAuth", authHeader); + //httpRequestMessage.Headers.ExpectContinue = false; + + #endregion + // 同期呼び出しで実行 httpResponseMessage = client.SendAsync(httpRequestMessage).Result; string result = httpResponseMessage.Content.ReadAsStringAsync().Result; From 88ba5ddfb803396636f67d56ec26209a52421c09 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Wed, 19 May 2021 11:11:55 +0900 Subject: [PATCH 06/59] fixed #393 --- .../Framework/Transmission/CallController.cs | 92 +++++++++---------- 1 file changed, 41 insertions(+), 51 deletions(-) diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs index 8669ce54c..51e87109b 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs @@ -61,6 +61,7 @@ //* 2018/08/04 西野 大介 HttpClientにpropsの設定値を反映する。 //* 2019/10/01 西野 大介 .NET Standard対応:ASP.NET WebAPI (JSON-RPC)の復元 //* 2021/05/18 西野 大介 ASP.NET WebAPI(JSON)の例外処理の問題を修正 +//* 2021/05/18 西野 大介 SOAP、WebAPIのCookieコンテナ対応 //********************************************************************************** using System; @@ -186,29 +187,19 @@ public object Context #endregion + #region CookieContainer + /// CookieContainer + public CookieContainer CookieContainer + { + set; + get; + } + #endregion + #region Web参照と関連プロパティ #if NETSTD #else - #region ASP.NET WebサービスのWeb参照 - - /// ASP.NET WebサービスのWeb参照 - private Reference WR; - - #region プロパティ直接公開 - - - /// Web参照のCookieContainer - public CookieContainer CookieContainer - { - set { this.WR.CookieContainer = value; } - get { return this.WR.CookieContainer; } - } - - #endregion - - #endregion - #region WCF HTTP WebサービスのWeb参照 /// WCF HTTP WebサービスのWeb参照 @@ -224,10 +215,6 @@ public string WCF_HTTP_EndPointConfigName get; } - #endregion - - #region WCF_HTTP_BindingConfiguration - /// To get/set Binding Configuration of WCF HTTP public string WCF_HTTP_BindingConfiguration { @@ -301,7 +288,7 @@ public NetworkCredential NetworkCredentialToProxy #endregion - #region インボーク + #region Invoke #region 非同期バージョン @@ -340,8 +327,6 @@ public object Invoke(string serviceName, object parameterValue) #endregion - #endregion - // 名前解決(プロトコル タイプ) CallController.PRT_NS.NameResolutionProtocolType(serviceName, out protocol); @@ -460,16 +445,16 @@ public object Invoke(string serviceName, object parameterValue) #region WS-I Basic Profile v1.1、IIS + ASP.NET // 都度newしても接続はプールされているので、オーバーヘッドは少ない。 - WR = new Reference(); + Reference reference = new Reference(); #region URL、タイムアウト // URL - WR.Url = url; + reference.Url = url; // タイムアウト if (0 <= timeout) { - WR.Timeout = timeout * 1000; + reference.Timeout = timeout * 1000; } #endregion @@ -477,23 +462,22 @@ public object Invoke(string serviceName, object parameterValue) #region その他(固定) // 実行アカウントでのWindows認証の有効・無効(Default:false)。 - WR.UseDefaultCredentials = true; // 有効 + reference.UseDefaultCredentials = true; // 有効 // 事前認証の有効・無効(Default:false)。 - WR.PreAuthenticate = false; // 無効 + reference.PreAuthenticate = false; // 無効 // → 認証後の要求でも「WWW-authenticate HTTP」ヘッダーを // ・ 送信する場合 :true // ・ それ以外の場合:false // Webサービスを要求するときに使用されるEncoding(Default:UTF-8)。 - WR.RequestEncoding = Encoding.GetEncoding(CustomEncode.UTF_8); // #36-この行 - // → サービスIFの仕様として「UTF-8」前提で考える。 + reference.RequestEncoding = Encoding.GetEncoding(CustomEncode.UTF_8); // #36-この行IFの仕様として「UTF-8」前提で考える。 - // Cookieの有効・無効(Default:null) - WR.CookieContainer = null; // 無効 + // Cookieの有効化(Default:null) + reference.CookieContainer = this.CookieContainer; // Redirectを受け付けるか、受け付けないか(Default:false) - WR.AllowAutoRedirect = false; // 受け付けない + reference.AllowAutoRedirect = false; // 受け付けない // SOAP プロトコルのバージョン(Default:Soap11) // WR.SoapProtocolVersion // 変更しない; @@ -514,7 +498,7 @@ public object Invoke(string serviceName, object parameterValue) NetworkCredential nwcWAS = this.CreateCredentials(props); if (nwcWAS != null) { - WR.Credentials = nwcWAS; + reference.Credentials = nwcWAS; } #endregion @@ -524,7 +508,7 @@ public object Invoke(string serviceName, object parameterValue) WebProxy proxy = this.CreateProxy(props); if (proxy != null) { - WR.Proxy = proxy; + reference.Proxy = proxy; } #endregion @@ -536,7 +520,7 @@ public object Invoke(string serviceName, object parameterValue) X509Certificate2 x509 = this.CreateX509Certificate(props); if (x509 != null) { - WR.ClientCertificates.Add(x509); + reference.ClientCertificates.Add(x509); } #endregion @@ -562,7 +546,7 @@ public object Invoke(string serviceName, object parameterValue) if (Boolean.TryParse(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION], out compress)) { // 書式正常 - WR.EnableDecompression = compress; + reference.EnableDecompression = compress; } else { @@ -594,7 +578,7 @@ public object Invoke(string serviceName, object parameterValue) else { // XML定義:あり - WR.UserAgent = props[FxLiteral.TRANSMISSION_HTTP_PROP_USER_AGENT]; // #34-この行 + reference.UserAgent = props[FxLiteral.TRANSMISSION_HTTP_PROP_USER_AGENT]; // #34-この行 } } @@ -615,7 +599,7 @@ public object Invoke(string serviceName, object parameterValue) else { // XML定義:あり - WR.ConnectionGroupName = props[FxLiteral.TRANSMISSION_HTTP_PROP_CONNECTION_GROUP_NAME]; + reference.ConnectionGroupName = props[FxLiteral.TRANSMISSION_HTTP_PROP_CONNECTION_GROUP_NAME]; } } @@ -624,7 +608,7 @@ public object Invoke(string serviceName, object parameterValue) #endregion // 同期呼び出しで実行 - ret = WR.DotNETOnlineWS( + ret = reference.DotNETOnlineWS( serviceName, ref contextObject, parameterValueObject, out returnValueObject); // #x-この行 @@ -825,6 +809,9 @@ public object Invoke(string serviceName, object parameterValue) } } + #endregion + + #region ASPNETWebAPI /// /// ASP.NET WebAPI (JSON-RPC) /// .NETCoreでも利用するため共通化 @@ -841,17 +828,21 @@ private byte[] ASPNETWebAPI( string serviceName, string url, int timeout, Dictionary props, byte[] contextObject, byte[] parameterValueObject, out byte[] returnValueObject) { + #region Handler + // Equivalent to WebRequestHandler in .net Core · Issue #26223 · dotnet/corefx // https://github.com/dotnet/corefx/issues/26223 - - // 通信用の変数 #if NETSTD #region HttpClientHandler HttpClientHandler handler = new HttpClientHandler(); + if (this.CookieContainer != null) + handler.CookieContainer = this.CookieContainer; #endregion #else #region WebRequestHandler WebRequestHandler handler = new WebRequestHandler(); + if (this.CookieContainer != null) + handler.CookieContainer = this.CookieContainer; #endregion #endif @@ -916,6 +907,8 @@ private byte[] ASPNETWebAPI( #endregion + #endregion + #region HttpClient HttpClient client = new HttpClient(handler); @@ -936,11 +929,12 @@ private byte[] ASPNETWebAPI( Encoding.UTF8, "application/json"), }; - // タイムアウト指定、有り + #region タイムアウト if (0 <= timeout) { client.Timeout = TimeSpan.FromSeconds(timeout); } + #endregion #region クライアント証明書、エージェント ヘッダ、接続グループ.etc @@ -986,11 +980,6 @@ private byte[] ASPNETWebAPI( #endregion - // HttpRequestMessage (Headers) - //httpRequestMessage.Headers.Add("Authorization", authHeader); - //httpRequestMessage.Headers.Authorization = new AuthenticationHeaderValue("OAuth", authHeader); - //httpRequestMessage.Headers.ExpectContinue = false; - #endregion // 同期呼び出しで実行 @@ -1004,6 +993,7 @@ private byte[] ASPNETWebAPI( return ret; } + #endregion #region ヘルパー From 2f3fb7992c603b19c340783a3b0b09989e115d9b Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Wed, 19 May 2021 11:14:13 +0900 Subject: [PATCH 07/59] Now, I am fixing #398. --- root/programs/CS/Samples/CLI_sample/DAG_Login_CLI/README.md | 1 + root/programs/CS/Samples/CLI_sample/LIR _Login_CLI/README.md | 1 + 2 files changed, 2 insertions(+) create mode 100644 root/programs/CS/Samples/CLI_sample/DAG_Login_CLI/README.md create mode 100644 root/programs/CS/Samples/CLI_sample/LIR _Login_CLI/README.md diff --git a/root/programs/CS/Samples/CLI_sample/DAG_Login_CLI/README.md b/root/programs/CS/Samples/CLI_sample/DAG_Login_CLI/README.md new file mode 100644 index 000000000..3fdab6ab5 --- /dev/null +++ b/root/programs/CS/Samples/CLI_sample/DAG_Login_CLI/README.md @@ -0,0 +1 @@ +DAG : OAuth 2.0 Device Authorization Grant \ No newline at end of file diff --git a/root/programs/CS/Samples/CLI_sample/LIR _Login_CLI/README.md b/root/programs/CS/Samples/CLI_sample/LIR _Login_CLI/README.md new file mode 100644 index 000000000..92cb873e9 --- /dev/null +++ b/root/programs/CS/Samples/CLI_sample/LIR _Login_CLI/README.md @@ -0,0 +1 @@ +LIR : Loopback Interface Redirection of OAuth 2.0 for Native Apps \ No newline at end of file From 2330d4514518fa5f4dc9f2ebc4070bae7cc311d0 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Thu, 20 May 2021 12:35:37 +0900 Subject: [PATCH 08/59] Now, I am fixing #398. --- .../CLI_sample/Simple_CLI/Simple_CLI.sln | 25 +++ .../Simple_CLI/Simple_CLI/App.config | 6 + .../Simple_CLI/Simple_CLI/Program.cs | 206 ++++++++++++++++++ .../Simple_CLI/Properties/AssemblyInfo.cs | 36 +++ .../Simple_CLI/Simple_CLI/Simple_CLI.csproj | 73 +++++++ 5 files changed, 346 insertions(+) create mode 100644 root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln create mode 100644 root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/App.config create mode 100644 root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs create mode 100644 root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Properties/AssemblyInfo.cs create mode 100644 root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj diff --git a/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln new file mode 100644 index 000000000..d4215eef3 --- /dev/null +++ b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Simple_CLI", "Simple_CLI\Simple_CLI.csproj", "{2F7D1A24-3882-4425-AC49-1E623D19C549}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2F7D1A24-3882-4425-AC49-1E623D19C549}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2F7D1A24-3882-4425-AC49-1E623D19C549}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2F7D1A24-3882-4425-AC49-1E623D19C549}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2F7D1A24-3882-4425-AC49-1E623D19C549}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {13A2C6FB-ED4C-48AA-AC89-679921A6D7B2} + EndGlobalSection +EndGlobal diff --git a/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/App.config b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/App.config new file mode 100644 index 000000000..731f6de6c --- /dev/null +++ b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs new file mode 100644 index 000000000..ad6ed443f --- /dev/null +++ b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs @@ -0,0 +1,206 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +using System.IO; +using System.Threading; +using System.Diagnostics; + +using System.CommandLine; +using System.CommandLine.Invocation; + +using Newtonsoft; +using Newtonsoft.Json; + +namespace Simple_CLI +{ + /// Program + public class Program + { + /// + /// 'async main' は C# 7.1 以上の言語バージョンが必要(→ VS 2019)。 + /// + /// string[] + /// int + static async Task Main(string[] args) + { + #region rootCommand + // Create a root command with some options + Command rootCommand = new RootCommand + { + // alias、default value、description + new Option( + alias: "--int-option", + getDefaultValue: () => 42, + description: "An option whose argument is parsed as an int"), + new Option( + alias: "--bool-option", + description: "An option whose argument is parsed as a bool"), + new Option( + alias: "--file-option", + description: "An option whose argument is parsed as a FileInfo"), + new Option( + alias: "--file-access-option", + getDefaultValue: () => FileAccess.Read, + description: "An option whose argument is parsed as a FileAccess") + }; + + rootCommand.Description = "My sample app"; + + // Note that the parameters of the handler method are matched according to the names of the options + rootCommand.Handler = CommandHandler.Create(Program.RootCommand); + #endregion + + #region subCommand + + #region subCommand1 + Command subCommand1 = new Command(name: "cmd1", description: "Sub command cmd1"); + subCommand1.AddOption(new Option(alias: "--an-int")); + subCommand1.Handler = CommandHandler.Create( + (int anInt) => + { + Console.WriteLine($"Sub command cmd1: {anInt}"); + } + ); + rootCommand.AddCommand(subCommand1); + #endregion + + #region subCommand2 + Command subCommand2 = new Command(name: "cmd2", description: "Sub command cmd2"); + subCommand2.AddOption(new Option(alias: "--a-string")); + subCommand2.Handler = CommandHandler.Create( + (string aString) => + { + Console.WriteLine($"Sub command cmd2: {aString}"); + } + ); + rootCommand.AddCommand(subCommand2); + #endregion + + #region subCommandComplex + Command subCommandComplex = new Command(name: "complex", description: "Sub command complex") + { + new Option("--an-int"), + new Option("--a-string") + }; + subCommandComplex.Handler = CommandHandler.Create((ComplexType complexType) => + { + Console.WriteLine($"Sub command complex: {JsonConvert.SerializeObject(complexType)}"); + }); + rootCommand.AddCommand(subCommandComplex); + #endregion + + #region subCommandDelay + Command subCommandDelay = new Command(name: "delay", description: "Sub command delay"); + subCommandDelay.AddOption(new Option(alias: "--a-string")); + subCommandDelay.Handler = CommandHandler.Create( + async (string aString, IConsole console, CancellationToken token) => + { + Console.WriteLine($"Sub command delay(Ctrl-C terminate): {aString}"); + + try + { + for (int i = 0; i < 10; i++) + { + Console.WriteLine($"Sub command delay: {i}"); + + await Task.Delay(1000, token); + } + + Console.WriteLine("Sub command delay was completed."); + return 0; + } + catch (OperationCanceledException) + { + console.Error.Write("Sub command delay was aborted."); + return 1; + } + } + ); + rootCommand.AddCommand(subCommandDelay); + #endregion + + #endregion + + // テストの実行 + await Program.Test(rootCommand); + + // Parse the incoming args and invoke the handler + return rootCommand.InvokeAsync(args).Result; + } + + #region Command + #region RootCommand + /// RootCommand + /// int + /// bool + /// FileInfo + /// FileAccess + private static void RootCommand( + int intOption, bool boolOption, FileInfo fileOption, FileAccess fileAccessOption) + { + Console.WriteLine( + $"--int-option is: {intOption}, " + + $"--bool-option is: {boolOption}, " + + $"--file-option is: {fileOption?.Name ?? "null, "}" + + $"--file-access-option is: {fileAccessOption.ToString()}"); + } + #endregion + #endregion + + #region Test + /// Test + /// Command + /// Task + private static async Task Test(Command rootCommand) + { + // デバッグ実行時だけ実行 + if (!Debugger.IsAttached) return; + + #region rootCommand + await rootCommand.InvokeAsync(""); + // --int-option + await rootCommand.InvokeAsync("--int-option"); + await rootCommand.InvokeAsync("--int-option 123"); + await rootCommand.InvokeAsync("--int-option hoge"); + // --bool-option + await rootCommand.InvokeAsync("--bool-option"); + await rootCommand.InvokeAsync("--bool-option False"); + await rootCommand.InvokeAsync("--bool-option True"); + await rootCommand.InvokeAsync("--bool-option hoge"); + // --file-option + await rootCommand.InvokeAsync("--file-option ../Program.cs"); + // --file-access-option + await rootCommand.InvokeAsync("--file-access-option Read"); + await rootCommand.InvokeAsync("--file-access-option Write"); + await rootCommand.InvokeAsync("--file-access-option hoge"); + #endregion + + #region subCommand + // subCommand1 + await rootCommand.InvokeAsync("cmd1 --an-int 123"); + // subCommand2 + await rootCommand.InvokeAsync("cmd2 --a-string hoge"); + // subCommandComplex + await rootCommand.InvokeAsync("complex --an-int 123 --a-string hogehoge"); + // subCommandDelay + await rootCommand.InvokeAsync("delay --a-string hogehoge"); + #endregion + } + #endregion + } + + /// ComplexType + public class ComplexType + { + // public ComplexType(int anInt, string aString) + // { + // AnInt = anInt; + // AString = aString; + // } + public int AnInt { get; set; } + public string AString { get; set; } + } +} diff --git a/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Properties/AssemblyInfo.cs b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..69118115c --- /dev/null +++ b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 +// 制御されます。アセンブリに関連付けられている情報を変更するには、 +// これらの属性値を変更します。 +[assembly: AssemblyTitle("Simple_CLI")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Simple_CLI")] +[assembly: AssemblyCopyright("Copyright © 2021")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// ComVisible を false に設定すると、このアセンブリ内の型は COM コンポーネントから +// 参照できなくなります。COM からこのアセンブリ内の型にアクセスする必要がある場合は、 +// その型の ComVisible 属性を true に設定します。 +[assembly: ComVisible(false)] + +// このプロジェクトが COM に公開される場合、次の GUID が typelib の ID になります +[assembly: Guid("2f7d1a24-3882-4425-ac49-1e623d19c549")] + +// アセンブリのバージョン情報は次の 4 つの値で構成されています: +// +// メジャー バージョン +// マイナー バージョン +// ビルド番号 +// リビジョン +// +// すべての値を指定するか、次を使用してビルド番号とリビジョン番号を既定に設定できます +// 既定値にすることができます: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj new file mode 100644 index 000000000..3789af4bf --- /dev/null +++ b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj @@ -0,0 +1,73 @@ + + + + + Debug + AnyCPU + {2F7D1A24-3882-4425-AC49-1E623D19C549} + Exe + Simple_CLI + Simple_CLI + v4.6.1 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll + + + + ..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll + + + ..\packages\System.CommandLine.2.0.0-beta1.21216.1\lib\netstandard2.0\System.CommandLine.dll + + + + ..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll + + + + ..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll + + + ..\packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + + + + + + + + + + + + + + + + + + \ No newline at end of file From 99488e2968709ce14a795d21e654bca5899f4a55 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Thu, 20 May 2021 15:59:20 +0900 Subject: [PATCH 09/59] Now, I am fixing #398. --- .../Simple_CLI/Simple_CLI/App.config | 10 +- .../Simple_CLI/Simple_CLI/Program.cs | 126 +++++++++++++++++- .../Simple_CLI/Simple_CLI/Simple_CLI.csproj | 7 + 3 files changed, 139 insertions(+), 4 deletions(-) diff --git a/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/App.config b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/App.config index 731f6de6c..9a6820f73 100644 --- a/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/App.config +++ b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/App.config @@ -1,6 +1,14 @@ - + + + + + + + + + \ No newline at end of file diff --git a/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs index ad6ed443f..2f0cd204d 100644 --- a/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs +++ b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs @@ -1,4 +1,23 @@ -using System; +//********************************************************************************** +//* 単純CLIサンプル アプリ +//********************************************************************************** + +// テスト用サンプルなので、必要に応じて流用 or 削除して下さい。 + +//********************************************************************************** +//* クラス名 :Program +//* クラス日本語名 :単純CLIサンプル アプリ +//* +//* 作成日時 :- +//* 作成者 :開発基盤部会 +//* 更新履歴 : +//* +//* 日時 更新者 内容 +//* ---------- ---------------- ------------------------------------------------- +//* 20xx/xx/xx XX XX XXXX +//********************************************************************************** + +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -8,6 +27,8 @@ using System.Threading; using System.Diagnostics; +using Sharprompt; + using System.CommandLine; using System.CommandLine.Invocation; @@ -16,7 +37,7 @@ namespace Simple_CLI { - /// Program + /// Program public class Program { /// @@ -92,6 +113,36 @@ static async Task Main(string[] args) rootCommand.AddCommand(subCommandComplex); #endregion + #region subCommandInteractive + Command subCommandInteractive = new Command(name: "interactive", description: "Sub command interactive"); + subCommandInteractive.Handler = CommandHandler.Create(() => + { + Prompt.ColorSchema.Answer = ConsoleColor.DarkRed; + Prompt.ColorSchema.Select = ConsoleColor.DarkCyan; + Console.OutputEncoding = Encoding.UTF8; + + string name = Prompt.Input("名前", validators: new[] { Validators.Required() }); + Console.WriteLine($"こんにちは, {name}"); + + int age = Prompt.Input("年齢"); + Console.WriteLine($"年齢: {age}"); + + string password = Prompt.Password("Type new password"); + Console.WriteLine("Password OK"); + + bool answer = Prompt.Confirm("Are you ready?"); + Console.WriteLine($"Your answer is {answer}"); + + EnumMonth value = Prompt.Select("Select enum value"); + Console.WriteLine($"You selected {value}"); + + Program.GetPrefectureList(out string[] prefectureList); + string prefecture = Prompt.Select("都道府県", prefectureList, pageSize: 5); + Console.WriteLine($"都道府県: {prefecture}"); + }); + rootCommand.AddCommand(subCommandInteractive); + #endregion + #region subCommandDelay Command subCommandDelay = new Command(name: "delay", description: "Sub command delay"); subCommandDelay.AddOption(new Option(alias: "--a-string")); @@ -108,7 +159,7 @@ static async Task Main(string[] args) await Task.Delay(1000, token); } - + Console.WriteLine("Sub command delay was completed."); return 0; } @@ -185,11 +236,80 @@ private static async Task Test(Command rootCommand) await rootCommand.InvokeAsync("cmd2 --a-string hoge"); // subCommandComplex await rootCommand.InvokeAsync("complex --an-int 123 --a-string hogehoge"); + // subCommandInteractive + await rootCommand.InvokeAsync("interactive"); // subCommandDelay await rootCommand.InvokeAsync("delay --a-string hogehoge"); #endregion } #endregion + + #region SELECT + + /// EnumMonth + private enum EnumMonth : byte + { + January = 1, February, March, April, + May, June, July, August, + September, October, November, December + } + + /// GetPrefectureList + /// string[] + private static void GetPrefectureList(out string[] prefectureList) + { + prefectureList = new[] + { + "北海道", + "青森県", + "岩手県", + "宮城県", + "秋田県", + "山形県", + "福島県", + "茨城県", + "栃木県", + "群馬県", + "埼玉県", + "千葉県", + "東京都", + "神奈川県", + "新潟県", + "富山県", + "石川県", + "福井県", + "山梨県", + "長野県", + "岐阜県", + "静岡県", + "愛知県", + "三重県", + "滋賀県", + "京都府", + "大阪府", + "兵庫県", + "奈良県", + "和歌山県", + "鳥取県", + "島根県", + "岡山県", + "広島県", + "山口県", + "徳島県", + "香川県", + "愛媛県", + "高知県", + "福岡県", + "佐賀県", + "長崎県", + "熊本県", + "大分県", + "宮崎県", + "鹿児島県", + "沖縄県" + }; + } + #endregion } /// ComplexType diff --git a/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj index 3789af4bf..e56f1e9b6 100644 --- a/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj +++ b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj @@ -36,6 +36,9 @@ ..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll + + ..\packages\Sharprompt.2.2.1\lib\netstandard2.0\Sharprompt.dll + ..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll @@ -43,6 +46,10 @@ ..\packages\System.CommandLine.2.0.0-beta1.21216.1\lib\netstandard2.0\System.CommandLine.dll + + ..\packages\System.ComponentModel.Annotations.4.7.0\lib\net461\System.ComponentModel.Annotations.dll + + ..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll From 4b7c9bc1fa18353806f8073883ebdb8778214aa8 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Thu, 20 May 2021 16:01:17 +0900 Subject: [PATCH 10/59] Now, I am fixing #398. --- .../CLI_sample/Simple_CLI/Simple_CLI/packages.config | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/packages.config diff --git a/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/packages.config b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/packages.config new file mode 100644 index 000000000..bd438e3c3 --- /dev/null +++ b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/packages.config @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file From b5d2985c5c7ec091c188215ada07d6c958ebccfd Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Thu, 20 May 2021 16:04:22 +0900 Subject: [PATCH 11/59] Now, I am fixing #398. --- root/programs/CS/Samples/CLI_sample/Simple_CLI/README.md | 1 + .../CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/README.md | 1 + .../Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/README.md | 1 + .../CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/README.md | 1 + 4 files changed, 4 insertions(+) create mode 100644 root/programs/CS/Samples/CLI_sample/Simple_CLI/README.md create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/README.md create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/README.md create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/README.md diff --git a/root/programs/CS/Samples/CLI_sample/Simple_CLI/README.md b/root/programs/CS/Samples/CLI_sample/Simple_CLI/README.md new file mode 100644 index 000000000..7bf4bfd6a --- /dev/null +++ b/root/programs/CS/Samples/CLI_sample/Simple_CLI/README.md @@ -0,0 +1 @@ +System.CommandLine と Sharprompt を使用したCLIのサンプル / テンプレ \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/README.md b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/README.md new file mode 100644 index 000000000..3fdab6ab5 --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/README.md @@ -0,0 +1 @@ +DAG : OAuth 2.0 Device Authorization Grant \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/README.md b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/README.md new file mode 100644 index 000000000..92cb873e9 --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/README.md @@ -0,0 +1 @@ +LIR : Loopback Interface Redirection of OAuth 2.0 for Native Apps \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/README.md b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/README.md new file mode 100644 index 000000000..7bf4bfd6a --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/README.md @@ -0,0 +1 @@ +System.CommandLine と Sharprompt を使用したCLIのサンプル / テンプレ \ No newline at end of file From c5f68ecb286576a74118d1903c9920dab1b3f23d Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Fri, 21 May 2021 10:11:58 +0900 Subject: [PATCH 12/59] Now, I am fixing #398. --- .../Simple_CLI/Simple_CLI/Program.cs | 23 +- .../CLI_sample/Simple_CLI/Simple_CLI.sln | 25 ++ .../Simple_CLI/Simple_CLI/Program.cs | 337 ++++++++++++++++++ .../Simple_CLI/Simple_CLI/Simple_CLI.csproj | 14 + 4 files changed, 393 insertions(+), 6 deletions(-) create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI.sln create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Program.cs create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj diff --git a/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs index 2f0cd204d..619d999f2 100644 --- a/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs +++ b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs @@ -115,8 +115,11 @@ static async Task Main(string[] args) #region subCommandInteractive Command subCommandInteractive = new Command(name: "interactive", description: "Sub command interactive"); - subCommandInteractive.Handler = CommandHandler.Create(() => + subCommandInteractive.AddOption(new Option(alias: "--a-string")); + subCommandInteractive.Handler = CommandHandler.Create((string aString) => { + Console.WriteLine($"Sub command interactive (Ctrl-C terminate): {aString}"); + Prompt.ColorSchema.Answer = ConsoleColor.DarkRed; Prompt.ColorSchema.Select = ConsoleColor.DarkCyan; Console.OutputEncoding = Encoding.UTF8; @@ -149,7 +152,7 @@ static async Task Main(string[] args) subCommandDelay.Handler = CommandHandler.Create( async (string aString, IConsole console, CancellationToken token) => { - Console.WriteLine($"Sub command delay(Ctrl-C terminate): {aString}"); + Console.WriteLine($"Sub command delay (Ctrl-C terminate): {aString}"); try { @@ -159,13 +162,21 @@ static async Task Main(string[] args) await Task.Delay(1000, token); } + + // 例えば... + //using (var httpClient = new HttpClient()) + //{ + // await httpClient.GetAsync("http://www.example.com", token); + //} Console.WriteLine("Sub command delay was completed."); return 0; } catch (OperationCanceledException) { - console.Error.Write("Sub command delay was aborted."); + // ココのコードは.NET Fx系だとハングする。 + // .NET Core系だとハングしない。 + Console.WriteLine("Sub command delay was aborted."); return 1; } } @@ -195,13 +206,13 @@ private static void RootCommand( Console.WriteLine( $"--int-option is: {intOption}, " + $"--bool-option is: {boolOption}, " + - $"--file-option is: {fileOption?.Name ?? "null, "}" + + $"--file-option is: {fileOption?.Name ?? "null"}, " + $"--file-access-option is: {fileAccessOption.ToString()}"); } #endregion #endregion - #region Test + #region TEST /// Test /// Command /// Task @@ -237,7 +248,7 @@ private static async Task Test(Command rootCommand) // subCommandComplex await rootCommand.InvokeAsync("complex --an-int 123 --a-string hogehoge"); // subCommandInteractive - await rootCommand.InvokeAsync("interactive"); + await rootCommand.InvokeAsync("interactive --a-string hoge"); // subCommandDelay await rootCommand.InvokeAsync("delay --a-string hogehoge"); #endregion diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI.sln b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI.sln new file mode 100644 index 000000000..2a8f25559 --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Simple_CLI", "Simple_CLI\Simple_CLI.csproj", "{1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {BB325D9D-3010-4CAD-AB0D-9079A9471EF5} + EndGlobalSection +EndGlobal diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Program.cs b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Program.cs new file mode 100644 index 000000000..9c0fb3cf5 --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Program.cs @@ -0,0 +1,337 @@ +//********************************************************************************** +//* 単純CLIサンプル アプリ +//********************************************************************************** + +// テスト用サンプルなので、必要に応じて流用 or 削除して下さい。 + +//********************************************************************************** +//* クラス名 :Program +//* クラス日本語名 :単純CLIサンプル アプリ +//* +//* 作成日時 :- +//* 作成者 :開発基盤部会 +//* 更新履歴 : +//* +//* 日時 更新者 内容 +//* ---------- ---------------- ------------------------------------------------- +//* 20xx/xx/xx XX XX XXXX +//********************************************************************************** + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +using System.IO; +using System.Threading; +using System.Diagnostics; + +using Sharprompt; + +using System.CommandLine; +using System.CommandLine.Invocation; + +using Newtonsoft; +using Newtonsoft.Json; + +namespace Simple_CLI +{ + /// Program + public class Program + { + /// + /// 'async main' は C# 7.1 以上の言語バージョンが必要(→ VS 2019)。 + /// + /// string[] + /// int + static async Task Main(string[] args) + { + #region rootCommand + // Create a root command with some options + Command rootCommand = new RootCommand + { + // alias、default value、description + new Option( + alias: "--int-option", + getDefaultValue: () => 42, + description: "An option whose argument is parsed as an int"), + new Option( + alias: "--bool-option", + description: "An option whose argument is parsed as a bool"), + new Option( + alias: "--file-option", + description: "An option whose argument is parsed as a FileInfo"), + new Option( + alias: "--file-access-option", + getDefaultValue: () => FileAccess.Read, + description: "An option whose argument is parsed as a FileAccess") + }; + + rootCommand.Description = "My sample app"; + + // Note that the parameters of the handler method are matched according to the names of the options + rootCommand.Handler = CommandHandler.Create(Program.RootCommand); + #endregion + + #region subCommand + + #region subCommand1 + Command subCommand1 = new Command(name: "cmd1", description: "Sub command cmd1"); + subCommand1.AddOption(new Option(alias: "--an-int")); + subCommand1.Handler = CommandHandler.Create( + (int anInt) => + { + Console.WriteLine($"Sub command cmd1: {anInt}"); + } + ); + rootCommand.AddCommand(subCommand1); + #endregion + + #region subCommand2 + Command subCommand2 = new Command(name: "cmd2", description: "Sub command cmd2"); + subCommand2.AddOption(new Option(alias: "--a-string")); + subCommand2.Handler = CommandHandler.Create( + (string aString) => + { + Console.WriteLine($"Sub command cmd2: {aString}"); + } + ); + rootCommand.AddCommand(subCommand2); + #endregion + + #region subCommandComplex + Command subCommandComplex = new Command(name: "complex", description: "Sub command complex") + { + new Option("--an-int"), + new Option("--a-string") + }; + subCommandComplex.Handler = CommandHandler.Create((ComplexType complexType) => + { + Console.WriteLine($"Sub command complex: {JsonConvert.SerializeObject(complexType)}"); + }); + rootCommand.AddCommand(subCommandComplex); + #endregion + + #region subCommandInteractive + Command subCommandInteractive = new Command(name: "interactive", description: "Sub command interactive"); + subCommandInteractive.AddOption(new Option(alias: "--a-string")); + subCommandInteractive.Handler = CommandHandler.Create((string aString) => + { + Console.WriteLine($"Sub command interactive (Ctrl-C terminate): {aString}"); + + Prompt.ColorSchema.Answer = ConsoleColor.DarkRed; + Prompt.ColorSchema.Select = ConsoleColor.DarkCyan; + Console.OutputEncoding = Encoding.UTF8; + + string name = Prompt.Input("名前", validators: new[] { Validators.Required() }); + Console.WriteLine($"こんにちは, {name}"); + + int age = Prompt.Input("年齢"); + Console.WriteLine($"年齢: {age}"); + + string password = Prompt.Password("Type new password"); + Console.WriteLine("Password OK"); + + bool answer = Prompt.Confirm("Are you ready?"); + Console.WriteLine($"Your answer is {answer}"); + + EnumMonth value = Prompt.Select("Select enum value"); + Console.WriteLine($"You selected {value}"); + + Program.GetPrefectureList(out string[] prefectureList); + string prefecture = Prompt.Select("都道府県", prefectureList, pageSize: 5); + Console.WriteLine($"都道府県: {prefecture}"); + }); + rootCommand.AddCommand(subCommandInteractive); + #endregion + + #region subCommandDelay + Command subCommandDelay = new Command(name: "delay", description: "Sub command delay"); + subCommandDelay.AddOption(new Option(alias: "--a-string")); + subCommandDelay.Handler = CommandHandler.Create( + async (string aString, IConsole console, CancellationToken token) => + { + Console.WriteLine($"Sub command delay(Ctrl-C terminate): {aString}"); + + try + { + for (int i = 0; i < 10; i++) + { + Console.WriteLine($"Sub command delay: {i}"); + + await Task.Delay(1000, token); + } + + // 例えば... + //using (var httpClient = new HttpClient()) + //{ + // await httpClient.GetAsync("http://www.example.com", token); + //} + + Console.WriteLine("Sub command delay was completed."); + return 0; + } + catch (OperationCanceledException) + { + // ココのコードは.NET Fx系だとハングする。 + // .NET Core系だとハングしない。 + Console.WriteLine("Sub command delay was aborted."); + return 1; + } + } + ); + rootCommand.AddCommand(subCommandDelay); + #endregion + + #endregion + + // テストの実行 + await Program.Test(rootCommand); + + // Parse the incoming args and invoke the handler + return rootCommand.InvokeAsync(args).Result; + } + + #region Command + #region RootCommand + /// RootCommand + /// int + /// bool + /// FileInfo + /// FileAccess + private static void RootCommand( + int intOption, bool boolOption, FileInfo fileOption, FileAccess fileAccessOption) + { + Console.WriteLine( + $"--int-option is: {intOption}, " + + $"--bool-option is: {boolOption}, " + + $"--file-option is: {fileOption?.Name ?? "null"}, " + + $"--file-access-option is: {fileAccessOption.ToString()}"); + } + #endregion + #endregion + + #region TEST + /// Test + /// Command + /// Task + private static async Task Test(Command rootCommand) + { + // デバッグ実行時だけ実行 + if (!Debugger.IsAttached) return; + + #region rootCommand + await rootCommand.InvokeAsync(""); + // --int-option + await rootCommand.InvokeAsync("--int-option"); + await rootCommand.InvokeAsync("--int-option 123"); + await rootCommand.InvokeAsync("--int-option hoge"); + // --bool-option + await rootCommand.InvokeAsync("--bool-option"); + await rootCommand.InvokeAsync("--bool-option False"); + await rootCommand.InvokeAsync("--bool-option True"); + await rootCommand.InvokeAsync("--bool-option hoge"); + // --file-option + await rootCommand.InvokeAsync("--file-option ../Program.cs"); + // --file-access-option + await rootCommand.InvokeAsync("--file-access-option Read"); + await rootCommand.InvokeAsync("--file-access-option Write"); + await rootCommand.InvokeAsync("--file-access-option hoge"); + #endregion + + #region subCommand + // subCommand1 + await rootCommand.InvokeAsync("cmd1 --an-int 123"); + // subCommand2 + await rootCommand.InvokeAsync("cmd2 --a-string hoge"); + // subCommandComplex + await rootCommand.InvokeAsync("complex --an-int 123 --a-string hogehoge"); + // subCommandInteractive + await rootCommand.InvokeAsync("interactive --a-string hoge"); + // subCommandDelay + await rootCommand.InvokeAsync("delay --a-string hogehoge"); + #endregion + } + #endregion + + #region SELECT + + /// EnumMonth + private enum EnumMonth : byte + { + January = 1, February, March, April, + May, June, July, August, + September, October, November, December + } + + /// GetPrefectureList + /// string[] + private static void GetPrefectureList(out string[] prefectureList) + { + prefectureList = new[] + { + "北海道", + "青森県", + "岩手県", + "宮城県", + "秋田県", + "山形県", + "福島県", + "茨城県", + "栃木県", + "群馬県", + "埼玉県", + "千葉県", + "東京都", + "神奈川県", + "新潟県", + "富山県", + "石川県", + "福井県", + "山梨県", + "長野県", + "岐阜県", + "静岡県", + "愛知県", + "三重県", + "滋賀県", + "京都府", + "大阪府", + "兵庫県", + "奈良県", + "和歌山県", + "鳥取県", + "島根県", + "岡山県", + "広島県", + "山口県", + "徳島県", + "香川県", + "愛媛県", + "高知県", + "福岡県", + "佐賀県", + "長崎県", + "熊本県", + "大分県", + "宮崎県", + "鹿児島県", + "沖縄県" + }; + } + #endregion + } + + /// ComplexType + public class ComplexType + { + // public ComplexType(int anInt, string aString) + // { + // AnInt = anInt; + // AString = aString; + // } + public int AnInt { get; set; } + public string AString { get; set; } + } +} diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj new file mode 100644 index 000000000..f13eb956c --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj @@ -0,0 +1,14 @@ + + + + Exe + net5.0 + + + + + + + + + From 537d60c75fa2f4fdb51871ed7c074f2df3d21164 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Fri, 21 May 2021 18:05:37 +0900 Subject: [PATCH 13/59] fixed #399 --- .../Framework/Transmission/CallController.cs | 196 ++++++++++++------ 1 file changed, 132 insertions(+), 64 deletions(-) diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs index 51e87109b..d49679385 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs @@ -62,6 +62,13 @@ //* 2019/10/01 西野 大介 .NET Standard対応:ASP.NET WebAPI (JSON-RPC)の復元 //* 2021/05/18 西野 大介 ASP.NET WebAPI(JSON)の例外処理の問題を修正 //* 2021/05/18 西野 大介 SOAP、WebAPIのCookieコンテナ対応 +//* 2021/05/21 西野 大介 HTTPClientのサーバーサイド実行を可能にするが、 +//* ・HTTPClientは内部で都度生成せず、 +//* ・serviceName毎にプールする。 +//* 以下が制約として追加される。 +//* ・マルチスレッド・クライアントから利用不可。 +//* ・Critical Section内で利用する。 +//* ・Concurrent Collectionでプールを作成する。 //********************************************************************************** using System; @@ -161,22 +168,6 @@ public class CallController /// コンテキスト情報 private object _context; - /// コンストラクタ - /// コンテキスト情報 - /// 自由に利用できる。 - public CallController(object context) - { - // コンテキスト情報 - this._context = context; - -#if NETSTD -#else - // EndPointConfigName(の既定値 - this.WCF_HTTP_EndPointConfigName = FxLiteral.WCF_HTTP_ENDPOINT_CONFIGNAME; - this.WCF_TCPIP_EndPointConfigName = FxLiteral.WCF_TCPIP_ENDPOINT_CONFIGNAME; -#endif - } - /// コンテキスト情報 /// 自由に利用できる。 public object Context @@ -246,6 +237,21 @@ public string WCF_TCPIP_EndPointConfigName #endregion #endif + #region ASPNETWebAPI → HttpClient + +#if NETSTD + /// HttpClientHandlerのDictionary + private Dictionary _handlerCD = new Dictionary(); +#else + /// WebRequestHandlerのDictionary + private Dictionary _handlerCD = new Dictionary(); +#endif + + /// HttpClientのDictionary + private Dictionary _httpClientCD = new Dictionary(); + + #endregion + #region プロキシのURL /// プロキシのURL @@ -260,7 +266,7 @@ public string ProxyUrl #endregion - #region クライアント認証のセキュリティ資格情報 + #region セキュリティ資格情報 /// クライアント認証情報(WAS) private NetworkCredential _nwcWAS; @@ -288,6 +294,25 @@ public NetworkCredential NetworkCredentialToProxy #endregion + #region Constructor + + /// コンストラクタ + /// コンテキスト情報 + /// 自由に利用できる。 + public CallController(object context) + { + // コンテキスト情報 + this._context = context; +#if NETSTD +#else + // EndPointConfigName(の既定値 + this.WCF_HTTP_EndPointConfigName = FxLiteral.WCF_HTTP_ENDPOINT_CONFIGNAME; + this.WCF_TCPIP_EndPointConfigName = FxLiteral.WCF_TCPIP_ENDPOINT_CONFIGNAME; +#endif + } + + #endregion + #region Invoke #region 非同期バージョン @@ -832,86 +857,129 @@ private byte[] ASPNETWebAPI( // Equivalent to WebRequestHandler in .net Core · Issue #26223 · dotnet/corefx // https://github.com/dotnet/corefx/issues/26223 + + #region Handlerの変数宣言 #if NETSTD #region HttpClientHandler - HttpClientHandler handler = new HttpClientHandler(); - if (this.CookieContainer != null) - handler.CookieContainer = this.CookieContainer; + HttpClientHandler handler = null; #endregion #else #region WebRequestHandler - WebRequestHandler handler = new WebRequestHandler(); - if (this.CookieContainer != null) - handler.CookieContainer = this.CookieContainer; + WebRequestHandler handler = null; #endregion #endif + #endregion - #region WASのクライアント認証のセキュリティ資格情報 for WCF + #region DictionaryをCheckし... - NetworkCredential nwcWAS = this.CreateCredentials(props); - if (nwcWAS != null) + if (!this._handlerCD.ContainsKey(serviceName)) { - handler.Credentials = nwcWAS; - } + #region new ...Handler(); +#if NETSTD + #region HttpClientHandler + handler = new HttpClientHandler(); + #endregion +#else + #region WebRequestHandler + handler = new WebRequestHandler(); + #endregion +#endif + #endregion - #endregion + #region CookieContainerの設定 + if (this.CookieContainer != null) + handler.CookieContainer = this.CookieContainer; + #endregion - #region プロキシ経由の要求を行うためのプロキシ情報 + #region WASのクライアント認証のセキュリティ資格情報 for WCF - WebProxy proxy = this.CreateProxy(props); - if (proxy != null) - { - handler.Proxy = proxy; - } + NetworkCredential nwcWAS = this.CreateCredentials(props); + if (nwcWAS != null) + { + handler.Credentials = nwcWAS; + } - #endregion + #endregion - #region HTTP圧縮の有効・無効(Default:false) + #region プロキシ経由の要求を行うためのプロキシ情報 - if (!props.ContainsKey(FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION))// Dic化でnullチェック変更 - { - // XML定義:キーが無い - } - else - { - if (string.IsNullOrEmpty(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])) + WebProxy proxy = this.CreateProxy(props); + if (proxy != null) { - // XML定義:null or 空文字列 + handler.Proxy = proxy; } - else - { - // XML定義:あり - bool compress; + #endregion - if (Boolean.TryParse(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION], out compress)) + #region HTTP圧縮の有効・無効(Default:false) + + if (!props.ContainsKey(FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION))// Dic化でnullチェック変更 + { + // XML定義:キーが無い + } + else + { + if (string.IsNullOrEmpty(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])) { - // 書式正常 - if (compress) - { - handler.AutomaticDecompression = - DecompressionMethods.GZip | DecompressionMethods.Deflate; - } + // XML定義:null or 空文字列 } else { - // パラメータ・エラー(書式不正) - throw new FrameworkException( - FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[0], - String.Format(FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[1], - FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION - + "=" + props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])); + // XML定義:あり + + bool compress; + + if (Boolean.TryParse(props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION], out compress)) + { + // 書式正常 + if (compress) + { + handler.AutomaticDecompression = + DecompressionMethods.GZip | DecompressionMethods.Deflate; + } + } + else + { + // パラメータ・エラー(書式不正) + throw new FrameworkException( + FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[0], + String.Format(FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH2[1], + FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION + + "=" + props[FxLiteral.TRANSMISSION_HTTP_PROP_ENABLEDE_COMPRESSION])); + } } } - } + #endregion + + this._handlerCD[serviceName] = handler; + } + else + { + handler = this._handlerCD[serviceName]; + } + #endregion #endregion #region HttpClient - HttpClient client = new HttpClient(handler); + HttpClient client = null; + + #region DictionaryをCheckし... + if (!this._httpClientCD.ContainsKey(serviceName)) + { + client = new HttpClient(handler); //, disposeHandler: xxx); + // HttpClientFactoryはdisposeHandlerをfalseにして、 + // handlerをプールするらしいが、handler構築するには、 + // HttpClientBuilderなどを使う必要があるとか。 + } + else + { + client = this._httpClientCD[serviceName]; + } + #endregion HttpRequestMessage httpRequestMessage = null; HttpResponseMessage httpResponseMessage = null; From 6be7dd2a495c9fd8d19714c35ea7dff2a378f5ff Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Sun, 23 May 2021 13:40:57 +0900 Subject: [PATCH 14/59] Now, I am fixing #398. --- .../DAG_Login_CLI/DAG_Login_CLI.sln | 25 ++ .../DAG_Login_CLI/DAG_Login_CLI.csproj | 14 + .../DAG_Login_CLI/DAG_Login_CLI/Program.cs | 338 ++++++++++++++++++ 3 files changed, 377 insertions(+) create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI.sln create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI.sln b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI.sln new file mode 100644 index 000000000..1652f033b --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DAG_Login_CLI", "DAG_Login_CLI\DAG_Login_CLI.csproj", "{1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {BB325D9D-3010-4CAD-AB0D-9079A9471EF5} + EndGlobalSection +EndGlobal diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj new file mode 100644 index 000000000..f13eb956c --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj @@ -0,0 +1,14 @@ + + + + Exe + net5.0 + + + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs new file mode 100644 index 000000000..9240a032e --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs @@ -0,0 +1,338 @@ +//********************************************************************************** +//* 単純CLIサンプル アプリ +//********************************************************************************** + +// テスト用サンプルなので、必要に応じて流用 or 削除して下さい。 + +//********************************************************************************** +//* クラス名 :Program +//* クラス日本語名 :DAGログインCLIサンプル アプリ +//* DAG : OAuth 2.0 Device Authorization Grant +//* +//* 作成日時 :- +//* 作成者 :開発基盤部会 +//* 更新履歴 : +//* +//* 日時 更新者 内容 +//* ---------- ---------------- ------------------------------------------------- +//* 20xx/xx/xx XX XX XXXX +//********************************************************************************** + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +using System.IO; +using System.Threading; +using System.Diagnostics; + +using Sharprompt; + +using System.CommandLine; +using System.CommandLine.Invocation; + +using Newtonsoft; +using Newtonsoft.Json; + +namespace DAG_Login_CLI +{ + /// Program + public class Program + { + /// + /// 'async main' は C# 7.1 以上の言語バージョンが必要(→ VS 2019)。 + /// + /// string[] + /// int + static async Task Main(string[] args) + { + #region rootCommand + // Create a root command with some options + Command rootCommand = new RootCommand + { + // alias、default value、description + new Option( + alias: "--int-option", + getDefaultValue: () => 42, + description: "An option whose argument is parsed as an int"), + new Option( + alias: "--bool-option", + description: "An option whose argument is parsed as a bool"), + new Option( + alias: "--file-option", + description: "An option whose argument is parsed as a FileInfo"), + new Option( + alias: "--file-access-option", + getDefaultValue: () => FileAccess.Read, + description: "An option whose argument is parsed as a FileAccess") + }; + + rootCommand.Description = "My sample app"; + + // Note that the parameters of the handler method are matched according to the names of the options + rootCommand.Handler = CommandHandler.Create(Program.RootCommand); + #endregion + + #region subCommand + + #region subCommand1 + Command subCommand1 = new Command(name: "cmd1", description: "Sub command cmd1"); + subCommand1.AddOption(new Option(alias: "--an-int")); + subCommand1.Handler = CommandHandler.Create( + (int anInt) => + { + Console.WriteLine($"Sub command cmd1: {anInt}"); + } + ); + rootCommand.AddCommand(subCommand1); + #endregion + + #region subCommand2 + Command subCommand2 = new Command(name: "cmd2", description: "Sub command cmd2"); + subCommand2.AddOption(new Option(alias: "--a-string")); + subCommand2.Handler = CommandHandler.Create( + (string aString) => + { + Console.WriteLine($"Sub command cmd2: {aString}"); + } + ); + rootCommand.AddCommand(subCommand2); + #endregion + + #region subCommandComplex + Command subCommandComplex = new Command(name: "complex", description: "Sub command complex") + { + new Option("--an-int"), + new Option("--a-string") + }; + subCommandComplex.Handler = CommandHandler.Create((ComplexType complexType) => + { + Console.WriteLine($"Sub command complex: {JsonConvert.SerializeObject(complexType)}"); + }); + rootCommand.AddCommand(subCommandComplex); + #endregion + + #region subCommandInteractive + Command subCommandInteractive = new Command(name: "interactive", description: "Sub command interactive"); + subCommandInteractive.AddOption(new Option(alias: "--a-string")); + subCommandInteractive.Handler = CommandHandler.Create((string aString) => + { + Console.WriteLine($"Sub command interactive (Ctrl-C terminate): {aString}"); + + Prompt.ColorSchema.Answer = ConsoleColor.DarkRed; + Prompt.ColorSchema.Select = ConsoleColor.DarkCyan; + Console.OutputEncoding = Encoding.UTF8; + + string name = Prompt.Input("名前", validators: new[] { Validators.Required() }); + Console.WriteLine($"こんにちは, {name}"); + + int age = Prompt.Input("年齢"); + Console.WriteLine($"年齢: {age}"); + + string password = Prompt.Password("Type new password"); + Console.WriteLine("Password OK"); + + bool answer = Prompt.Confirm("Are you ready?"); + Console.WriteLine($"Your answer is {answer}"); + + EnumMonth value = Prompt.Select("Select enum value"); + Console.WriteLine($"You selected {value}"); + + Program.GetPrefectureList(out string[] prefectureList); + string prefecture = Prompt.Select("都道府県", prefectureList, pageSize: 5); + Console.WriteLine($"都道府県: {prefecture}"); + }); + rootCommand.AddCommand(subCommandInteractive); + #endregion + + #region subCommandDelay + Command subCommandDelay = new Command(name: "delay", description: "Sub command delay"); + subCommandDelay.AddOption(new Option(alias: "--a-string")); + subCommandDelay.Handler = CommandHandler.Create( + async (string aString, IConsole console, CancellationToken token) => + { + Console.WriteLine($"Sub command delay(Ctrl-C terminate): {aString}"); + + try + { + for (int i = 0; i < 10; i++) + { + Console.WriteLine($"Sub command delay: {i}"); + + await Task.Delay(1000, token); + } + + // 例えば... + //using (var httpClient = new HttpClient()) + //{ + // await httpClient.GetAsync("http://www.example.com", token); + //} + + Console.WriteLine("Sub command delay was completed."); + return 0; + } + catch (OperationCanceledException) + { + // ココのコードは.NET Fx系だとハングする。 + // .NET Core系だとハングしない。 + Console.WriteLine("Sub command delay was aborted."); + return 1; + } + } + ); + rootCommand.AddCommand(subCommandDelay); + #endregion + + #endregion + + // テストの実行 + await Program.Test(rootCommand); + + // Parse the incoming args and invoke the handler + return rootCommand.InvokeAsync(args).Result; + } + + #region Command + #region RootCommand + /// RootCommand + /// int + /// bool + /// FileInfo + /// FileAccess + private static void RootCommand( + int intOption, bool boolOption, FileInfo fileOption, FileAccess fileAccessOption) + { + Console.WriteLine( + $"--int-option is: {intOption}, " + + $"--bool-option is: {boolOption}, " + + $"--file-option is: {fileOption?.Name ?? "null"}, " + + $"--file-access-option is: {fileAccessOption.ToString()}"); + } + #endregion + #endregion + + #region TEST + /// Test + /// Command + /// Task + private static async Task Test(Command rootCommand) + { + // デバッグ実行時だけ実行 + if (!Debugger.IsAttached) return; + + #region rootCommand + await rootCommand.InvokeAsync(""); + // --int-option + await rootCommand.InvokeAsync("--int-option"); + await rootCommand.InvokeAsync("--int-option 123"); + await rootCommand.InvokeAsync("--int-option hoge"); + // --bool-option + await rootCommand.InvokeAsync("--bool-option"); + await rootCommand.InvokeAsync("--bool-option False"); + await rootCommand.InvokeAsync("--bool-option True"); + await rootCommand.InvokeAsync("--bool-option hoge"); + // --file-option + await rootCommand.InvokeAsync("--file-option ../Program.cs"); + // --file-access-option + await rootCommand.InvokeAsync("--file-access-option Read"); + await rootCommand.InvokeAsync("--file-access-option Write"); + await rootCommand.InvokeAsync("--file-access-option hoge"); + #endregion + + #region subCommand + // subCommand1 + await rootCommand.InvokeAsync("cmd1 --an-int 123"); + // subCommand2 + await rootCommand.InvokeAsync("cmd2 --a-string hoge"); + // subCommandComplex + await rootCommand.InvokeAsync("complex --an-int 123 --a-string hogehoge"); + // subCommandInteractive + await rootCommand.InvokeAsync("interactive --a-string hoge"); + // subCommandDelay + await rootCommand.InvokeAsync("delay --a-string hogehoge"); + #endregion + } + #endregion + + #region SELECT + + /// EnumMonth + private enum EnumMonth : byte + { + January = 1, February, March, April, + May, June, July, August, + September, October, November, December + } + + /// GetPrefectureList + /// string[] + private static void GetPrefectureList(out string[] prefectureList) + { + prefectureList = new[] + { + "北海道", + "青森県", + "岩手県", + "宮城県", + "秋田県", + "山形県", + "福島県", + "茨城県", + "栃木県", + "群馬県", + "埼玉県", + "千葉県", + "東京都", + "神奈川県", + "新潟県", + "富山県", + "石川県", + "福井県", + "山梨県", + "長野県", + "岐阜県", + "静岡県", + "愛知県", + "三重県", + "滋賀県", + "京都府", + "大阪府", + "兵庫県", + "奈良県", + "和歌山県", + "鳥取県", + "島根県", + "岡山県", + "広島県", + "山口県", + "徳島県", + "香川県", + "愛媛県", + "高知県", + "福岡県", + "佐賀県", + "長崎県", + "熊本県", + "大分県", + "宮崎県", + "鹿児島県", + "沖縄県" + }; + } + #endregion + } + + /// ComplexType + public class ComplexType + { + // public ComplexType(int anInt, string aString) + // { + // AnInt = anInt; + // AString = aString; + // } + public int AnInt { get; set; } + public string AString { get; set; } + } +} From 1dde59c4ee6cfaf131e275455267ded9985e455a Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Sun, 23 May 2021 15:12:31 +0900 Subject: [PATCH 15/59] Now, I am fixing #398. --- .../DAG_Login_CLI/DAG_Login_CLI/Program.cs | 185 ++---------------- 1 file changed, 18 insertions(+), 167 deletions(-) diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs index 9240a032e..8f72cbe72 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs @@ -101,88 +101,11 @@ static async Task Main(string[] args) rootCommand.AddCommand(subCommand2); #endregion - #region subCommandComplex - Command subCommandComplex = new Command(name: "complex", description: "Sub command complex") - { - new Option("--an-int"), - new Option("--a-string") - }; - subCommandComplex.Handler = CommandHandler.Create((ComplexType complexType) => - { - Console.WriteLine($"Sub command complex: {JsonConvert.SerializeObject(complexType)}"); - }); - rootCommand.AddCommand(subCommandComplex); - #endregion - - #region subCommandInteractive - Command subCommandInteractive = new Command(name: "interactive", description: "Sub command interactive"); - subCommandInteractive.AddOption(new Option(alias: "--a-string")); - subCommandInteractive.Handler = CommandHandler.Create((string aString) => - { - Console.WriteLine($"Sub command interactive (Ctrl-C terminate): {aString}"); - - Prompt.ColorSchema.Answer = ConsoleColor.DarkRed; - Prompt.ColorSchema.Select = ConsoleColor.DarkCyan; - Console.OutputEncoding = Encoding.UTF8; - - string name = Prompt.Input("名前", validators: new[] { Validators.Required() }); - Console.WriteLine($"こんにちは, {name}"); - - int age = Prompt.Input("年齢"); - Console.WriteLine($"年齢: {age}"); - - string password = Prompt.Password("Type new password"); - Console.WriteLine("Password OK"); - - bool answer = Prompt.Confirm("Are you ready?"); - Console.WriteLine($"Your answer is {answer}"); - - EnumMonth value = Prompt.Select("Select enum value"); - Console.WriteLine($"You selected {value}"); - - Program.GetPrefectureList(out string[] prefectureList); - string prefecture = Prompt.Select("都道府県", prefectureList, pageSize: 5); - Console.WriteLine($"都道府県: {prefecture}"); - }); - rootCommand.AddCommand(subCommandInteractive); - #endregion - - #region subCommandDelay - Command subCommandDelay = new Command(name: "delay", description: "Sub command delay"); - subCommandDelay.AddOption(new Option(alias: "--a-string")); - subCommandDelay.Handler = CommandHandler.Create( - async (string aString, IConsole console, CancellationToken token) => - { - Console.WriteLine($"Sub command delay(Ctrl-C terminate): {aString}"); - - try - { - for (int i = 0; i < 10; i++) - { - Console.WriteLine($"Sub command delay: {i}"); - - await Task.Delay(1000, token); - } - - // 例えば... - //using (var httpClient = new HttpClient()) - //{ - // await httpClient.GetAsync("http://www.example.com", token); - //} - - Console.WriteLine("Sub command delay was completed."); - return 0; - } - catch (OperationCanceledException) - { - // ココのコードは.NET Fx系だとハングする。 - // .NET Core系だとハングしない。 - Console.WriteLine("Sub command delay was aborted."); - return 1; - } - } - ); - rootCommand.AddCommand(subCommandDelay); + #region LoginCommand + Command LoginCommand = new Command(name: "login", description: "Sub command login"); + LoginCommand.AddOption(new Option(alias: "--a-string")); + LoginCommand.Handler = CommandHandler.Create(Program.LoginCommand); + rootCommand.AddCommand(LoginCommand); #endregion #endregion @@ -195,6 +118,7 @@ static async Task Main(string[] args) } #region Command + #region RootCommand /// RootCommand /// int @@ -211,6 +135,16 @@ private static void RootCommand( $"--file-access-option is: {fileAccessOption.ToString()}"); } #endregion + + #region LoginCommand + /// LoginCommand + /// aString + private static void LoginCommand(string aString) + { + Console.WriteLine($"Sub command login: {aString}"); + } + #endregion + #endregion #region TEST @@ -246,93 +180,10 @@ private static async Task Test(Command rootCommand) await rootCommand.InvokeAsync("cmd1 --an-int 123"); // subCommand2 await rootCommand.InvokeAsync("cmd2 --a-string hoge"); - // subCommandComplex - await rootCommand.InvokeAsync("complex --an-int 123 --a-string hogehoge"); - // subCommandInteractive - await rootCommand.InvokeAsync("interactive --a-string hoge"); - // subCommandDelay - await rootCommand.InvokeAsync("delay --a-string hogehoge"); + // subCommandLogin + await rootCommand.InvokeAsync("login"); #endregion } #endregion - - #region SELECT - - /// EnumMonth - private enum EnumMonth : byte - { - January = 1, February, March, April, - May, June, July, August, - September, October, November, December - } - - /// GetPrefectureList - /// string[] - private static void GetPrefectureList(out string[] prefectureList) - { - prefectureList = new[] - { - "北海道", - "青森県", - "岩手県", - "宮城県", - "秋田県", - "山形県", - "福島県", - "茨城県", - "栃木県", - "群馬県", - "埼玉県", - "千葉県", - "東京都", - "神奈川県", - "新潟県", - "富山県", - "石川県", - "福井県", - "山梨県", - "長野県", - "岐阜県", - "静岡県", - "愛知県", - "三重県", - "滋賀県", - "京都府", - "大阪府", - "兵庫県", - "奈良県", - "和歌山県", - "鳥取県", - "島根県", - "岡山県", - "広島県", - "山口県", - "徳島県", - "香川県", - "愛媛県", - "高知県", - "福岡県", - "佐賀県", - "長崎県", - "熊本県", - "大分県", - "宮崎県", - "鹿児島県", - "沖縄県" - }; - } - #endregion - } - - /// ComplexType - public class ComplexType - { - // public ComplexType(int anInt, string aString) - // { - // AnInt = anInt; - // AString = aString; - // } - public int AnInt { get; set; } - public string AString { get; set; } } } From 57cb63322afe0d1080559ff14b1f74649ad54a3f Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Sun, 23 May 2021 17:29:21 +0900 Subject: [PATCH 16/59] fixed #401. --- .../Infrastructure/BusinessRichClient_net47.sln | 11 +++++++---- .../Infrastructure/BusinessRichClient_net48.sln | 11 +++++++---- .../CS/Frameworks/Infrastructure/Business_net47.sln | 11 +++++++---- .../CS/Frameworks/Infrastructure/Business_net48.sln | 11 +++++++---- .../Frameworks/Infrastructure/Business_netcore30.sln | 6 +++--- .../Frameworks/Infrastructure/Business_netcore50.sln | 6 +++--- .../Infrastructure/Nuget_RichClient_net45.sln | 4 ++-- .../Infrastructure/Nuget_RichClient_net46.sln | 4 ++-- .../CS/Frameworks/Infrastructure/Nuget_net45.sln | 4 ++-- .../CS/Frameworks/Infrastructure/Nuget_net46.sln | 4 ++-- 10 files changed, 42 insertions(+), 30 deletions(-) diff --git a/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_net47.sln b/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_net47.sln index f97aae8c4..0a104035e 100644 --- a/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_net47.sln +++ b/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_net47.sln @@ -1,11 +1,11 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio 15 +VisualStudioVersion = 15.0.28307.1209 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Business.RichClient", "Business\RichClient\Business.RichClient_net47.csproj", "{46E0BD62-9451-431C-A75F-EE7B8CC5D6D9}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Business.RichClient_net47", "Business\RichClient\Business.RichClient_net47.csproj", "{46E0BD62-9451-431C-A75F-EE7B8CC5D6D9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomControl.RichClient", "CustomControl\RichClient\CustomControl.RichClient_net47.csproj", "{85861BE7-A77E-46BE-9FFE-330654571C32}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomControl.RichClient_net47", "CustomControl\RichClient\CustomControl.RichClient_net47.csproj", "{85861BE7-A77E-46BE-9FFE-330654571C32}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -25,4 +25,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C0FECE7E-6DC7-4738-8EBD-EE4A690E0624} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_net48.sln b/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_net48.sln index abd91f8a8..ff0ed2971 100644 --- a/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_net48.sln +++ b/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_net48.sln @@ -1,11 +1,11 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Business.RichClient", "Business\RichClient\Business.RichClient_net48.csproj", "{46E0BD62-9451-431C-A75F-EE7B8CC5D6D9}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Business.RichClient_net48", "Business\RichClient\Business.RichClient_net48.csproj", "{46E0BD62-9451-431C-A75F-EE7B8CC5D6D9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomControl.RichClient", "CustomControl\RichClient\CustomControl.RichClient_net48.csproj", "{85861BE7-A77E-46BE-9FFE-330654571C32}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomControl.RichClient_net48", "CustomControl\RichClient\CustomControl.RichClient_net48.csproj", "{85861BE7-A77E-46BE-9FFE-330654571C32}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -25,4 +25,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {D353944E-6FF1-446C-9A30-421A28715741} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Frameworks/Infrastructure/Business_net47.sln b/root/programs/CS/Frameworks/Infrastructure/Business_net47.sln index 371418627..7da7559d0 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Business_net47.sln +++ b/root/programs/CS/Frameworks/Infrastructure/Business_net47.sln @@ -1,11 +1,11 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio 15 +VisualStudioVersion = 15.0.28307.1209 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Business", "Business\Business_net47.csproj", "{7187571A-3A26-4363-9AB6-189CB5B58422}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Business_net47", "Business\Business_net47.csproj", "{7187571A-3A26-4363-9AB6-189CB5B58422}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomControl", "CustomControl\CustomControl_net47.csproj", "{2C6108F5-DEB1-4821-8CE0-E80619A06E03}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomControl_net47", "CustomControl\CustomControl_net47.csproj", "{2C6108F5-DEB1-4821-8CE0-E80619A06E03}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -25,6 +25,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A8FA79C7-AF6F-4F3B-88F7-C7BA400D85FD} + EndGlobalSection GlobalSection(DPCodeReviewSolutionGUID) = preSolution DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} EndGlobalSection diff --git a/root/programs/CS/Frameworks/Infrastructure/Business_net48.sln b/root/programs/CS/Frameworks/Infrastructure/Business_net48.sln index 33ab4ee35..6581e075e 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Business_net48.sln +++ b/root/programs/CS/Frameworks/Infrastructure/Business_net48.sln @@ -1,11 +1,11 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Business", "Business\Business_net48.csproj", "{7187571A-3A26-4363-9AB6-189CB5B58422}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Business_net48", "Business\Business_net48.csproj", "{7187571A-3A26-4363-9AB6-189CB5B58422}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomControl", "CustomControl\CustomControl_net48.csproj", "{2C6108F5-DEB1-4821-8CE0-E80619A06E03}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomControl_net48", "CustomControl\CustomControl_net48.csproj", "{2C6108F5-DEB1-4821-8CE0-E80619A06E03}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -25,6 +25,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A80B17E4-C049-4784-8834-27B152C4BAB4} + EndGlobalSection GlobalSection(DPCodeReviewSolutionGUID) = preSolution DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} EndGlobalSection diff --git a/root/programs/CS/Frameworks/Infrastructure/Business_netcore30.sln b/root/programs/CS/Frameworks/Infrastructure/Business_netcore30.sln index cbaae0287..db53c3821 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Business_netcore30.sln +++ b/root/programs/CS/Frameworks/Infrastructure/Business_netcore30.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27428.2015 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Business", "Business\Business_netcore30.csproj", "{87C03805-26A4-452B-97C7-2C8598722DDE}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Business_netcore30", "Business\Business_netcore30.csproj", "{87C03805-26A4-452B-97C7-2C8598722DDE}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Frameworks/Infrastructure/Business_netcore50.sln b/root/programs/CS/Frameworks/Infrastructure/Business_netcore50.sln index 25230eb02..391e8cc91 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Business_netcore50.sln +++ b/root/programs/CS/Frameworks/Infrastructure/Business_netcore50.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27428.2015 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Business", "Business\Business_netcore50.csproj", "{87C03805-26A4-452B-97C7-2C8598722DDE}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Business_netcore50", "Business\Business_netcore50.csproj", "{87C03805-26A4-452B-97C7-2C8598722DDE}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_net45.sln b/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_net45.sln index 8443a13ed..681d4b1d9 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_net45.sln +++ b/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_net45.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28010.2016 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Framework.RichClient", "Framework\RichClient\Framework.RichClient_net45.csproj", "{3468B633-2CFE-4A1E-870F-396961E49A9E}" EndProject diff --git a/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_net46.sln b/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_net46.sln index 54e8837ff..71e6ab042 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_net46.sln +++ b/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_net46.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28010.2016 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Framework.RichClient", "Framework\RichClient\Framework.RichClient_net46.csproj", "{3468B633-2CFE-4A1E-870F-396961E49A9E}" EndProject diff --git a/root/programs/CS/Frameworks/Infrastructure/Nuget_net45.sln b/root/programs/CS/Frameworks/Infrastructure/Nuget_net45.sln index 1d5f46aeb..27e7e84f4 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Nuget_net45.sln +++ b/root/programs/CS/Frameworks/Infrastructure/Nuget_net45.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28010.2016 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Public", "Public\Public_net45.csproj", "{81CC573A-0DF9-49E5-AF10-A50F9B194DA5}" EndProject diff --git a/root/programs/CS/Frameworks/Infrastructure/Nuget_net46.sln b/root/programs/CS/Frameworks/Infrastructure/Nuget_net46.sln index e1f20b927..1ab1d013c 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Nuget_net46.sln +++ b/root/programs/CS/Frameworks/Infrastructure/Nuget_net46.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28010.2016 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Public", "Public\Public_net46.csproj", "{81CC573A-0DF9-49E5-AF10-A50F9B194DA5}" EndProject From 83d874876c45996330066a10ec7e3c33ed943319 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Sun, 23 May 2021 18:23:43 +0900 Subject: [PATCH 17/59] Additional commit for #401. --- .../Samples4NetCore/Backend/MVC_Sample/MVC_Sample.sln | 6 +++--- .../Backend/MVC_Sample/MVC_Sample/MVC_Sample.csproj | 1 + .../RerunnableBatch_sample/RerunnableBatch_sample.sln | 6 +++--- .../RerunnableBatch_sample2.sln | 6 +++--- .../RerunnableBatch_sample3.sln | 6 +++--- .../SimpleBatch_sample/SimpleBatch_sample.sln | 4 ++-- .../WSClientWPF_sample/WSClientWPF_sample.sln | 11 +++++++---- .../WSClientWin2_sample/WSClientWin2_sample.sln | 9 ++++++--- .../WS_sample/WSServer_sample/WSServer_sample.sln | 4 ++-- 9 files changed, 30 insertions(+), 23 deletions(-) diff --git a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample.sln b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample.sln index cfc04c9f5..cb9e701a4 100644 --- a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample.sln +++ b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27428.2015 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MVC_Sample", "MVC_Sample\MVC_Sample.csproj", "{A50D383C-5135-445D-924C-E3B851F13CBE}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MVC_Sample", "MVC_Sample\MVC_Sample.csproj", "{A50D383C-5135-445D-924C-E3B851F13CBE}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/MVC_Sample.csproj b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/MVC_Sample.csproj index 68141f0b9..767c8b4d1 100644 --- a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/MVC_Sample.csproj +++ b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/MVC_Sample.csproj @@ -10,6 +10,7 @@ + diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln index 0dd7bf783..e54035bba 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27428.2015 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RerunnableBatch_sample", "RerunnableBatch_sample.csproj", "{A2CCC02E-8C1E-40E9-BCD5-5CEABCF583A4}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RerunnableBatch_sample", "RerunnableBatch_sample.csproj", "{A2CCC02E-8C1E-40E9-BCD5-5CEABCF583A4}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln index 014704acf..9d157685d 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27428.2015 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RerunnableBatch_sample2", "RerunnableBatch_sample2.csproj", "{58DE3839-8B8E-413A-BCA7-B2103A1161F7}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RerunnableBatch_sample2", "RerunnableBatch_sample2.csproj", "{58DE3839-8B8E-413A-BCA7-B2103A1161F7}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln index 0c2b94fd1..ae7f43a81 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27428.2015 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RerunnableBatch_sample3", "RerunnableBatch_sample3.csproj", "{58DE3839-8B8E-413A-BCA7-B2103A1161F7}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RerunnableBatch_sample3", "RerunnableBatch_sample3.csproj", "{58DE3839-8B8E-413A-BCA7-B2103A1161F7}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln index 735280bb9..9ef69af6d 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27428.2015 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SimpleBatch_sample", "SimpleBatch_sample.csproj", "{4E1E7400-A012-49E2-8D28-A361F0E1BEE2}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln index ca5facab9..d2e3010ff 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln @@ -1,11 +1,11 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WSClientWPF_sample", "WSClientWPF_sample.csproj", "{F9737483-DC6C-45D1-8CB7-27138FD76D36}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WSClientWPF_sample", "WSClientWPF_sample.csproj", "{F9737483-DC6C-45D1-8CB7-27138FD76D36}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASPNETWebServiceCore", "..\..\..\..\..\Frameworks\Infrastructure\ServiceInterface\ASPNETWebServiceCore\ASPNETWebServiceCore\ASPNETWebServiceCore.csproj", "{C24BC2FA-D423-4F0F-B2B0-E647B621683D}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ASPNETWebServiceCore", "..\..\..\..\..\Frameworks\Infrastructure\ServiceInterface\ASPNETWebServiceCore\ASPNETWebServiceCore\ASPNETWebServiceCore.csproj", "{C24BC2FA-D423-4F0F-B2B0-E647B621683D}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -35,4 +35,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F39D98F3-8539-4D46-9501-AD17A4978939} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln index 01c2ce261..1f09ff052 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WSClientWin2_sample", "WSClientWin2_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WSClientWin2_sample", "WSClientWin2_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -29,6 +29,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {6CA41AA7-506E-4FEC-A53E-7A29ECB34695} + EndGlobalSection GlobalSection(DPCodeReviewSolutionGUID) = preSolution DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} EndGlobalSection diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.sln index 2cd564b8b..cdb5aec59 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27428.2015 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WSServer_sample", "WSServer_sample.csproj", "{E11525D4-EB70-4F4E-B758-42861377705E}" EndProject From 410e8e5397ecdc985e3a9d6ea1ee9dd14d5595bc Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Sun, 23 May 2021 18:32:16 +0900 Subject: [PATCH 18/59] Additional commit for #401. --- .../Infrastructure/BusinessRichClient_net47.sln | 11 +++++++---- .../Infrastructure/BusinessRichClient_net48.sln | 11 +++++++---- .../VB/Frameworks/Infrastructure/Business_net47.sln | 11 +++++++---- .../VB/Frameworks/Infrastructure/Business_net48.sln | 11 +++++++---- .../Samples/WebApp_sample/MVC_Sample/MVC_Sample.sln | 4 ++-- 5 files changed, 30 insertions(+), 18 deletions(-) diff --git a/root/programs/VB/Frameworks/Infrastructure/BusinessRichClient_net47.sln b/root/programs/VB/Frameworks/Infrastructure/BusinessRichClient_net47.sln index 997fb7a0f..7b96302d9 100644 --- a/root/programs/VB/Frameworks/Infrastructure/BusinessRichClient_net47.sln +++ b/root/programs/VB/Frameworks/Infrastructure/BusinessRichClient_net47.sln @@ -1,11 +1,11 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio 15 +VisualStudioVersion = 15.0.28307.1209 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Business.RichClient", "Business\RichClient\Business.RichClient_net47.vbproj", "{7649D699-681D-4BE0-9A36-24B0815ABCEF}" +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Business.RichClient_net47", "Business\RichClient\Business.RichClient_net47.vbproj", "{7649D699-681D-4BE0-9A36-24B0815ABCEF}" EndProject -Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "CustomControl.RichClient", "CustomControl\RichClient\CustomControl.RichClient_net47.vbproj", "{76C5D665-A592-4A35-85D9-B75590E026AA}" +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "CustomControl.RichClient_net47", "CustomControl\RichClient\CustomControl.RichClient_net47.vbproj", "{76C5D665-A592-4A35-85D9-B75590E026AA}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -25,6 +25,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {E366CD67-5961-4B90-AB04-97E23BB08659} + EndGlobalSection GlobalSection(DPCodeReviewSolutionGUID) = preSolution DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} EndGlobalSection diff --git a/root/programs/VB/Frameworks/Infrastructure/BusinessRichClient_net48.sln b/root/programs/VB/Frameworks/Infrastructure/BusinessRichClient_net48.sln index dc0b6413c..e42ea8841 100644 --- a/root/programs/VB/Frameworks/Infrastructure/BusinessRichClient_net48.sln +++ b/root/programs/VB/Frameworks/Infrastructure/BusinessRichClient_net48.sln @@ -1,11 +1,11 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Business.RichClient", "Business\RichClient\Business.RichClient_net48.vbproj", "{7649D699-681D-4BE0-9A36-24B0815ABCEF}" +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Business.RichClient_net48", "Business\RichClient\Business.RichClient_net48.vbproj", "{7649D699-681D-4BE0-9A36-24B0815ABCEF}" EndProject -Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "CustomControl.RichClient", "CustomControl\RichClient\CustomControl.RichClient_net48.vbproj", "{76C5D665-A592-4A35-85D9-B75590E026AA}" +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "CustomControl.RichClient_net48", "CustomControl\RichClient\CustomControl.RichClient_net48.vbproj", "{76C5D665-A592-4A35-85D9-B75590E026AA}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -25,6 +25,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {B5EDA025-E2E8-4F4D-A49C-14D2AADA91DD} + EndGlobalSection GlobalSection(DPCodeReviewSolutionGUID) = preSolution DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} EndGlobalSection diff --git a/root/programs/VB/Frameworks/Infrastructure/Business_net47.sln b/root/programs/VB/Frameworks/Infrastructure/Business_net47.sln index 2c0c57fdc..82f687c12 100644 --- a/root/programs/VB/Frameworks/Infrastructure/Business_net47.sln +++ b/root/programs/VB/Frameworks/Infrastructure/Business_net47.sln @@ -1,11 +1,11 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio 15 +VisualStudioVersion = 15.0.28307.1209 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Business", "Business\Business_net47.vbproj", "{BCB5C7D0-FBE4-43E2-8BED-096700A6A187}" +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Business_net47", "Business\Business_net47.vbproj", "{BCB5C7D0-FBE4-43E2-8BED-096700A6A187}" EndProject -Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "CustomControl", "CustomControl\CustomControl_net47.vbproj", "{64EDF4AB-8739-4027-976B-18BB731DAF76}" +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "CustomControl_net47", "CustomControl\CustomControl_net47.vbproj", "{64EDF4AB-8739-4027-976B-18BB731DAF76}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -25,6 +25,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F11E7AB1-870E-4BAF-84BA-DB729622493B} + EndGlobalSection GlobalSection(DPCodeReviewSolutionGUID) = preSolution DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} EndGlobalSection diff --git a/root/programs/VB/Frameworks/Infrastructure/Business_net48.sln b/root/programs/VB/Frameworks/Infrastructure/Business_net48.sln index 913b1fcc8..44420de97 100644 --- a/root/programs/VB/Frameworks/Infrastructure/Business_net48.sln +++ b/root/programs/VB/Frameworks/Infrastructure/Business_net48.sln @@ -1,11 +1,11 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Business", "Business\Business_net48.vbproj", "{BCB5C7D0-FBE4-43E2-8BED-096700A6A187}" +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Business_net48", "Business\Business_net48.vbproj", "{BCB5C7D0-FBE4-43E2-8BED-096700A6A187}" EndProject -Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "CustomControl", "CustomControl\CustomControl_net48.vbproj", "{64EDF4AB-8739-4027-976B-18BB731DAF76}" +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "CustomControl_net48", "CustomControl\CustomControl_net48.vbproj", "{64EDF4AB-8739-4027-976B-18BB731DAF76}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -25,6 +25,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {3800CEB5-07D9-440D-8B5C-FFE0771455A8} + EndGlobalSection GlobalSection(DPCodeReviewSolutionGUID) = preSolution DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} EndGlobalSection diff --git a/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample.sln b/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample.sln index ad66d6ce5..19c3aa1a5 100644 --- a/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample.sln +++ b/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29613.14 +# Visual Studio 14 +VisualStudioVersion = 14.0.23107.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "MVC_Sample", "MVC_Sample\MVC_Sample.vbproj", "{4427474C-E9AD-451F-BF2C-4EE737D59A60}" EndProject From 4879e57bdf9dfba8c00b8fd44e6a453ffc021a36 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Sun, 23 May 2021 19:05:15 +0900 Subject: [PATCH 19/59] fixed #400 --- .../Business/Presentation/MyBaseController.cs | 13 ++++++++++--- .../Business/Presentation/MyBaseMVController.cs | 6 +++++- .../Business/Presentation/MyBaseMVControllerCore.cs | 9 ++++----- .../Business/Presentation/MyBaseController.vb | 12 ++++++++---- .../Business/Presentation/MyBaseMVController.vb | 8 ++++---- 5 files changed, 31 insertions(+), 17 deletions(-) diff --git a/root/programs/CS/Frameworks/Infrastructure/Business/Presentation/MyBaseController.cs b/root/programs/CS/Frameworks/Infrastructure/Business/Presentation/MyBaseController.cs index 820d85912..ed7d9b8fe 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Business/Presentation/MyBaseController.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Business/Presentation/MyBaseController.cs @@ -57,6 +57,7 @@ //* 2017/02/28 西野 大介 TransferErrorScreen2のErrorMessage生成処理の見直し。 //* 2017/02/28 西野 大介 エラーログの見直し(その他の例外の場合、ex.ToString()を出力) //* 2018/07/19 西野 大介 復元後のユーザー情報をSessionに設定するコードを追加 +//* 2021/05/23 西野 大介 キャッシュ制御ヘッダの二重追加エラーの対応 //********************************************************************************** using System; @@ -383,9 +384,15 @@ private void CacheControlWithSwitch() // http://stackoverflow.com/questions/49547/how-to-control-web-page-caching-across-all-browsers // Using ASP.NET: - Response.AppendHeader("Cache-Control", "no-cache, no-store, must-revalidate"); // HTTP 1.1. - Response.AppendHeader("Pragma", "no-cache"); // HTTP 1.0. - Response.AppendHeader("Expires", "0"); // Proxies. + // Cache-Control + this.Response.Headers.Remove("Cache-Control"); + this.Response.AppendHeader("Cache-Control", "no-cache, no-store, must-revalidate"); // HTTP 1.1. + // Pragma + this.Response.Headers.Remove("Pragma"); + this.Response.AppendHeader("Pragma", "no-cache"); // HTTP 1.0. + // Expires + this.Response.Headers.Remove("Expires"); + this.Response.AppendHeader("Expires", "0"); // Proxies. } else if (noCache.ToUpper() == FxLiteral.OFF) diff --git a/root/programs/CS/Frameworks/Infrastructure/Business/Presentation/MyBaseMVController.cs b/root/programs/CS/Frameworks/Infrastructure/Business/Presentation/MyBaseMVController.cs index 0c8799a1f..44d864dce 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Business/Presentation/MyBaseMVController.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Business/Presentation/MyBaseMVController.cs @@ -45,6 +45,7 @@ //* 2017/02/28 西野 大介 TransferErrorScreenメソッドを追加した。 //* 2017/02/28 西野 大介 エラーログの見直し(その他の例外の場合、ex.ToString()を出力) //* 2018/07/19 西野 大介 復元後のユーザー情報をSessionに設定するコードを追加 +//* 2021/05/23 西野 大介 キャッシュ制御ヘッダの二重追加エラーの対応 //********************************************************************************** using System; @@ -609,9 +610,12 @@ private void CacheControlWithSwitch() // Using ASP.NET-MVC: this.Response.Cache.SetCacheability(HttpCacheability.NoCache); // HTTP 1.1. this.Response.Cache.AppendCacheExtension("no-store, must-revalidate"); + // Pragma + this.Response.Headers.Remove("Pragma"); this.Response.AppendHeader("Pragma", "no-cache"); // HTTP 1.0. + // Expires + this.Response.Headers.Remove("Expires"); this.Response.AppendHeader("Expires", "0"); // Proxies. - } else if (noCache.ToUpper() == FxLiteral.OFF) { diff --git a/root/programs/CS/Frameworks/Infrastructure/Business/Presentation/MyBaseMVControllerCore.cs b/root/programs/CS/Frameworks/Infrastructure/Business/Presentation/MyBaseMVControllerCore.cs index 69c71e9a1..a35534586 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Business/Presentation/MyBaseMVControllerCore.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Business/Presentation/MyBaseMVControllerCore.cs @@ -30,6 +30,7 @@ //* 2018/04/19 西野 大介 新規作成 //* 2018/07/19 西野 大介 復元後のユーザー情報をSessionに設定するコードを追加 //* 2018/08/08 西野 大介 MyMVCCoreFilterAttributeをFilterAttributeとして設定 +//* 2021/05/23 西野 大介 キャッシュ制御ヘッダの二重追加エラーの対応 //********************************************************************************** using System; @@ -291,14 +292,12 @@ private void CacheControlWithSwitch() // https://www.ipa.go.jp/security/awareness/vendor/programmingv2/contents/405.html // Using ASP.NET-MVC: - //this.Response.Cache.SetCacheability(HttpCacheability.NoCache); // HTTP 1.1. - //this.Response.Cache.AppendCacheExtension("no-store, must-revalidate"); + MyHttpContext.Current.Response.Headers.Remove("Cache-Control"); MyHttpContext.Current.Response.Headers.Add("Cache-Control", new StringValues(new string[] { "no-cache", "no-store", "must-revalidate" })); - - //this.Response.AppendHeader("Pragma", "no-cache"); // HTTP 1.0. + MyHttpContext.Current.Response.Headers.Remove("Pragma"); MyHttpContext.Current.Response.Headers.Add("Pragma", new StringValues("no-cache")); - //this.Response.AppendHeader("Expires", "0"); // Proxies. + MyHttpContext.Current.Response.Headers.Remove("Expires"); MyHttpContext.Current.Response.Headers.Add("Expires", new StringValues("0")); } else if (noCache.ToUpper() == FxLiteral.OFF) diff --git a/root/programs/VB/Frameworks/Infrastructure/Business/Presentation/MyBaseController.vb b/root/programs/VB/Frameworks/Infrastructure/Business/Presentation/MyBaseController.vb index 287385179..8a06fed8d 100644 --- a/root/programs/VB/Frameworks/Infrastructure/Business/Presentation/MyBaseController.vb +++ b/root/programs/VB/Frameworks/Infrastructure/Business/Presentation/MyBaseController.vb @@ -57,6 +57,7 @@ '* 2016/03/03 Supragyan Modified default relative path of the sample application screens (merge) '* 2017/02/28 西野 大介 エラーログの見直し(その他の例外の場合、ex.ToString()を出力) '* 2018/07/19 西野 大介 復元後のユーザー情報をSessionに設定するコードを追加 +'* 2021/05/23 西野 大介 キャッシュ制御ヘッダの二重追加エラーの対応 '********************************************************************************** Imports System.Web @@ -347,14 +348,17 @@ Namespace Touryo.Infrastructure.Business.Presentation ' http://stackoverflow.com/questions/49547/how-to-control-web-page-caching-across-all-browsers ' Using ASP.NET: - Response.AppendHeader("Cache-Control", "no-cache, no-store, must-revalidate") + Me.Response.Headers.Remove("Cache-Control") + Me.Response.AppendHeader("Cache-Control", "no-cache, no-store, must-revalidate") ' HTTP 1.1. - Response.AppendHeader("Pragma", "no-cache") + Me.Response.Headers.Remove("Pragma") + Me.Response.AppendHeader("Pragma", "no-cache") ' HTTP 1.0. ' Proxies. - Response.AppendHeader("Expires", "0") - ' OFF + Me.Response.Headers.Remove("Expires") + Me.Response.AppendHeader("Expires", "0") ElseIf noCache.ToUpper() = FxLiteral.OFF Then + ' OFF Else ' パラメータ・エラー(書式不正) Throw New FrameworkException(FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH1(0), [String].Format(FrameworkExceptionMessage.ERROR_IN_WRITING_OF_FX_SWITCH1(1), MyLiteral.CACHE_CONTROL)) diff --git a/root/programs/VB/Frameworks/Infrastructure/Business/Presentation/MyBaseMVController.vb b/root/programs/VB/Frameworks/Infrastructure/Business/Presentation/MyBaseMVController.vb index 7ce382720..5d177d4c1 100644 --- a/root/programs/VB/Frameworks/Infrastructure/Business/Presentation/MyBaseMVController.vb +++ b/root/programs/VB/Frameworks/Infrastructure/Business/Presentation/MyBaseMVController.vb @@ -45,6 +45,7 @@ '* 2017/02/28 西野 大介 TransferErrorScreenメソッドを追加した。 '* 2017/02/28 西野 大介 エラーログの見直し(その他の例外の場合、ex.ToString()を出力) '* 2018/07/19 西野 大介 復元後のユーザー情報をSessionに設定するコードを追加 +'* 2021/05/23 西野 大介 キャッシュ制御ヘッダの二重追加エラーの対応 '********************************************************************************** Imports System.Web @@ -576,14 +577,13 @@ Namespace Touryo.Infrastructure.Business.Presentation ' Using ASP.NET-MVC: Me.Response.Cache.SetCacheability(HttpCacheability.NoCache) - ' HTTP 1.1. Me.Response.Cache.AppendCacheExtension("no-store, must-revalidate") + Me.Response.Headers.Remove("Pragma") Me.Response.AppendHeader("Pragma", "no-cache") - ' HTTP 1.0. - ' Proxies. + Me.Response.Headers.Remove("Expires") Me.Response.AppendHeader("Expires", "0") - ' OFF ElseIf noCache.ToUpper() = FxLiteral.OFF Then + ' OFF Else ' パラメータ・エラー(書式不正) Throw New FrameworkException( From dc00e825135b4e63274b3ade5a0b043d9a87ccc9 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Sun, 23 May 2021 20:13:48 +0900 Subject: [PATCH 20/59] Now, I am fixing #398. --- .../Simple_CLI/Simple_CLI/Program.cs | 4 +- .../DAG_Login_CLI/DAG_Login_CLI.csproj | 12 +++ .../DAG_Login_CLI/DAG_Login_CLI/Program.cs | 98 ++++++++++++++++++- .../Simple_CLI/Simple_CLI/Program.cs | 4 +- 4 files changed, 112 insertions(+), 6 deletions(-) diff --git a/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs index 619d999f2..bcd9704c4 100644 --- a/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs +++ b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs @@ -27,11 +27,11 @@ using System.Threading; using System.Diagnostics; -using Sharprompt; - using System.CommandLine; using System.CommandLine.Invocation; +using Sharprompt; + using Newtonsoft; using Newtonsoft.Json; diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj index f13eb956c..f756b9e49 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj @@ -11,4 +11,16 @@ + + + ..\..\..\..\..\..\..\..\..\OAuthOIDC\MultiPurposeAuthSite\root\programs\OpenTouryoAssemblies\Build_netcore50\net5.0\OpenTouryo.Framework.dll + + + ..\..\..\..\..\..\..\..\..\OAuthOIDC\MultiPurposeAuthSite\root\programs\OpenTouryoAssemblies\Build_netcore50\net5.0\OpenTouryo.Public.dll + + + ..\..\..\..\..\..\..\..\..\OAuthOIDC\MultiPurposeAuthSite\root\programs\OpenTouryoAssemblies\Build_netcore50\net5.0\OpenTouryo.Public.Security.dll + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs index 8f72cbe72..7748a4dad 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs @@ -27,14 +27,20 @@ using System.IO; using System.Threading; using System.Diagnostics; +using System.Net.Http; -using Sharprompt; +using Touryo.Infrastructure.Public.IO; +using Touryo.Infrastructure.Public.FastReflection; +using Touryo.Infrastructure.Framework.Authentication; using System.CommandLine; using System.CommandLine.Invocation; +using Sharprompt; + using Newtonsoft; using Newtonsoft.Json; +using Newtonsoft.Json.Linq; namespace DAG_Login_CLI { @@ -48,6 +54,10 @@ public class Program /// int static async Task Main(string[] args) { + // 初期化 + // デバイスフロー用 + OAuth2AndOIDCClient.HttpClient = new HttpClient(); + #region rootCommand // Create a root command with some options Command rootCommand = new RootCommand @@ -139,9 +149,93 @@ private static void RootCommand( #region LoginCommand /// LoginCommand /// aString - private static void LoginCommand(string aString) + private static async Task LoginCommand(string aString) { Console.WriteLine($"Sub command login: {aString}"); + + // リクエスト + string client_id = "67d328bfe8604aae83fb15fa44780d8b"; + string device_code = ""; + string userCode = ""; + string rootURI = "https://localhost:44300/MultiPurposeAuthSite"; + string oAuth2TokenEndpoint = "/token"; + string oAuth2UselInfoEndpoint = "/userinfo"; + string deviceAuthZAuthorizeEndpoint = "/device_authz"; + + // URL + Uri tokenEndpointUri = new Uri(rootURI + oAuth2TokenEndpoint); + Uri uselInfoEndpointUri = new Uri(rootURI + oAuth2UselInfoEndpoint); + Uri deviceAuthZAuthorizeEndpointUri = new Uri(rootURI + deviceAuthZAuthorizeEndpoint); + + // DeviceAuthZRequestAsync + string responseString = await OAuth2AndOIDCClient + .DeviceAuthZRequestAsync(deviceAuthZAuthorizeEndpointUri, client_id); + + // レスポンス + JObject responseJObject = (JObject)JsonConvert.DeserializeObject(responseString); + device_code = (string)responseJObject[OAuth2AndOIDCConst.device_code]; + userCode = (string)responseJObject[OAuth2AndOIDCConst.user_code]; + string verificationUri = rootURI + (string)responseJObject[OAuth2AndOIDCConst.verification_uri]; + string verificationUriComplete = rootURI + (string)responseJObject[OAuth2AndOIDCConst.verification_uri_complete]; + + // 表示 + //Console.WriteLine("deviceCode: " + deviceCode); + Console.WriteLine("userCode: " + userCode); + Console.WriteLine("verificationUri: " + verificationUri); + Console.WriteLine("verificationUriComplete: " + verificationUriComplete); + + // ポーリングを開始します。 + bool answer = Prompt.Confirm("Are you ready?"); + Console.WriteLine($"Your answer is {answer}"); + + // Tokenリクエスト + bool continueLoop = true; + ExponentialBackoff exponentialBackoff = new ExponentialBackoff(10, 5); // config化必要? + + while (continueLoop) + { + Console.WriteLine("... polling ..."); + // GetAccessTokenByDeviceAuthZAsync + string response = await OAuth2AndOIDCClient + .GetAccessTokenByDeviceAuthZAsync(tokenEndpointUri, client_id, device_code); + + JObject temp = (JObject)JsonConvert.DeserializeObject(response); + + if (!temp.ContainsKey(OAuth2AndOIDCConst.error)) + { + // 正常系 + continueLoop = false; + + // GetUserInfoAsync + string userInfo = await OAuth2AndOIDCClient + .GetUserInfoAsync(uselInfoEndpointUri, (string)temp[OAuth2AndOIDCConst.AccessToken]); + + Console.WriteLine("NORMAL_END :"); + Console.WriteLine(userInfo); + } + else + { + // 異常系 + if ((string)temp[OAuth2AndOIDCConst.error] == OAuth2AndOIDCEnum.CibaState.authorization_pending.ToStringByEmit()) + { + // authorization_pending + continueLoop = exponentialBackoff.Sleep(); + } + else + { + // authorization_pending以外 + // 終了 + continueLoop = false; + Console.WriteLine("ABNORMAL_END"); + } + } + } + + /* + // + // 完了(SAMLのテストコードっぽくした) + return Redirect(Config.OAuth2AuthorizationServerEndpointsRootURI + "?ret=OK_" + result); + */ } #endregion diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Program.cs b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Program.cs index 9c0fb3cf5..077896f3f 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Program.cs +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Program.cs @@ -27,11 +27,11 @@ using System.Threading; using System.Diagnostics; -using Sharprompt; - using System.CommandLine; using System.CommandLine.Invocation; +using Sharprompt; + using Newtonsoft; using Newtonsoft.Json; From 6ec95911d4b1f1b70c5bd6bddcc4de610ab827cb Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Mon, 24 May 2021 16:15:50 +0900 Subject: [PATCH 21/59] fixed #398 --- .../CLI_sample/DAG_Login_CLI/README.md | 5 +- .../CLI_sample/LIR _Login_CLI/README.md | 5 +- .../DAG_Login_CLI/DAG_Login_CLI/Program.cs | 29 +- .../LIR _Login_CLI/LIR _Login_CLI.sln | 25 ++ .../LIR _Login_CLI/LIR _Login_CLI.csproj | 27 ++ .../LIR _Login_CLI/LIR _Login_CLI/Program.cs | 340 ++++++++++++++++++ 6 files changed, 415 insertions(+), 16 deletions(-) create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI.sln create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI/LIR _Login_CLI.csproj create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI/Program.cs diff --git a/root/programs/CS/Samples/CLI_sample/DAG_Login_CLI/README.md b/root/programs/CS/Samples/CLI_sample/DAG_Login_CLI/README.md index 3fdab6ab5..9597c69bf 100644 --- a/root/programs/CS/Samples/CLI_sample/DAG_Login_CLI/README.md +++ b/root/programs/CS/Samples/CLI_sample/DAG_Login_CLI/README.md @@ -1 +1,4 @@ -DAG : OAuth 2.0 Device Authorization Grant \ No newline at end of file +DAG : OAuth 2.0 Device Authorization Grant + +System.CommandLineのbetaが解除され、Ctrl-Cで +CancellationTokenがハングする問題が修正されたら.NET5版から移植する。 \ No newline at end of file diff --git a/root/programs/CS/Samples/CLI_sample/LIR _Login_CLI/README.md b/root/programs/CS/Samples/CLI_sample/LIR _Login_CLI/README.md index 92cb873e9..f1fb33853 100644 --- a/root/programs/CS/Samples/CLI_sample/LIR _Login_CLI/README.md +++ b/root/programs/CS/Samples/CLI_sample/LIR _Login_CLI/README.md @@ -1 +1,4 @@ -LIR : Loopback Interface Redirection of OAuth 2.0 for Native Apps \ No newline at end of file +LIR : Loopback Interface Redirection of OAuth 2.0 for Native Apps + +System.CommandLineのbetaが解除され、Ctrl-Cで +CancellationTokenがハングする問題が修正されたら.NET5版から移植する。 \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs index 7748a4dad..80ca719e5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs @@ -1,5 +1,5 @@ //********************************************************************************** -//* 単純CLIサンプル アプリ +//* DAGログインCLIサンプル アプリ //********************************************************************************** // テスト用サンプルなので、必要に応じて流用 or 削除して下さい。 @@ -154,20 +154,25 @@ private static async Task LoginCommand(string aString) Console.WriteLine($"Sub command login: {aString}"); // リクエスト - string client_id = "67d328bfe8604aae83fb15fa44780d8b"; - string device_code = ""; - string userCode = ""; + + // URL string rootURI = "https://localhost:44300/MultiPurposeAuthSite"; string oAuth2TokenEndpoint = "/token"; string oAuth2UselInfoEndpoint = "/userinfo"; string deviceAuthZAuthorizeEndpoint = "/device_authz"; - // URL + // パラメタ + string client_id = "67d328bfe8604aae83fb15fa44780d8b"; + string device_code = ""; + string userCode = ""; + + // URI Uri tokenEndpointUri = new Uri(rootURI + oAuth2TokenEndpoint); Uri uselInfoEndpointUri = new Uri(rootURI + oAuth2UselInfoEndpoint); Uri deviceAuthZAuthorizeEndpointUri = new Uri(rootURI + deviceAuthZAuthorizeEndpoint); // DeviceAuthZRequestAsync + // リクエスト string responseString = await OAuth2AndOIDCClient .DeviceAuthZRequestAsync(deviceAuthZAuthorizeEndpointUri, client_id); @@ -178,23 +183,24 @@ private static async Task LoginCommand(string aString) string verificationUri = rootURI + (string)responseJObject[OAuth2AndOIDCConst.verification_uri]; string verificationUriComplete = rootURI + (string)responseJObject[OAuth2AndOIDCConst.verification_uri_complete]; - // 表示 + // 結果表示 //Console.WriteLine("deviceCode: " + deviceCode); Console.WriteLine("userCode: " + userCode); Console.WriteLine("verificationUri: " + verificationUri); Console.WriteLine("verificationUriComplete: " + verificationUriComplete); - // ポーリングを開始します。 + // ポーリング開始 bool answer = Prompt.Confirm("Are you ready?"); Console.WriteLine($"Your answer is {answer}"); - // Tokenリクエスト bool continueLoop = true; ExponentialBackoff exponentialBackoff = new ExponentialBackoff(10, 5); // config化必要? while (continueLoop) { Console.WriteLine("... polling ..."); + + // Tokenリクエスト // GetAccessTokenByDeviceAuthZAsync string response = await OAuth2AndOIDCClient .GetAccessTokenByDeviceAuthZAsync(tokenEndpointUri, client_id, device_code); @@ -206,6 +212,7 @@ private static async Task LoginCommand(string aString) // 正常系 continueLoop = false; + // UserInfoリクエスト // GetUserInfoAsync string userInfo = await OAuth2AndOIDCClient .GetUserInfoAsync(uselInfoEndpointUri, (string)temp[OAuth2AndOIDCConst.AccessToken]); @@ -230,12 +237,6 @@ private static async Task LoginCommand(string aString) } } } - - /* - // - // 完了(SAMLのテストコードっぽくした) - return Redirect(Config.OAuth2AuthorizationServerEndpointsRootURI + "?ret=OK_" + result); - */ } #endregion diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI.sln b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI.sln new file mode 100644 index 000000000..b76a69af5 --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LIR _Login_CLI", "LIR _Login_CLI\LIR _Login_CLI.csproj", "{1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {BB325D9D-3010-4CAD-AB0D-9079A9471EF5} + EndGlobalSection +EndGlobal diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI/LIR _Login_CLI.csproj b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI/LIR _Login_CLI.csproj new file mode 100644 index 000000000..4373c8dcd --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI/LIR _Login_CLI.csproj @@ -0,0 +1,27 @@ + + + + Exe + net5.0 + + + + + + + + + + + + ..\..\..\..\..\..\..\..\..\OAuthOIDC\MultiPurposeAuthSite\root\programs\OpenTouryoAssemblies\Build_netcore50\net5.0\OpenTouryo.Framework.dll + + + ..\..\..\..\..\..\..\..\..\OAuthOIDC\MultiPurposeAuthSite\root\programs\OpenTouryoAssemblies\Build_netcore50\net5.0\OpenTouryo.Public.dll + + + ..\..\..\..\..\..\..\..\..\OAuthOIDC\MultiPurposeAuthSite\root\programs\OpenTouryoAssemblies\Build_netcore50\net5.0\OpenTouryo.Public.Security.dll + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI/Program.cs b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI/Program.cs new file mode 100644 index 000000000..d97f99172 --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI/Program.cs @@ -0,0 +1,340 @@ +//********************************************************************************** +//* LIRログインCLIサンプル アプリ +//********************************************************************************** + +// テスト用サンプルなので、必要に応じて流用 or 削除して下さい。 + +//********************************************************************************** +//* クラス名 :Program +//* クラス日本語名 :LIRログインCLIサンプル アプリ +//* LIR:Loopback Interface Redirection of OAuth 2.0 for Native Apps +//* +//* 作成日時 :- +//* 作成者 :開発基盤部会 +//* 更新履歴 : +//* +//* 日時 更新者 内容 +//* ---------- ---------------- ------------------------------------------------- +//* 20xx/xx/xx XX XX XXXX +//********************************************************************************** + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +using System.IO; +using System.Threading; +using System.Diagnostics; +using System.ComponentModel; +using System.Runtime.InteropServices; +using System.Net; +using System.Net.Http; + +using Touryo.Infrastructure.Public.IO; +using Touryo.Infrastructure.Public.FastReflection; +using Touryo.Infrastructure.Public.Security.Pwd; +using Touryo.Infrastructure.Framework.Authentication; + +using System.CommandLine; +using System.CommandLine.Invocation; + +using Sharprompt; + +using Newtonsoft; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; + +namespace LIR_Login_CLI +{ + /// Program + public class Program + { + /// + /// 'async main' は C# 7.1 以上の言語バージョンが必要(→ VS 2019)。 + /// + /// string[] + /// int + static async Task Main(string[] args) + { + // 初期化 + // デバイスフロー用 + OAuth2AndOIDCClient.HttpClient = new HttpClient(); + + #region rootCommand + // Create a root command with some options + Command rootCommand = new RootCommand + { + // alias、default value、description + new Option( + alias: "--int-option", + getDefaultValue: () => 42, + description: "An option whose argument is parsed as an int"), + new Option( + alias: "--bool-option", + description: "An option whose argument is parsed as a bool"), + new Option( + alias: "--file-option", + description: "An option whose argument is parsed as a FileInfo"), + new Option( + alias: "--file-access-option", + getDefaultValue: () => FileAccess.Read, + description: "An option whose argument is parsed as a FileAccess") + }; + + rootCommand.Description = "My sample app"; + + // Note that the parameters of the handler method are matched according to the names of the options + rootCommand.Handler = CommandHandler.Create(Program.RootCommand); + #endregion + + #region subCommand + + #region subCommand1 + Command subCommand1 = new Command(name: "cmd1", description: "Sub command cmd1"); + subCommand1.AddOption(new Option(alias: "--an-int")); + subCommand1.Handler = CommandHandler.Create( + (int anInt) => + { + Console.WriteLine($"Sub command cmd1: {anInt}"); + } + ); + rootCommand.AddCommand(subCommand1); + #endregion + + #region subCommand2 + Command subCommand2 = new Command(name: "cmd2", description: "Sub command cmd2"); + subCommand2.AddOption(new Option(alias: "--a-string")); + subCommand2.Handler = CommandHandler.Create( + (string aString) => + { + Console.WriteLine($"Sub command cmd2: {aString}"); + } + ); + rootCommand.AddCommand(subCommand2); + #endregion + + #region LoginCommand + Command LoginCommand = new Command(name: "login", description: "Sub command login"); + LoginCommand.AddOption(new Option(alias: "--a-string")); + LoginCommand.Handler = CommandHandler.Create(Program.LoginCommand); + rootCommand.AddCommand(LoginCommand); + #endregion + + #endregion + + // テストの実行 + await Program.Test(rootCommand); + + // Parse the incoming args and invoke the handler + return rootCommand.InvokeAsync(args).Result; + } + + #region Command + + #region RootCommand + /// RootCommand + /// int + /// bool + /// FileInfo + /// FileAccess + private static void RootCommand( + int intOption, bool boolOption, FileInfo fileOption, FileAccess fileAccessOption) + { + Console.WriteLine( + $"--int-option is: {intOption}, " + + $"--bool-option is: {boolOption}, " + + $"--file-option is: {fileOption?.Name ?? "null"}, " + + $"--file-access-option is: {fileAccessOption.ToString()}"); + } + #endregion + + #region LoginCommand + /// LoginCommand + /// aString + private static async Task LoginCommand(string aString) + { + if (!HttpListener.IsSupported) + { + Console.WriteLine("HttpListener is not supported."); + return; + } + + Console.WriteLine($"Sub command login: {aString}"); + + // リクエスト + + // URL + string rootURI = "https://localhost:44300/MultiPurposeAuthSite"; + string oAuth2AuthorizeEndpoint = "/authorize"; + string oAuth2TokenEndpoint = "/token"; + string oAuth2UselInfoEndpoint = "/userinfo"; + + // パラメタ + string client_id = "ae5a179813234ca290c8de93ef2e31dc"; + string redirect_uri = "http://localhost:12345/"; + string state = GetPassword.Generate(10, 0); + string code_verifier = GetPassword.Base64UrlSecret(50); + string code_challenge = OAuth2AndOIDCClient.PKCE_S256_CodeChallengeMethod(code_verifier); + string target = rootURI + oAuth2AuthorizeEndpoint + string.Format( + "?client_id={0}&response_type={1}&scope={2}&state={3}&code_challenge={4}&code_challenge_method={5}", + client_id, + OAuth2AndOIDCConst.AuthorizationCodeResponseType, + OAuth2AndOIDCConst.email_verified, + state, code_challenge, + OAuth2AndOIDCConst.PKCE_S256); + + // URI + Uri tokenEndpointUri = new Uri(rootURI + oAuth2TokenEndpoint); + Uri uselInfoEndpointUri = new Uri(rootURI + oAuth2UselInfoEndpoint); + //Uri authorizeEndpointUri = new Uri(target); + + #region 認可リクエスト・レスポンス + HttpListener listener = null; + HttpListenerRequest listenerRequest = null; + HttpListenerResponse listenerResponse = null; + Stream output = null; + try + { + #region レスポンスの準備 + // リスナーを起動して受信 + listener = new HttpListener(); + listener.Prefixes.Add(redirect_uri); + listener.Start(); + Console.WriteLine("Listening..."); + #endregion + + #region 認可リクエスト。 + try + { + // ブラウザを起動して送信 + if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) + { + //Windowsのとき + target = target.Replace("&", "^&"); + Process.Start( + new ProcessStartInfo("cmd", $"/c start {target}") { CreateNoWindow = true }); + } + else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) + { + // Linuxのとき + Process.Start("xdg-open", target); + } + else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) + { + // Macのとき + Process.Start("open", target); + } + else + { + throw new Exception("Unknown OS platform."); + } + } + catch (Win32Exception noBrowser) + { + + Console.WriteLine(noBrowser.Message); + return; + } + catch (System.Exception other) + { + Console.WriteLine(other.Message); + return; + } + + // 受信と返信 + HttpListenerContext context = listener.GetContext(); + listenerRequest = context.Request; + listenerResponse = context.Response; + + byte[] buffer = System.Text.Encoding.UTF8.GetBytes( + "Accepted the authorization response."); + + // 返信 + listenerResponse.ContentLength64 = buffer.Length; + output = listenerResponse.OutputStream; + output.Write(buffer, 0, buffer.Length); + #endregion + } + finally + { + // 後処理 + output.Close(); + listener.Stop(); + } + #endregion + + string code = listenerRequest.QueryString["code"]; + + // Tokenリクエスト + // GetAccessTokenByDeviceAuthZAsync + string response = await OAuth2AndOIDCClient + .GetAccessTokenByCodeAsync( + tokenEndpointUri, client_id, "", + redirect_uri, code, code_verifier); + + JObject temp = (JObject)JsonConvert.DeserializeObject(response); + + if (!temp.ContainsKey(OAuth2AndOIDCConst.error)) + { + // 正常系 + + // UserInfoリクエスト + // GetUserInfoAsync + string userInfo = await OAuth2AndOIDCClient + .GetUserInfoAsync(uselInfoEndpointUri, (string)temp[OAuth2AndOIDCConst.AccessToken]); + + Console.WriteLine("NORMAL_END :"); + Console.WriteLine(userInfo); + } + else + { + // 異常系 + Console.WriteLine("ABNORMAL_END"); + } + } + #endregion + + #endregion + + #region TEST + /// Test + /// Command + /// Task + private static async Task Test(Command rootCommand) + { + // デバッグ実行時だけ実行 + if (!Debugger.IsAttached) return; + + #region rootCommand + await rootCommand.InvokeAsync(""); + // --int-option + await rootCommand.InvokeAsync("--int-option"); + await rootCommand.InvokeAsync("--int-option 123"); + await rootCommand.InvokeAsync("--int-option hoge"); + // --bool-option + await rootCommand.InvokeAsync("--bool-option"); + await rootCommand.InvokeAsync("--bool-option False"); + await rootCommand.InvokeAsync("--bool-option True"); + await rootCommand.InvokeAsync("--bool-option hoge"); + // --file-option + await rootCommand.InvokeAsync("--file-option ../Program.cs"); + // --file-access-option + await rootCommand.InvokeAsync("--file-access-option Read"); + await rootCommand.InvokeAsync("--file-access-option Write"); + await rootCommand.InvokeAsync("--file-access-option hoge"); + #endregion + + #region subCommand + // subCommand1 + await rootCommand.InvokeAsync("cmd1 --an-int 123"); + // subCommand2 + await rootCommand.InvokeAsync("cmd2 --a-string hoge"); + // subCommandLogin + await rootCommand.InvokeAsync("login"); + #endregion + } + #endregion + } +} From 68572b0b6d34d87f712a07943cda10265ee44fea Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Mon, 24 May 2021 16:46:11 +0900 Subject: [PATCH 22/59] Now, I am fixing #398. --- .../Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs index 80ca719e5..d216ba298 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs @@ -162,7 +162,7 @@ private static async Task LoginCommand(string aString) string deviceAuthZAuthorizeEndpoint = "/device_authz"; // パラメタ - string client_id = "67d328bfe8604aae83fb15fa44780d8b"; + string client_id = "ae5a179813234ca290c8de93ef2e31dc"; string device_code = ""; string userCode = ""; From 69b33f2a5ecb1251729e9e564224a69f65e84404 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Mon, 24 May 2021 16:54:16 +0900 Subject: [PATCH 23/59] Now, I am fixing #398. --- root/programs/CS/0_ExecAllBat.bat | 3 ++ root/programs/CS/5_Build_CLICore_sample.bat | 43 +++++++++++++++++++++ root/programs/CS/5_Build_CLI_sample.bat | 26 +++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 root/programs/CS/5_Build_CLICore_sample.bat create mode 100644 root/programs/CS/5_Build_CLI_sample.bat diff --git a/root/programs/CS/0_ExecAllBat.bat b/root/programs/CS/0_ExecAllBat.bat index 61fc1dc26..88a43df17 100644 --- a/root/programs/CS/0_ExecAllBat.bat +++ b/root/programs/CS/0_ExecAllBat.bat @@ -44,6 +44,9 @@ echo | call 5_Build_2CSCore_sample.bat echo | call 5_Build_Bat_sample.bat echo | call 5_Build_BatCore_sample.bat +echo | call 5_Build_CLI_sample.bat +echo | call 5_Build_CLICore_sample.bat + echo | call 6_Build_WSSrv_sample.bat echo | call 6_Build_WSSrvCore_sample.bat diff --git a/root/programs/CS/5_Build_CLICore_sample.bat b/root/programs/CS/5_Build_CLICore_sample.bat new file mode 100644 index 000000000..c15a153ae --- /dev/null +++ b/root/programs/CS/5_Build_CLICore_sample.bat @@ -0,0 +1,43 @@ +setlocal + +@rem -------------------------------------------------- +@rem Turn off the echo function. +@rem -------------------------------------------------- +@echo off + +@rem -------------------------------------------------- +@rem Get the path to the executable file. +@rem -------------------------------------------------- +set CURRENT_DIR="%~dp0" + +@rem -------------------------------------------------- +@rem Execution of the common processing. +@rem -------------------------------------------------- +call %CURRENT_DIR%z_Common.bat + +rem -------------------------------------------------- +rem Batch build of Simple_CLI. +rem -------------------------------------------------- +dotnet restore "Samples4NetCore\Legacy\CLI_sample\Simple_CLI\Simple_CLI.sln" +dotnet msbuild %COMMANDLINE% "Samples4NetCore\Legacy\CLI_sample\Simple_CLI\Simple_CLI.sln" + +pause + +rem -------------------------------------------------- +rem Batch build of DAG_Login_CLI. +rem -------------------------------------------------- +dotnet restore "Samples4NetCore\Legacy\CLI_sample\DAG_Login_CLI\DAG_Login_CLI.sln" +dotnet msbuild %COMMANDLINE% "Samples4NetCore\Legacy\CLI_sample\DAG_Login_CLI\DAG_Login_CLI.sln" + +pause + +rem -------------------------------------------------- +rem Batch build of LIR _Login_CLI. +rem -------------------------------------------------- +dotnet restore "Samples4NetCore\Legacy\CLI_sample\LIR _Login_CLI\LIR _Login_CLI.sln" +dotnet msbuild %COMMANDLINE% "Samples4NetCore\Legacy\CLI_sample\LIR _Login_CLI\LIR _Login_CLI.sln" + +pause + +rem ------------------------------------------------------- +endlocal diff --git a/root/programs/CS/5_Build_CLI_sample.bat b/root/programs/CS/5_Build_CLI_sample.bat new file mode 100644 index 000000000..6c110043a --- /dev/null +++ b/root/programs/CS/5_Build_CLI_sample.bat @@ -0,0 +1,26 @@ +setlocal + +@rem -------------------------------------------------- +@rem Turn off the echo function. +@rem -------------------------------------------------- +@echo off + +@rem -------------------------------------------------- +@rem Get the path to the executable file. +@rem -------------------------------------------------- +set CURRENT_DIR="%~dp0" + +@rem -------------------------------------------------- +@rem Execution of the common processing. +@rem -------------------------------------------------- +call %CURRENT_DIR%z_Common.bat + +rem -------------------------------------------------- +rem Batch build of Simple_CLI. +rem -------------------------------------------------- +%BUILDFILEPATH% %COMMANDLINE% "Samples\CLI_sample\Simple_CLI\Simple_CLI.sln" + +pause + +rem ------------------------------------------------------- +endlocal From 78ec9b3a65722dc88998ae40b0f267a3d3170cb7 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Mon, 24 May 2021 17:43:18 +0900 Subject: [PATCH 24/59] Now, I am fixing #398. --- root/programs/VB/5_Build_CLI_sample.bat | 26 +++++++++ .../CLI_sample/DAG_Login_CLI/README.md | 4 ++ .../CLI_sample/LIR _Login_CLI/README.md | 4 ++ .../Samples/CLI_sample/Simple_CLI/README.md | 1 + .../CLI_sample/Simple_CLI/Simple_CLI.sln | 25 +++++++++ .../Simple_CLI/Simple_CLI/App.config | 6 +++ .../Simple_CLI/Simple_CLI/Program.cs | 15 ++++++ .../Simple_CLI/Properties/AssemblyInfo.cs | 36 +++++++++++++ .../Simple_CLI/Simple_CLI/Simple_CLI.csproj | 53 +++++++++++++++++++ 9 files changed, 170 insertions(+) create mode 100644 root/programs/VB/5_Build_CLI_sample.bat create mode 100644 root/programs/VB/Samples/CLI_sample/DAG_Login_CLI/README.md create mode 100644 root/programs/VB/Samples/CLI_sample/LIR _Login_CLI/README.md create mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/README.md create mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln create mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/App.config create mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs create mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Properties/AssemblyInfo.cs create mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj diff --git a/root/programs/VB/5_Build_CLI_sample.bat b/root/programs/VB/5_Build_CLI_sample.bat new file mode 100644 index 000000000..6c110043a --- /dev/null +++ b/root/programs/VB/5_Build_CLI_sample.bat @@ -0,0 +1,26 @@ +setlocal + +@rem -------------------------------------------------- +@rem Turn off the echo function. +@rem -------------------------------------------------- +@echo off + +@rem -------------------------------------------------- +@rem Get the path to the executable file. +@rem -------------------------------------------------- +set CURRENT_DIR="%~dp0" + +@rem -------------------------------------------------- +@rem Execution of the common processing. +@rem -------------------------------------------------- +call %CURRENT_DIR%z_Common.bat + +rem -------------------------------------------------- +rem Batch build of Simple_CLI. +rem -------------------------------------------------- +%BUILDFILEPATH% %COMMANDLINE% "Samples\CLI_sample\Simple_CLI\Simple_CLI.sln" + +pause + +rem ------------------------------------------------------- +endlocal diff --git a/root/programs/VB/Samples/CLI_sample/DAG_Login_CLI/README.md b/root/programs/VB/Samples/CLI_sample/DAG_Login_CLI/README.md new file mode 100644 index 000000000..9597c69bf --- /dev/null +++ b/root/programs/VB/Samples/CLI_sample/DAG_Login_CLI/README.md @@ -0,0 +1,4 @@ +DAG : OAuth 2.0 Device Authorization Grant + +System.CommandLineのbetaが解除され、Ctrl-Cで +CancellationTokenがハングする問題が修正されたら.NET5版から移植する。 \ No newline at end of file diff --git a/root/programs/VB/Samples/CLI_sample/LIR _Login_CLI/README.md b/root/programs/VB/Samples/CLI_sample/LIR _Login_CLI/README.md new file mode 100644 index 000000000..f1fb33853 --- /dev/null +++ b/root/programs/VB/Samples/CLI_sample/LIR _Login_CLI/README.md @@ -0,0 +1,4 @@ +LIR : Loopback Interface Redirection of OAuth 2.0 for Native Apps + +System.CommandLineのbetaが解除され、Ctrl-Cで +CancellationTokenがハングする問題が修正されたら.NET5版から移植する。 \ No newline at end of file diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/README.md b/root/programs/VB/Samples/CLI_sample/Simple_CLI/README.md new file mode 100644 index 000000000..7bf4bfd6a --- /dev/null +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/README.md @@ -0,0 +1 @@ +System.CommandLine と Sharprompt を使用したCLIのサンプル / テンプレ \ No newline at end of file diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln new file mode 100644 index 000000000..083b82cba --- /dev/null +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Simple_CLI", "Simple_CLI\Simple_CLI.csproj", "{A4D0500A-EA87-45D1-98B4-EACD4025C569}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A4D0500A-EA87-45D1-98B4-EACD4025C569}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A4D0500A-EA87-45D1-98B4-EACD4025C569}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A4D0500A-EA87-45D1-98B4-EACD4025C569}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A4D0500A-EA87-45D1-98B4-EACD4025C569}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {6F9985A3-C8E5-4BF7-A2F7-C76CA20A535E} + EndGlobalSection +EndGlobal diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/App.config b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/App.config new file mode 100644 index 000000000..731f6de6c --- /dev/null +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs new file mode 100644 index 000000000..8a2eb80ee --- /dev/null +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Simple_CLI +{ + class Program + { + static void Main(string[] args) + { + } + } +} diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Properties/AssemblyInfo.cs b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..8c9e9c8a4 --- /dev/null +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 +// 制御されます。アセンブリに関連付けられている情報を変更するには、 +// これらの属性値を変更します。 +[assembly: AssemblyTitle("Simple_CLI")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Simple_CLI")] +[assembly: AssemblyCopyright("Copyright © 2021")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// ComVisible を false に設定すると、このアセンブリ内の型は COM コンポーネントから +// 参照できなくなります。COM からこのアセンブリ内の型にアクセスする必要がある場合は、 +// その型の ComVisible 属性を true に設定します。 +[assembly: ComVisible(false)] + +// このプロジェクトが COM に公開される場合、次の GUID が typelib の ID になります +[assembly: Guid("a4d0500a-ea87-45d1-98b4-eacd4025c569")] + +// アセンブリのバージョン情報は次の 4 つの値で構成されています: +// +// メジャー バージョン +// マイナー バージョン +// ビルド番号 +// リビジョン +// +// すべての値を指定するか、次を使用してビルド番号とリビジョン番号を既定に設定できます +// 既定値にすることができます: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj new file mode 100644 index 000000000..a321bfd2d --- /dev/null +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj @@ -0,0 +1,53 @@ + + + + + Debug + AnyCPU + {A4D0500A-EA87-45D1-98B4-EACD4025C569} + Exe + Simple_CLI + Simple_CLI + v4.6.1 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 12e5180662533a2077873029bc04260368c9be28 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Mon, 24 May 2021 17:55:42 +0900 Subject: [PATCH 25/59] Now, I am fixing #398. --- .../CLI_sample/Simple_CLI/Simple_CLI.sln | 12 +- .../Simple_CLI/Simple_CLI/Module1.vb | 7 ++ .../My Project/Application.Designer.vb | 13 ++ .../Simple_CLI/My Project/Application.myapp | 10 ++ .../Simple_CLI/My Project/AssemblyInfo.vb | 35 ++++++ .../My Project/Resources.Designer.vb | 62 ++++++++++ .../Simple_CLI/My Project/Resources.resx | 117 ++++++++++++++++++ .../My Project/Settings.Designer.vb | 73 +++++++++++ .../Simple_CLI/My Project/Settings.settings | 7 ++ .../Simple_CLI/Simple_CLI/Program.cs | 15 --- .../Simple_CLI/Properties/AssemblyInfo.cs | 36 ------ .../Simple_CLI/Simple_CLI/Simple_CLI.csproj | 53 -------- .../Simple_CLI/Simple_CLI/Simple_CLI.vbproj | 110 ++++++++++++++++ 13 files changed, 440 insertions(+), 110 deletions(-) create mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Module1.vb create mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Application.Designer.vb create mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Application.myapp create mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/AssemblyInfo.vb create mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Resources.Designer.vb create mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Resources.resx create mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Settings.Designer.vb create mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Settings.settings delete mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs delete mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Properties/AssemblyInfo.cs delete mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj create mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.vbproj diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln index 083b82cba..0cc89faf0 100644 --- a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.30717.126 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Simple_CLI", "Simple_CLI\Simple_CLI.csproj", "{A4D0500A-EA87-45D1-98B4-EACD4025C569}" +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Simple_CLI", "Simple_CLI\Simple_CLI.vbproj", "{816EC424-CAA7-4877-BEED-D71F5715EF26}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -11,15 +11,15 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {A4D0500A-EA87-45D1-98B4-EACD4025C569}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A4D0500A-EA87-45D1-98B4-EACD4025C569}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A4D0500A-EA87-45D1-98B4-EACD4025C569}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A4D0500A-EA87-45D1-98B4-EACD4025C569}.Release|Any CPU.Build.0 = Release|Any CPU + {816EC424-CAA7-4877-BEED-D71F5715EF26}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {816EC424-CAA7-4877-BEED-D71F5715EF26}.Debug|Any CPU.Build.0 = Debug|Any CPU + {816EC424-CAA7-4877-BEED-D71F5715EF26}.Release|Any CPU.ActiveCfg = Release|Any CPU + {816EC424-CAA7-4877-BEED-D71F5715EF26}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {6F9985A3-C8E5-4BF7-A2F7-C76CA20A535E} + SolutionGuid = {51A58542-DF10-4EE0-82DD-152DD07363E2} EndGlobalSection EndGlobal diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Module1.vb b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Module1.vb new file mode 100644 index 000000000..5d7e3a343 --- /dev/null +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Module1.vb @@ -0,0 +1,7 @@ +Module Module1 + + Sub Main() + + End Sub + +End Module diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Application.Designer.vb b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Application.Designer.vb new file mode 100644 index 000000000..88dd01c78 --- /dev/null +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Application.Designer.vb @@ -0,0 +1,13 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.42000 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Application.myapp b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Application.myapp new file mode 100644 index 000000000..e62f1a533 --- /dev/null +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Application.myapp @@ -0,0 +1,10 @@ + + + false + false + 0 + true + 0 + 2 + true + diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/AssemblyInfo.vb b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/AssemblyInfo.vb new file mode 100644 index 000000000..0703c6780 --- /dev/null +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 +' アセンブリに関連付けられている情報を変更するには、 +' これらの属性値を変更してください。 + +' アセンブリ属性の値を確認します + + + + + + + + + + +'このプロジェクトが COM に公開される場合、次の GUID が typelib の ID になります + + +' アセンブリのバージョン情報は次の 4 つの値で構成されています: +' +' メジャー バージョン +' マイナー バージョン +' ビルド番号 +' Revision +' +' すべての値を指定するか、次を使用してビルド番号とリビジョン番号を既定に設定できます +' 既定値にすることができます: +' + + + diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Resources.Designer.vb b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Resources.Designer.vb new file mode 100644 index 000000000..143354cd3 --- /dev/null +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Resources.Designer.vb @@ -0,0 +1,62 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.42000 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My.Resources + + 'This class was auto-generated by the StronglyTypedResourceBuilder + 'class via a tool like ResGen or Visual Studio. + 'To add or remove a member, edit your .ResX file then rerun ResGen + 'with the /str option, or rebuild your VS project. + ''' + ''' A strongly-typed resource class, for looking up localized strings, etc. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Returns the cached ResourceManager instance used by this class. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("Simple_CLI.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Overrides the current thread's CurrentUICulture property for all + ''' resource lookups using this strongly typed resource class. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set(ByVal value As Global.System.Globalization.CultureInfo) + resourceCulture = value + End Set + End Property + End Module +End Namespace diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Resources.resx b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Resources.resx new file mode 100644 index 000000000..af7dbebba --- /dev/null +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Settings.Designer.vb b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Settings.Designer.vb new file mode 100644 index 000000000..15eb17f46 --- /dev/null +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Settings.Designer.vb @@ -0,0 +1,73 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.42000 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + _ + Partial Friend NotInheritable Class MySettings + Inherits Global.System.Configuration.ApplicationSettingsBase + + Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) + +#Region "My.Settings Auto-Save Functionality" +#If _MyType = "WindowsForms" Then + Private Shared addedHandler As Boolean + + Private Shared addedHandlerLockObject As New Object + + _ + Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) + If My.Application.SaveMySettingsOnExit Then + My.Settings.Save() + End If + End Sub +#End If +#End Region + + Public Shared ReadOnly Property [Default]() As MySettings + Get + +#If _MyType = "WindowsForms" Then + If Not addedHandler Then + SyncLock addedHandlerLockObject + If Not addedHandler Then + AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings + addedHandler = True + End If + End SyncLock + End If +#End If + Return defaultInstance + End Get + End Property + End Class +End Namespace + +Namespace My + + _ + Friend Module MySettingsProperty + + _ + Friend ReadOnly Property Settings() As Global.Simple_CLI.My.MySettings + Get + Return Global.Simple_CLI.My.MySettings.Default + End Get + End Property + End Module +End Namespace diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Settings.settings b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Settings.settings new file mode 100644 index 000000000..85b890b3c --- /dev/null +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/My Project/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs deleted file mode 100644 index 8a2eb80ee..000000000 --- a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Program.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Simple_CLI -{ - class Program - { - static void Main(string[] args) - { - } - } -} diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Properties/AssemblyInfo.cs b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Properties/AssemblyInfo.cs deleted file mode 100644 index 8c9e9c8a4..000000000 --- a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 -// 制御されます。アセンブリに関連付けられている情報を変更するには、 -// これらの属性値を変更します。 -[assembly: AssemblyTitle("Simple_CLI")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Simple_CLI")] -[assembly: AssemblyCopyright("Copyright © 2021")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// ComVisible を false に設定すると、このアセンブリ内の型は COM コンポーネントから -// 参照できなくなります。COM からこのアセンブリ内の型にアクセスする必要がある場合は、 -// その型の ComVisible 属性を true に設定します。 -[assembly: ComVisible(false)] - -// このプロジェクトが COM に公開される場合、次の GUID が typelib の ID になります -[assembly: Guid("a4d0500a-ea87-45d1-98b4-eacd4025c569")] - -// アセンブリのバージョン情報は次の 4 つの値で構成されています: -// -// メジャー バージョン -// マイナー バージョン -// ビルド番号 -// リビジョン -// -// すべての値を指定するか、次を使用してビルド番号とリビジョン番号を既定に設定できます -// 既定値にすることができます: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj deleted file mode 100644 index a321bfd2d..000000000 --- a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {A4D0500A-EA87-45D1-98B4-EACD4025C569} - Exe - Simple_CLI - Simple_CLI - v4.6.1 - 512 - true - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.vbproj b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.vbproj new file mode 100644 index 000000000..400042cc4 --- /dev/null +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.vbproj @@ -0,0 +1,110 @@ + + + + + Debug + AnyCPU + {816EC424-CAA7-4877-BEED-D71F5715EF26} + Exe + Simple_CLI.Module1 + Simple_CLI + Simple_CLI + 512 + Console + v4.6.1 + true + true + + + AnyCPU + true + full + true + true + bin\Debug\ + Simple_CLI.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + AnyCPU + pdbonly + false + true + true + bin\Release\ + Simple_CLI.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + On + + + Binary + + + Off + + + On + + + + + + + + + + + + + + + + + + + + + + + + + + + True + Application.myapp + + + True + True + Resources.resx + + + True + Settings.settings + True + + + + + VbMyResourcesResXFileCodeGenerator + Resources.Designer.vb + My.Resources + Designer + + + + + MyApplicationCodeGenerator + Application.Designer.vb + + + SettingsSingleFileGenerator + My + Settings.Designer.vb + + + + + \ No newline at end of file From afb0a1dcea220fbc51026143cee7da5399cd85ad Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Mon, 24 May 2021 18:56:41 +0900 Subject: [PATCH 26/59] Now, I am fixing #398. --- .../Simple_CLI/Simple_CLI/App.config | 10 +- .../Simple_CLI/Simple_CLI/Module1.vb | 266 +++++++++++++++++- .../Simple_CLI/Simple_CLI/Simple_CLI.vbproj | 28 ++ 3 files changed, 300 insertions(+), 4 deletions(-) diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/App.config b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/App.config index 731f6de6c..9a6820f73 100644 --- a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/App.config +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/App.config @@ -1,6 +1,14 @@ - + + + + + + + + + \ No newline at end of file diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Module1.vb b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Module1.vb index 5d7e3a343..aea4a806f 100644 --- a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Module1.vb +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Module1.vb @@ -1,7 +1,267 @@ -Module Module1 + +' テスト用サンプルなので、必要に応じて流用 or 削除して下さい。 - Sub Main() +'********************************************************************************** +'* クラス名 :Program +'* クラス日本語名 :単純CLIサンプル アプリ +'* +'* 作成日時 :- +'* 作成者 :開発基盤部会 +'* 更新履歴 : +'* +'* 日時 更新者 内容 +'* ---------- ---------------- ------------------------------------------------- +'* 20xx/xx/xx XX XX XXXX +'********************************************************************************** - End Sub +Imports System +Imports System.Collections.Generic +Imports System.Linq +Imports System.Text +Imports System.Threading.Tasks + +Imports System.IO +Imports System.Threading +Imports System.Diagnostics + +Imports System.CommandLine +Imports System.CommandLine.Invocation + +Imports Sharprompt + +Imports Newtonsoft +Imports Newtonsoft.Json +Module Module1 + + ''' + ''' VBで非同期化できる? + ''' Function Main(args As String()) As Task(Of Integer) + ''' + ''' string[] + Sub Main(args As String()) + +#Region "rootCommand" + ' Create a root command with some options + ' alias、default value、description + Dim rootCommand As Command = New RootCommand() From { + New [Option](Of Integer)([alias]:="--int-option", getDefaultValue:=Function() 42, description:="An option whose argument is parsed as an int"), + New [Option](Of Boolean)([alias]:="--bool-option", description:="An option whose argument is parsed as a bool"), + New [Option](Of FileInfo)([alias]:="--file-option", description:="An option whose argument is parsed as a FileInfo"), + New [Option](Of FileAccess)([alias]:="--file-access-option", getDefaultValue:=Function() FileAccess.Read, description:="An option whose argument is parsed as a FileAccess") + } + + rootCommand.Description = "My sample app" + + ' Note that the parameters of the handler method are matched according to the names of the options + rootCommand.Handler = CommandHandler.Create(Of Integer, Boolean, FileInfo, FileAccess)(AddressOf Module1.RootCommand) +#End Region + +#Region "subCommand" + +#Region "subCommand1" + Dim subCommand1 As New Command(name:="cmd1", description:="Sub command cmd1") + subCommand1.AddOption(New [Option](Of Integer)([alias]:="--an-int")) + subCommand1.Handler = CommandHandler.Create(Of Integer)( + Sub(anInt As Integer) + Console.WriteLine("Sub command cmd1: {anInt}") + End Sub) + rootCommand.AddCommand(subCommand1) +#End Region + +#Region "subCommand2" + Dim subCommand2 As New Command(name:="cmd2", description:="Sub command cmd2") + subCommand2.AddOption(New [Option](Of String)([alias]:="--a-string")) + subCommand2.Handler = CommandHandler.Create(Of String)( + Sub(aString As String) + Console.WriteLine("Sub command cmd2: {aString}") + End Sub) + rootCommand.AddCommand(subCommand2) +#End Region + +#Region "subCommandComplex" + Dim subCommandComplex As New Command(name:="complex", description:="Sub command complex") From + { + New [Option](Of Integer)("--an-int"), + New [Option](Of String)("--a-string") + } + + subCommandComplex.Handler = CommandHandler.Create( + Sub(complexType As ComplexType) + Console.WriteLine("Sub command complex: {JsonConvert.SerializeObject(complexType)}") + End Sub) + rootCommand.AddCommand(subCommandComplex) +#End Region + + '#Region "subCommandInteractive" + Dim subCommandInteractive As New Command(name:="interactive", description:="Sub command interactive") + subCommandInteractive.AddOption(New [Option](Of String)([alias]:="--a-string")) + subCommandInteractive.Handler = CommandHandler.Create(Of String)( + Sub(aString As String) + Console.WriteLine("Sub command interactive (Ctrl-C terminate): {aString}") + Prompt.ColorSchema.Answer = ConsoleColor.DarkRed + Prompt.ColorSchema.[Select] = ConsoleColor.DarkCyan + Console.OutputEncoding = Encoding.UTF8 + + Dim name As String = Prompt.Input(Of String)("名前") + Console.WriteLine(String.Format("こんにちは, {0}", name)) + + Dim age As Integer = Prompt.Input(Of Integer)("年齢") + Console.WriteLine(String.Format("年齢: {0}", age)) + + Dim password As String = Prompt.Password("Type new password") + Console.WriteLine("Password OK") + + Dim answer As Boolean = Prompt.Confirm("Are you ready?") + Console.WriteLine(String.Format("Your answer is {0}", answer)) + + Dim value As EnumMonth = Prompt.[Select](Of EnumMonth)("Select enum value") + Console.WriteLine(String.Format("You selected {0}", value)) + + Dim prefectureList As String() = Nothing + Module1.GetPrefectureList(prefectureList) + Dim prefecture As String = Prompt.[Select]("都道府県", prefectureList, pageSize:=5) + Console.WriteLine(String.Format("都道府県: {0}", prefecture)) + + End Sub) + rootCommand.AddCommand(subCommandInteractive) + '#End Region +#End Region + + ' テストの実行 + Module1.Test(rootCommand) + + ' Parse the incoming args and invoke the handler + rootCommand.Invoke(args) + + End Sub + +#Region "Command" +#Region "RootCommand" + ''' RootCommand + ''' int + ''' bool + ''' FileInfo + ''' FileAccess + Private Sub RootCommand(intOption As Integer, boolOption As Boolean, fileOption As FileInfo, fileAccessOption As FileAccess) + + Dim fileOptionName As String = Nothing + If fileOption IsNot Nothing Then + If fileOption.Name IsNot Nothing Then + fileOptionName = fileOption.Name + End If + End If + + Console.WriteLine(String.Format( + "--int-option is: {0}, " + + "--bool-option is: {1}, " + + "--file-option is: {2}, " + + "--file-access-option is: {3}", + intOption, fileOption, fileOptionName, fileAccessOption.ToString())) + End Sub +#End Region +#End Region + +#Region "TEST" + ''' Test + ''' Command + Private Sub Test(rootCommand As Command) + ' デバッグ実行時だけ実行 + If Not Debugger.IsAttached Then + Return + End If + +#Region "rootCommand" + rootCommand.Invoke("") + ' --int-option + rootCommand.Invoke("--int-option") + rootCommand.Invoke("--int-option 123") + rootCommand.Invoke("--int-option hoge") + ' --bool-option + rootCommand.Invoke("--bool-option") + rootCommand.Invoke("--bool-option False") + rootCommand.Invoke("--bool-option True") + rootCommand.Invoke("--bool-option hoge") + ' --file-option + rootCommand.Invoke("--file-option ../Program.cs") + ' --file-access-option + rootCommand.Invoke("--file-access-option Read") + rootCommand.Invoke("--file-access-option Write") + rootCommand.Invoke("--file-access-option hoge") +#End Region + +#Region "subCommand" + ' subCommand1 + rootCommand.Invoke("cmd1 --an-int 123") + ' subCommand2 + rootCommand.Invoke("cmd2 --a-string hoge") + ' subCommandComplex + rootCommand.Invoke("complex --an-int 123 --a-string hogehoge") + ' subCommandInteractive + rootCommand.Invoke("interactive --a-string hoge") + ' subCommandDelay + rootCommand.Invoke("delay --a-string hogehoge") +#End Region + + End Sub +#End Region + +#Region "SELECT" + ''' EnumMonth + Private Enum EnumMonth As Byte + January = 1 + February + March + April + May + June + July + August + September + October + November + December + End Enum + + ''' GetPrefectureList + ''' string[] + Private Sub GetPrefectureList(ByRef prefectureList As String()) + prefectureList = New String() { + "北海道", "青森県", "岩手県", "宮城県", "秋田県", "山形県", + "福島県", "茨城県", "栃木県", "群馬県", "埼玉県", "千葉県", + "東京都", "神奈川県", "新潟県", "富山県", "石川県", "福井県", + "山梨県", "長野県", "岐阜県", "静岡県", "愛知県", "三重県", + "滋賀県", "京都府", "大阪府", "兵庫県", "奈良県", "和歌山県", + "鳥取県", "島根県", "岡山県", "広島県", "山口県", "徳島県", + "香川県", "愛媛県", "高知県", "福岡県", "佐賀県", "長崎県", + "熊本県", "大分県", "宮崎県", "鹿児島県", "沖縄県"} + End Sub +#End Region + + ''' ComplexType + Public Class ComplexType + ' public ComplexType(int anInt, string aString) + ' { + ' AnInt = anInt; + ' AString = aString; + ' } + Public Property AnInt() As Integer + Get + Return m_AnInt + End Get + Set + m_AnInt = Value + End Set + End Property + Private m_AnInt As Integer + Public Property AString() As String + Get + Return m_AString + End Get + Set + m_AString = Value + End Set + End Property + Private m_AString As String + End Class End Module diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.vbproj b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.vbproj index 400042cc4..96e516611 100644 --- a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.vbproj +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.vbproj @@ -48,9 +48,36 @@ On + + + ..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll + + + ..\packages\Sharprompt.2.2.1\lib\netstandard2.0\Sharprompt.dll + + + ..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll + + + ..\packages\System.CommandLine.2.0.0-beta1.21216.1\lib\netstandard2.0\System.CommandLine.dll + + + ..\packages\System.ComponentModel.Annotations.4.7.0\lib\net461\System.ComponentModel.Annotations.dll + + + + ..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll + + + + ..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll + + + ..\packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + @@ -105,6 +132,7 @@ Settings.Designer.vb + \ No newline at end of file From 973352088769d79769c3ffe571a83c44a0cc1252 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Mon, 24 May 2021 19:05:27 +0900 Subject: [PATCH 27/59] Now, I am fixing #398. --- .../Simple_CLI/Simple_CLI/Module1.vb | 375 +++++++++--------- .../Simple_CLI/Simple_CLI/packages.config | 12 + 2 files changed, 202 insertions(+), 185 deletions(-) create mode 100644 root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/packages.config diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Module1.vb b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Module1.vb index aea4a806f..a1f1bf2a7 100644 --- a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Module1.vb +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/Module1.vb @@ -33,235 +33,240 @@ Imports Newtonsoft Imports Newtonsoft.Json Module Module1 - ''' - ''' VBで非同期化できる? - ''' Function Main(args As String()) As Task(Of Integer) - ''' - ''' string[] - Sub Main(args As String()) + ''' + ''' VBで非同期化できる? + ''' Function Main(args As String()) As Task(Of Integer) + ''' + ''' string[] + Sub Main(args As String()) #Region "rootCommand" - ' Create a root command with some options - ' alias、default value、description - Dim rootCommand As Command = New RootCommand() From { - New [Option](Of Integer)([alias]:="--int-option", getDefaultValue:=Function() 42, description:="An option whose argument is parsed as an int"), - New [Option](Of Boolean)([alias]:="--bool-option", description:="An option whose argument is parsed as a bool"), - New [Option](Of FileInfo)([alias]:="--file-option", description:="An option whose argument is parsed as a FileInfo"), - New [Option](Of FileAccess)([alias]:="--file-access-option", getDefaultValue:=Function() FileAccess.Read, description:="An option whose argument is parsed as a FileAccess") - } - - rootCommand.Description = "My sample app" - - ' Note that the parameters of the handler method are matched according to the names of the options - rootCommand.Handler = CommandHandler.Create(Of Integer, Boolean, FileInfo, FileAccess)(AddressOf Module1.RootCommand) + ' Create a root command with some options + ' alias、default value、description + Dim rootCommand As Command = New RootCommand() From { + New [Option](Of Integer)([alias]:="--int-option", getDefaultValue:=Function() 42, description:="An option whose argument is parsed as an int"), + New [Option](Of Boolean)([alias]:="--bool-option", description:="An option whose argument is parsed as a bool"), + New [Option](Of FileInfo)([alias]:="--file-option", description:="An option whose argument is parsed as a FileInfo"), + New [Option](Of FileAccess)([alias]:="--file-access-option", getDefaultValue:=Function() FileAccess.Read, description:="An option whose argument is parsed as a FileAccess") + } + + rootCommand.Description = "My sample app" + + ' Note that the parameters of the handler method are matched according to the names of the options + rootCommand.Handler = CommandHandler.Create(Of Integer, Boolean, FileInfo, FileAccess)(AddressOf Module1.RootCommand) #End Region #Region "subCommand" #Region "subCommand1" - Dim subCommand1 As New Command(name:="cmd1", description:="Sub command cmd1") - subCommand1.AddOption(New [Option](Of Integer)([alias]:="--an-int")) - subCommand1.Handler = CommandHandler.Create(Of Integer)( - Sub(anInt As Integer) - Console.WriteLine("Sub command cmd1: {anInt}") - End Sub) - rootCommand.AddCommand(subCommand1) + Dim subCommand1 As New Command(name:="cmd1", description:="Sub command cmd1") + subCommand1.AddOption(New [Option](Of Integer)([alias]:="--an-int")) + subCommand1.Handler = CommandHandler.Create(Of Integer)( + Sub(anInt As Integer) + Console.WriteLine("Sub command cmd1: {anInt}") + End Sub) + rootCommand.AddCommand(subCommand1) #End Region #Region "subCommand2" - Dim subCommand2 As New Command(name:="cmd2", description:="Sub command cmd2") - subCommand2.AddOption(New [Option](Of String)([alias]:="--a-string")) - subCommand2.Handler = CommandHandler.Create(Of String)( - Sub(aString As String) - Console.WriteLine("Sub command cmd2: {aString}") - End Sub) - rootCommand.AddCommand(subCommand2) + Dim subCommand2 As New Command(name:="cmd2", description:="Sub command cmd2") + subCommand2.AddOption(New [Option](Of String)([alias]:="--a-string")) + subCommand2.Handler = CommandHandler.Create(Of String)( + Sub(aString As String) + Console.WriteLine("Sub command cmd2: {aString}") + End Sub) + rootCommand.AddCommand(subCommand2) #End Region #Region "subCommandComplex" - Dim subCommandComplex As New Command(name:="complex", description:="Sub command complex") From - { - New [Option](Of Integer)("--an-int"), - New [Option](Of String)("--a-string") - } - - subCommandComplex.Handler = CommandHandler.Create( - Sub(complexType As ComplexType) - Console.WriteLine("Sub command complex: {JsonConvert.SerializeObject(complexType)}") - End Sub) - rootCommand.AddCommand(subCommandComplex) + Dim subCommandComplex As New Command(name:="complex", description:="Sub command complex") From + { + New [Option](Of Integer)("--an-int"), + New [Option](Of String)("--a-string") + } + + subCommandComplex.Handler = CommandHandler.Create( + Sub(complexType As ComplexType) + Console.WriteLine("Sub command complex: {JsonConvert.SerializeObject(complexType)}") + End Sub) + rootCommand.AddCommand(subCommandComplex) #End Region - '#Region "subCommandInteractive" - Dim subCommandInteractive As New Command(name:="interactive", description:="Sub command interactive") - subCommandInteractive.AddOption(New [Option](Of String)([alias]:="--a-string")) - subCommandInteractive.Handler = CommandHandler.Create(Of String)( - Sub(aString As String) - Console.WriteLine("Sub command interactive (Ctrl-C terminate): {aString}") - Prompt.ColorSchema.Answer = ConsoleColor.DarkRed - Prompt.ColorSchema.[Select] = ConsoleColor.DarkCyan - Console.OutputEncoding = Encoding.UTF8 +#Region "subCommandInteractive" + Dim subCommandInteractive As New Command(name:="interactive", description:="Sub command interactive") + subCommandInteractive.AddOption(New [Option](Of String)([alias]:="--a-string")) + subCommandInteractive.Handler = CommandHandler.Create(Of String)( + Sub(aString As String) + Console.WriteLine("Sub command interactive (Ctrl-C terminate): {aString}") + Prompt.ColorSchema.Answer = ConsoleColor.DarkRed + Prompt.ColorSchema.[Select] = ConsoleColor.DarkCyan + Console.OutputEncoding = Encoding.UTF8 - Dim name As String = Prompt.Input(Of String)("名前") - Console.WriteLine(String.Format("こんにちは, {0}", name)) + Dim name As String = Prompt.Input(Of String)("名前") + Console.WriteLine(String.Format("こんにちは, {0}", name)) - Dim age As Integer = Prompt.Input(Of Integer)("年齢") - Console.WriteLine(String.Format("年齢: {0}", age)) + Dim age As Integer = Prompt.Input(Of Integer)("年齢") + Console.WriteLine(String.Format("年齢: {0}", age)) - Dim password As String = Prompt.Password("Type new password") - Console.WriteLine("Password OK") + Dim password As String = Prompt.Password("Type new password") + Console.WriteLine("Password OK") - Dim answer As Boolean = Prompt.Confirm("Are you ready?") - Console.WriteLine(String.Format("Your answer is {0}", answer)) + Dim answer As Boolean = Prompt.Confirm("Are you ready?") + Console.WriteLine(String.Format("Your answer is {0}", answer)) - Dim value As EnumMonth = Prompt.[Select](Of EnumMonth)("Select enum value") - Console.WriteLine(String.Format("You selected {0}", value)) + Dim value As EnumMonth = Prompt.[Select](Of EnumMonth)("Select enum value") + Console.WriteLine(String.Format("You selected {0}", value)) - Dim prefectureList As String() = Nothing - Module1.GetPrefectureList(prefectureList) - Dim prefecture As String = Prompt.[Select]("都道府県", prefectureList, pageSize:=5) - Console.WriteLine(String.Format("都道府県: {0}", prefecture)) + Dim prefectureList As String() = Nothing + Module1.GetPrefectureList(prefectureList) + Dim prefecture As String = Prompt.[Select]("都道府県", prefectureList, pageSize:=5) + Console.WriteLine(String.Format("都道府県: {0}", prefecture)) - End Sub) - rootCommand.AddCommand(subCommandInteractive) - '#End Region + End Sub) + rootCommand.AddCommand(subCommandInteractive) #End Region - ' テストの実行 - Module1.Test(rootCommand) +#Region "subCommandDelay" + ' 非同期前提なので移植できず。 +#End Region + +#End Region + + ' テストの実行 + Module1.Test(rootCommand) - ' Parse the incoming args and invoke the handler - rootCommand.Invoke(args) + ' Parse the incoming args and invoke the handler + rootCommand.Invoke(args) - End Sub + End Sub #Region "Command" #Region "RootCommand" - ''' RootCommand - ''' int - ''' bool - ''' FileInfo - ''' FileAccess - Private Sub RootCommand(intOption As Integer, boolOption As Boolean, fileOption As FileInfo, fileAccessOption As FileAccess) - - Dim fileOptionName As String = Nothing - If fileOption IsNot Nothing Then - If fileOption.Name IsNot Nothing Then - fileOptionName = fileOption.Name - End If - End If - - Console.WriteLine(String.Format( - "--int-option is: {0}, " + - "--bool-option is: {1}, " + - "--file-option is: {2}, " + - "--file-access-option is: {3}", - intOption, fileOption, fileOptionName, fileAccessOption.ToString())) - End Sub + ''' RootCommand + ''' int + ''' bool + ''' FileInfo + ''' FileAccess + Private Sub RootCommand(intOption As Integer, boolOption As Boolean, fileOption As FileInfo, fileAccessOption As FileAccess) + + Dim fileOptionName As String = Nothing + If fileOption IsNot Nothing Then + If fileOption.Name IsNot Nothing Then + fileOptionName = fileOption.Name + End If + End If + + Console.WriteLine(String.Format( + "--int-option is: {0}, " + + "--bool-option is: {1}, " + + "--file-option is: {2}, " + + "--file-access-option is: {3}", + intOption, fileOption, fileOptionName, fileAccessOption.ToString())) + End Sub #End Region #End Region #Region "TEST" - ''' Test - ''' Command - Private Sub Test(rootCommand As Command) - ' デバッグ実行時だけ実行 - If Not Debugger.IsAttached Then - Return - End If + ''' Test + ''' Command + Private Sub Test(rootCommand As Command) + ' デバッグ実行時だけ実行 + If Not Debugger.IsAttached Then + Return + End If #Region "rootCommand" - rootCommand.Invoke("") - ' --int-option - rootCommand.Invoke("--int-option") - rootCommand.Invoke("--int-option 123") - rootCommand.Invoke("--int-option hoge") - ' --bool-option - rootCommand.Invoke("--bool-option") - rootCommand.Invoke("--bool-option False") - rootCommand.Invoke("--bool-option True") - rootCommand.Invoke("--bool-option hoge") - ' --file-option - rootCommand.Invoke("--file-option ../Program.cs") - ' --file-access-option - rootCommand.Invoke("--file-access-option Read") - rootCommand.Invoke("--file-access-option Write") - rootCommand.Invoke("--file-access-option hoge") + rootCommand.Invoke("") + ' --int-option + rootCommand.Invoke("--int-option") + rootCommand.Invoke("--int-option 123") + rootCommand.Invoke("--int-option hoge") + ' --bool-option + rootCommand.Invoke("--bool-option") + rootCommand.Invoke("--bool-option False") + rootCommand.Invoke("--bool-option True") + rootCommand.Invoke("--bool-option hoge") + ' --file-option + rootCommand.Invoke("--file-option ../Program.cs") + ' --file-access-option + rootCommand.Invoke("--file-access-option Read") + rootCommand.Invoke("--file-access-option Write") + rootCommand.Invoke("--file-access-option hoge") #End Region #Region "subCommand" - ' subCommand1 - rootCommand.Invoke("cmd1 --an-int 123") - ' subCommand2 - rootCommand.Invoke("cmd2 --a-string hoge") - ' subCommandComplex - rootCommand.Invoke("complex --an-int 123 --a-string hogehoge") - ' subCommandInteractive - rootCommand.Invoke("interactive --a-string hoge") - ' subCommandDelay - rootCommand.Invoke("delay --a-string hogehoge") + ' subCommand1 + rootCommand.Invoke("cmd1 --an-int 123") + ' subCommand2 + rootCommand.Invoke("cmd2 --a-string hoge") + ' subCommandComplex + rootCommand.Invoke("complex --an-int 123 --a-string hogehoge") + ' subCommandInteractive + rootCommand.Invoke("interactive --a-string hoge") + ' subCommandDelay + rootCommand.Invoke("delay --a-string hogehoge") #End Region - End Sub + End Sub #End Region #Region "SELECT" - ''' EnumMonth - Private Enum EnumMonth As Byte - January = 1 - February - March - April - May - June - July - August - September - October - November - December - End Enum - - ''' GetPrefectureList - ''' string[] - Private Sub GetPrefectureList(ByRef prefectureList As String()) - prefectureList = New String() { - "北海道", "青森県", "岩手県", "宮城県", "秋田県", "山形県", - "福島県", "茨城県", "栃木県", "群馬県", "埼玉県", "千葉県", - "東京都", "神奈川県", "新潟県", "富山県", "石川県", "福井県", - "山梨県", "長野県", "岐阜県", "静岡県", "愛知県", "三重県", - "滋賀県", "京都府", "大阪府", "兵庫県", "奈良県", "和歌山県", - "鳥取県", "島根県", "岡山県", "広島県", "山口県", "徳島県", - "香川県", "愛媛県", "高知県", "福岡県", "佐賀県", "長崎県", - "熊本県", "大分県", "宮崎県", "鹿児島県", "沖縄県"} - End Sub + ''' EnumMonth + Private Enum EnumMonth As Byte + January = 1 + February + March + April + May + June + July + August + September + October + November + December + End Enum + + ''' GetPrefectureList + ''' string[] + Private Sub GetPrefectureList(ByRef prefectureList As String()) + prefectureList = New String() { + "北海道", "青森県", "岩手県", "宮城県", "秋田県", "山形県", + "福島県", "茨城県", "栃木県", "群馬県", "埼玉県", "千葉県", + "東京都", "神奈川県", "新潟県", "富山県", "石川県", "福井県", + "山梨県", "長野県", "岐阜県", "静岡県", "愛知県", "三重県", + "滋賀県", "京都府", "大阪府", "兵庫県", "奈良県", "和歌山県", + "鳥取県", "島根県", "岡山県", "広島県", "山口県", "徳島県", + "香川県", "愛媛県", "高知県", "福岡県", "佐賀県", "長崎県", + "熊本県", "大分県", "宮崎県", "鹿児島県", "沖縄県"} + End Sub #End Region - ''' ComplexType - Public Class ComplexType - ' public ComplexType(int anInt, string aString) - ' { - ' AnInt = anInt; - ' AString = aString; - ' } - Public Property AnInt() As Integer - Get - Return m_AnInt - End Get - Set - m_AnInt = Value - End Set - End Property - Private m_AnInt As Integer - Public Property AString() As String - Get - Return m_AString - End Get - Set - m_AString = Value - End Set - End Property - Private m_AString As String - End Class + ''' ComplexType + Public Class ComplexType + ' public ComplexType(int anInt, string aString) + ' { + ' AnInt = anInt; + ' AString = aString; + ' } + Public Property AnInt() As Integer + Get + Return m_AnInt + End Get + Set + m_AnInt = Value + End Set + End Property + Private m_AnInt As Integer + Public Property AString() As String + Get + Return m_AString + End Get + Set + m_AString = Value + End Set + End Property + Private m_AString As String + End Class End Module diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/packages.config b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/packages.config new file mode 100644 index 000000000..bd438e3c3 --- /dev/null +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI/packages.config @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file From 235ac3d2bf784b800eaeb3d175ce258c84ee9a06 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Mon, 24 May 2021 20:24:24 +0900 Subject: [PATCH 28/59] Now, I am fixing #398. --- .../DAG_Login_CLI/DAG_Login_CLI.csproj | 20 ++- .../DAG_Login_CLI/MSGDefinition.xml | 23 +++ .../DAG_Login_CLI/DAG_Login_CLI/Program.cs | 23 +-- .../DAG_Login_CLI/SPDefinition.xml | 15 ++ .../DAG_Login_CLI/SampleLogConf2CS.xml | 133 ++++++++++++++++++ .../DAG_Login_CLI/appsettings.json | 16 +++ 6 files changed, 219 insertions(+), 11 deletions(-) create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/MSGDefinition.xml create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/SPDefinition.xml create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/SampleLogConf2CS.xml create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/appsettings.json diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj index f756b9e49..c67e5e561 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj @@ -1,4 +1,4 @@ - + Exe @@ -6,6 +6,9 @@ + + + @@ -23,4 +26,19 @@ + + + Always + + + Always + + + Always + + + Always + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/MSGDefinition.xml b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/MSGDefinition.xml new file mode 100644 index 000000000..f2283b409 --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/MSGDefinition.xml @@ -0,0 +1,23 @@ + + + + +]> + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs index d216ba298..d31d392d4 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs @@ -30,6 +30,7 @@ using System.Net.Http; using Touryo.Infrastructure.Public.IO; +using Touryo.Infrastructure.Public.Util; using Touryo.Infrastructure.Public.FastReflection; using Touryo.Infrastructure.Framework.Authentication; @@ -55,6 +56,8 @@ public class Program static async Task Main(string[] args) { // 初期化 + // configの初期化 + GetConfigParameter.InitConfiguration("appsettings.json"); // デバイスフロー用 OAuth2AndOIDCClient.HttpClient = new HttpClient(); @@ -156,20 +159,20 @@ private static async Task LoginCommand(string aString) // リクエスト // URL - string rootURI = "https://localhost:44300/MultiPurposeAuthSite"; - string oAuth2TokenEndpoint = "/token"; - string oAuth2UselInfoEndpoint = "/userinfo"; - string deviceAuthZAuthorizeEndpoint = "/device_authz"; + string rootAuthZUri = GetConfigParameter.GetConfigValue("RootAuthZUri"); + string oAuth2TokenEndpoint = GetConfigParameter.GetConfigValue("OAuth2TokenEndpoint"); + string oAuth2UselInfoEndpoint = GetConfigParameter.GetConfigValue("OAuth2UselInfoEndpoint"); + string deviceAuthZAuthorizeEndpoint = GetConfigParameter.GetConfigValue("DeviceAuthZAuthorizeEndpoint"); // パラメタ - string client_id = "ae5a179813234ca290c8de93ef2e31dc"; + string client_id = GetConfigParameter.GetConfigValue("ClientId"); string device_code = ""; string userCode = ""; // URI - Uri tokenEndpointUri = new Uri(rootURI + oAuth2TokenEndpoint); - Uri uselInfoEndpointUri = new Uri(rootURI + oAuth2UselInfoEndpoint); - Uri deviceAuthZAuthorizeEndpointUri = new Uri(rootURI + deviceAuthZAuthorizeEndpoint); + Uri tokenEndpointUri = new Uri(rootAuthZUri + oAuth2TokenEndpoint); + Uri uselInfoEndpointUri = new Uri(rootAuthZUri + oAuth2UselInfoEndpoint); + Uri deviceAuthZAuthorizeEndpointUri = new Uri(rootAuthZUri + deviceAuthZAuthorizeEndpoint); // DeviceAuthZRequestAsync // リクエスト @@ -180,8 +183,8 @@ private static async Task LoginCommand(string aString) JObject responseJObject = (JObject)JsonConvert.DeserializeObject(responseString); device_code = (string)responseJObject[OAuth2AndOIDCConst.device_code]; userCode = (string)responseJObject[OAuth2AndOIDCConst.user_code]; - string verificationUri = rootURI + (string)responseJObject[OAuth2AndOIDCConst.verification_uri]; - string verificationUriComplete = rootURI + (string)responseJObject[OAuth2AndOIDCConst.verification_uri_complete]; + string verificationUri = rootAuthZUri + (string)responseJObject[OAuth2AndOIDCConst.verification_uri]; + string verificationUriComplete = rootAuthZUri + (string)responseJObject[OAuth2AndOIDCConst.verification_uri_complete]; // 結果表示 //Console.WriteLine("deviceCode: " + deviceCode); diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/SPDefinition.xml b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/SPDefinition.xml new file mode 100644 index 000000000..6baf634bc --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/SPDefinition.xml @@ -0,0 +1,15 @@ + + + + +]> + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/SampleLogConf2CS.xml b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/SampleLogConf2CS.xml new file mode 100644 index 000000000..e39f2b3fe --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/SampleLogConf2CS.xml @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/appsettings.json new file mode 100644 index 000000000..246ca0964 --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/appsettings.json @@ -0,0 +1,16 @@ +{ + "connectionStrings": { + "ConnectionString_SQL": "Data Source=localhost;Initial Catalog=Northwind;User ID=sa;Password=seigi@123;", + "ConnectionString_ODBC": "Dsn=odbc_test1", + "ConnectionString_ODP": "User Id=SCOTT;Password=tiger;Data Source=localhost/XE;", + "ConnectionString_MCN": "Server=localhost;Database=test;User Id=root;Password=seigi@123", + "ConnectionString_NPS": "HOST=localhost;DATABASE=postgres;USER ID=postgres;PASSWORD=seigi@123;" + }, + "appSettings": { + "RootAuthZUri": "https://localhost:44300/MultiPurposeAuthSite", + "OAuth2TokenEndpoint": "/token", + "OAuth2UselInfoEndpoint": "/userinfo", + "DeviceAuthZAuthorizeEndpoint": "/device_authz", + "ClientId": "ae5a179813234ca290c8de93ef2e31dc" + } +} \ No newline at end of file From bbdd1e211c0da9ff0ce0cd2a13f84db3174c8703 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Mon, 24 May 2021 20:37:43 +0900 Subject: [PATCH 29/59] Now, I am fixing #398. --- .../README.md | 0 .../LIR_Login_CLI.sln} | 0 .../LIR_Login_CLI/LIR_Login_CLI.csproj} | 18 +++ .../LIR_Login_CLI/MSGDefinition.xml | 23 +++ .../LIR_Login_CLI}/Program.cs | 21 +-- .../LIR_Login_CLI/SPDefinition.xml | 15 ++ .../LIR_Login_CLI/SampleLogConf2CS.xml | 133 ++++++++++++++++++ .../LIR_Login_CLI/appsettings.json | 17 +++ .../README.md | 0 .../README.md | 0 10 files changed, 218 insertions(+), 9 deletions(-) rename root/programs/CS/Samples/CLI_sample/{LIR _Login_CLI => LIR_Login_CLI}/README.md (100%) rename root/programs/CS/Samples4NetCore/Legacy/CLI_sample/{LIR _Login_CLI/LIR _Login_CLI.sln => LIR_Login_CLI/LIR_Login_CLI.sln} (100%) rename root/programs/CS/Samples4NetCore/Legacy/CLI_sample/{LIR _Login_CLI/LIR _Login_CLI/LIR _Login_CLI.csproj => LIR_Login_CLI/LIR_Login_CLI/LIR_Login_CLI.csproj} (61%) create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/MSGDefinition.xml rename root/programs/CS/Samples4NetCore/Legacy/CLI_sample/{LIR _Login_CLI/LIR _Login_CLI => LIR_Login_CLI/LIR_Login_CLI}/Program.cs (93%) create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/SPDefinition.xml create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/SampleLogConf2CS.xml create mode 100644 root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/appsettings.json rename root/programs/CS/Samples4NetCore/Legacy/CLI_sample/{LIR _Login_CLI => LIR_Login_CLI}/README.md (100%) rename root/programs/VB/Samples/CLI_sample/{LIR _Login_CLI => LIR_Login_CLI}/README.md (100%) diff --git a/root/programs/CS/Samples/CLI_sample/LIR _Login_CLI/README.md b/root/programs/CS/Samples/CLI_sample/LIR_Login_CLI/README.md similarity index 100% rename from root/programs/CS/Samples/CLI_sample/LIR _Login_CLI/README.md rename to root/programs/CS/Samples/CLI_sample/LIR_Login_CLI/README.md diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI.sln b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI.sln similarity index 100% rename from root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI.sln rename to root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI.sln diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI/LIR _Login_CLI.csproj b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/LIR_Login_CLI.csproj similarity index 61% rename from root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI/LIR _Login_CLI.csproj rename to root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/LIR_Login_CLI.csproj index 4373c8dcd..8063e0704 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI/LIR _Login_CLI.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/LIR_Login_CLI.csproj @@ -6,6 +6,9 @@ + + + @@ -24,4 +27,19 @@ + + + Always + + + Always + + + Always + + + Always + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/MSGDefinition.xml b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/MSGDefinition.xml new file mode 100644 index 000000000..f2283b409 --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/MSGDefinition.xml @@ -0,0 +1,23 @@ + + + + +]> + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI/Program.cs b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/Program.cs similarity index 93% rename from root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI/Program.cs rename to root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/Program.cs index d97f99172..af34f0a4b 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/LIR _Login_CLI/Program.cs +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/Program.cs @@ -33,6 +33,7 @@ using System.Net.Http; using Touryo.Infrastructure.Public.IO; +using Touryo.Infrastructure.Public.Util; using Touryo.Infrastructure.Public.FastReflection; using Touryo.Infrastructure.Public.Security.Pwd; using Touryo.Infrastructure.Framework.Authentication; @@ -59,7 +60,9 @@ public class Program static async Task Main(string[] args) { // 初期化 - // デバイスフロー用 + // configの初期化 + GetConfigParameter.InitConfiguration("appsettings.json"); + // OAuth PKCE用 OAuth2AndOIDCClient.HttpClient = new HttpClient(); #region rootCommand @@ -166,18 +169,18 @@ private static async Task LoginCommand(string aString) // リクエスト // URL - string rootURI = "https://localhost:44300/MultiPurposeAuthSite"; - string oAuth2AuthorizeEndpoint = "/authorize"; - string oAuth2TokenEndpoint = "/token"; - string oAuth2UselInfoEndpoint = "/userinfo"; + string rootAuthZUri = GetConfigParameter.GetConfigValue("RootAuthZUri"); + string oAuth2AuthorizeEndpoint = GetConfigParameter.GetConfigValue("OAuth2AuthorizeEndpoint"); + string oAuth2TokenEndpoint = GetConfigParameter.GetConfigValue("OAuth2TokenEndpoint"); + string oAuth2UselInfoEndpoint = GetConfigParameter.GetConfigValue("OAuth2UselInfoEndpoint"); // パラメタ - string client_id = "ae5a179813234ca290c8de93ef2e31dc"; + string client_id = GetConfigParameter.GetConfigValue("ClientId"); string redirect_uri = "http://localhost:12345/"; string state = GetPassword.Generate(10, 0); string code_verifier = GetPassword.Base64UrlSecret(50); string code_challenge = OAuth2AndOIDCClient.PKCE_S256_CodeChallengeMethod(code_verifier); - string target = rootURI + oAuth2AuthorizeEndpoint + string.Format( + string target = rootAuthZUri + oAuth2AuthorizeEndpoint + string.Format( "?client_id={0}&response_type={1}&scope={2}&state={3}&code_challenge={4}&code_challenge_method={5}", client_id, OAuth2AndOIDCConst.AuthorizationCodeResponseType, @@ -186,8 +189,8 @@ private static async Task LoginCommand(string aString) OAuth2AndOIDCConst.PKCE_S256); // URI - Uri tokenEndpointUri = new Uri(rootURI + oAuth2TokenEndpoint); - Uri uselInfoEndpointUri = new Uri(rootURI + oAuth2UselInfoEndpoint); + Uri tokenEndpointUri = new Uri(rootAuthZUri + oAuth2TokenEndpoint); + Uri uselInfoEndpointUri = new Uri(rootAuthZUri + oAuth2UselInfoEndpoint); //Uri authorizeEndpointUri = new Uri(target); #region 認可リクエスト・レスポンス diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/SPDefinition.xml b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/SPDefinition.xml new file mode 100644 index 000000000..6baf634bc --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/SPDefinition.xml @@ -0,0 +1,15 @@ + + + + +]> + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/SampleLogConf2CS.xml b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/SampleLogConf2CS.xml new file mode 100644 index 000000000..e39f2b3fe --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/SampleLogConf2CS.xml @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/appsettings.json new file mode 100644 index 000000000..8bc58abcf --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/appsettings.json @@ -0,0 +1,17 @@ +{ + "connectionStrings": { + "ConnectionString_SQL": "Data Source=localhost;Initial Catalog=Northwind;User ID=sa;Password=seigi@123;", + "ConnectionString_ODBC": "Dsn=odbc_test1", + "ConnectionString_ODP": "User Id=SCOTT;Password=tiger;Data Source=localhost/XE;", + "ConnectionString_MCN": "Server=localhost;Database=test;User Id=root;Password=seigi@123", + "ConnectionString_NPS": "HOST=localhost;DATABASE=postgres;USER ID=postgres;PASSWORD=seigi@123;" + }, + "appSettings": { + "RootAuthZUri": "https://localhost:44300/MultiPurposeAuthSite", + "OAuth2AuthorizeEndpoint": "/authorize", + "OAuth2TokenEndpoint": "/token", + "OAuth2UselInfoEndpoint": "/userinfo", + "DeviceAuthZAuthorizeEndpoint": "/device_authz", + "ClientId": "ae5a179813234ca290c8de93ef2e31dc" + } +} \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/README.md b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/README.md similarity index 100% rename from root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR _Login_CLI/README.md rename to root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/README.md diff --git a/root/programs/VB/Samples/CLI_sample/LIR _Login_CLI/README.md b/root/programs/VB/Samples/CLI_sample/LIR_Login_CLI/README.md similarity index 100% rename from root/programs/VB/Samples/CLI_sample/LIR _Login_CLI/README.md rename to root/programs/VB/Samples/CLI_sample/LIR_Login_CLI/README.md From d280bc68a515b5d756c159c29a20396375d1a4e4 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Mon, 24 May 2021 20:44:56 +0900 Subject: [PATCH 30/59] Now, I am fixing #398. --- root/programs/CS/5_Build_CLICore_sample.bat | 4 ++-- .../Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI.sln | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/root/programs/CS/5_Build_CLICore_sample.bat b/root/programs/CS/5_Build_CLICore_sample.bat index c15a153ae..3b725890a 100644 --- a/root/programs/CS/5_Build_CLICore_sample.bat +++ b/root/programs/CS/5_Build_CLICore_sample.bat @@ -34,8 +34,8 @@ pause rem -------------------------------------------------- rem Batch build of LIR _Login_CLI. rem -------------------------------------------------- -dotnet restore "Samples4NetCore\Legacy\CLI_sample\LIR _Login_CLI\LIR _Login_CLI.sln" -dotnet msbuild %COMMANDLINE% "Samples4NetCore\Legacy\CLI_sample\LIR _Login_CLI\LIR _Login_CLI.sln" +dotnet restore "Samples4NetCore\Legacy\CLI_sample\LIR_Login_CLI\LIR_Login_CLI.sln" +dotnet msbuild %COMMANDLINE% "Samples4NetCore\Legacy\CLI_sample\LIR_Login_CLI\LIR_Login_CLI.sln" pause diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI.sln b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI.sln index b76a69af5..0174f857e 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.30717.126 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LIR _Login_CLI", "LIR _Login_CLI\LIR _Login_CLI.csproj", "{1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LIR_Login_CLI", "LIR_Login_CLI\LIR_Login_CLI.csproj", "{1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution From d873cd9bc1c53dfc6a04ef61ca7fd6ef01acdeed Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Tue, 25 May 2021 09:48:13 +0900 Subject: [PATCH 31/59] fixed #404 --- .../ASPNETWebServiceCore/appsettings.json | 14 +++++++------- .../TestBatch/SimpleBatchCore/appsettings.json | 2 +- .../CS/Frameworks/Tests/TestCode/appsettings.json | 4 ++-- .../Frameworks/Tools/DPQuery_Tool/appsettings.json | 4 ++-- .../Frameworks/Tools/DaoGen_Tool/appsettings.json | 4 ++-- .../Backend/MVC_Sample/MVC_Sample/appsettings.json | 14 +++++++------- .../2CSClientWPF_sample/appsettings.json | 2 +- .../2CSClientWin_sample/appsettings.json | 2 +- .../GenDaoAndBatUpd_sample/appsettings.json | 2 +- .../2CS_sample/TimeStamp_sample/appsettings.json | 2 +- .../RerunnableBatch_sample/appsettings.json | 2 +- .../RerunnableBatch_sample2/appsettings.json | 2 +- .../RerunnableBatch_sample3/appsettings.json | 2 +- .../Bat_sample/SimpleBatch_sample/appsettings.json | 2 +- .../WSClientWPF_sample/appsettings.json | 2 +- .../WSClientWin_sample/appsettings.json | 4 ++-- 16 files changed, 32 insertions(+), 32 deletions(-) diff --git a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore/appsettings.json b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore/appsettings.json index a7b8b8eb6..3a7af5d27 100644 --- a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore/appsettings.json +++ b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore/appsettings.json @@ -39,20 +39,20 @@ // フレームワークの使用するパラメータ - start // 共有情報定義へのパス - "FxXMLSPDefinition": "C:\\root\\files\\resource\\XML\\SPDefinition.xml", + "FxXMLSPDefinition": "C:/root/files/resource/XML/SPDefinition.xml", // メッセージ定義へのパス - "FxXMLMSGDefinition": "C:\\root\\files\\resource\\XML\\MSGDefinition.xml", + "FxXMLMSGDefinition": "C:/root/files/resource/XML/MSGDefinition.xml", // トランザクション制御定義へのパス - "FxXMLTCDefinition": "C:\\root\\files\\resource\\XML\\TCDefinition.xml", + "FxXMLTCDefinition": "C:/root/files/resource/XML/TCDefinition.xml", // 名前解決定義へのパス - "FxXMLTMInProcessDefinition": "C:\\root\\files\\resource\\XML\\TMInProcessDefinition.xml", + "FxXMLTMInProcessDefinition": "C:/root/files/resource/XML/TMInProcessDefinition.xml", // フレームワークの使用するパラメータ - end // 共通部品の使用するパラメータ - start // Log4Netのコンフィグファイルへのパス - "FxLog4NetConfFile": "C:\\root\\files\\resource\\Log\\SampleLogConfWebService.xml", + "FxLog4NetConfFile": "C:/root/files/resource/Log/SampleLogConfWebService.xml", // 共通部品の使用するパラメータ - end // D層のパフォーマンスログ出力機能のon・off" "-->", "FxSqlTraceLog": "on", @@ -76,10 +76,10 @@ "b6b393fe861b430eb4ee061006826b03", "f374a155909d486a9234693c34e94479" ], - "SpRp_RsaCerFilePath": "C:\\root\\files\\resource\\X509\\SHA256RSA_Server.cer", + "SpRp_RsaCerFilePath": "C:/root/files/resource/X509/SHA256RSA_Server.cer", // SQLファイルファイル(フォルダ)へのパス - "SqlTextFilePath": "C:\\root\\files\\resource\\Sql" + "SqlTextFilePath": "C:/root/files/resource/Sql" // アプリケーションの使用するパラメータ - end } diff --git a/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatchCore/appsettings.json b/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatchCore/appsettings.json index 2051b82d7..b0a68e29e 100644 --- a/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatchCore/appsettings.json +++ b/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatchCore/appsettings.json @@ -14,6 +14,6 @@ "FxSqlCacheSwitch": "off", "FxSqlEncoding": "utf-8", "FxSqlCommandTimeout": "30", - "SqlTextFilePath": "C:\\root\\files\\resource\\Sql" + "SqlTextFilePath": "C:/root/files/resource/Sql" } } \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tests/TestCode/appsettings.json b/root/programs/CS/Frameworks/Tests/TestCode/appsettings.json index 2e61dbf9c..b2c8044b1 100644 --- a/root/programs/CS/Frameworks/Tests/TestCode/appsettings.json +++ b/root/programs/CS/Frameworks/Tests/TestCode/appsettings.json @@ -2,8 +2,8 @@ // appSettings section "appSettings": { // リソース ファイルの場合 - "FxXMLMSGDefinition": "C:\\root\\files\\resource\\Xml\\MSGDefinition.xml", - "FxXMLSPDefinition": "C:\\root\\files\\resource\\Xml\\SPDefinition.xml", + "FxXMLMSGDefinition": "C:/root/files/resource/Xml/MSGDefinition.xml", + "FxXMLSPDefinition": "C:/root/files/resource/Xml/SPDefinition.xml", // 埋め込まれたリソースの場合 // "FxXMLMSGDefinition": "TestCodeCore.MSGDefinition.xml", // "FxXMLSPDefinition": "TestCodeCore.SPDefinition.xml", diff --git a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/appsettings.json b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/appsettings.json index 708c4634f..fda86d366 100644 --- a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/appsettings.json +++ b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/appsettings.json @@ -15,8 +15,8 @@ // 共通部品の使用するパラメータ - end // フォルダ - "InputFilesRoot": "C:\\", - "OutputFilesRoot": "C:\\", + "InputFilesRoot": "C:/", + "OutputFilesRoot": "C:/", // 利用者名 "FamilyName": "日立", diff --git a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/appsettings.json b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/appsettings.json index 075cdb0d0..af4c4a6e3 100644 --- a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/appsettings.json +++ b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/appsettings.json @@ -12,8 +12,8 @@ "ConnectionString_NPS": "HOST=localhost;DATABASE=postgres;USER ID=postgres;PASSWORD=seigi@123;", // フォルダ - "InputFilesRoot": "C:\\", - "OutputFilesRoot": "C:\\", + "InputFilesRoot": "C:/", + "OutputFilesRoot": "C:/", // 利用者名 "FamilyName": "日立", diff --git a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/appsettings.json b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/appsettings.json index d2c87d4ae..c68bb3c15 100644 --- a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/appsettings.json @@ -17,20 +17,20 @@ // 基盤画面パス" "FxErrorScreenPath": "/Error/Index", // 共有情報定義へのパス - "FxXMLSPDefinition": "C:\\root\\files\\resource\\XML\\SPDefinition.xml", + "FxXMLSPDefinition": "C:/root/files/resource/XML/SPDefinition.xml", // メッセージ定義へのパス - "FxXMLMSGDefinition": "C:\\root\\files\\resource\\XML\\MSGDefinition.xml", + "FxXMLMSGDefinition": "C:/root/files/resource/XML/MSGDefinition.xml", // トランザクション制御定義へのパス - "FxXMLTCDefinition": "C:\\root\\files\\resource\\XML\\TCDefinition.xml", + "FxXMLTCDefinition": "C:/root/files/resource/XML/TCDefinition.xml", // 名前解決定義へのパス - "FxXMLTMInProcessDefinition": "C:\\root\\files\\resource\\XML\\TMInProcessDefinition.xml", + "FxXMLTMInProcessDefinition": "C:/root/files/resource/XML/TMInProcessDefinition.xml", // フレームワークの使用するパラメータ - end // 共通部品の使用するパラメータ - start // Log4Netのコンフィグファイルへのパス - "FxLog4NetConfFile": "C:\\root\\files\\resource\\Log\\SampleLogConf.xml", + "FxLog4NetConfFile": "C:/root/files/resource/Log/SampleLogConf.xml", // 共通部品の使用するパラメータ - end // D層のパフォーマンスログ出力機能のon・off" "-->", "FxSqlTraceLog": "on", @@ -51,7 +51,7 @@ "SpRp_Isser": "https://ssoauth.opentouryo.com", "OAuth2AndOidcClientID": "f53469c17c5a432f86ce563b7805ab89", "OAuth2AndOidcSecret": "cKdwJb6mRKVIJpGxEWjIC94zquQltw_ECfO-55p21YM", - "SpRp_RsaCerFilePath": "C:\\root\\files\\resource\\X509\\SHA256RSA_Server.cer", + "SpRp_RsaCerFilePath": "C:/root/files/resource/X509/SHA256RSA_Server.cer", "JwkSetUri": "https://localhost:44300/MultiPurposeAuthSite/jwkcerts/", "SpRp_AuthRequestUri": "https://localhost:44300/MultiPurposeAuthSite/authorize", "SpRp_TokenRequestUri": "https://localhost:44300/MultiPurposeAuthSite/token", @@ -59,7 +59,7 @@ "SpRp_RedirectUri": "https://localhost:44334/Home/OAuth2AuthorizationCodeGrantClient", // SQLファイルファイル(フォルダ)へのパス - "SqlTextFilePath": "C:\\root\\files\\resource\\Sql" + "SqlTextFilePath": "C:/root/files/resource/Sql" // アプリケーションの使用するパラメータ - end } diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/appsettings.json index d3b3a507b..11f861805 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/appsettings.json @@ -51,7 +51,7 @@ // アプリケーションの使用するパラメータ - start // SQLファイルファイル(フォルダ)へのパス - "SqlTextFilePath": "C:\\root\\files\\resource\\Sql", + "SqlTextFilePath": "C:/root/files/resource/Sql", // コントロールのプレフィックス(追加分) "FxPrefixOfCheckBox": "cbx" // アプリケーションの使用するパラメータ - end diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/appsettings.json index 2736ab173..dab0064a6 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/appsettings.json @@ -51,7 +51,7 @@ // アプリケーションの使用するパラメータ - start // SQLファイルファイル(フォルダ)へのパス - "SqlTextFilePath": "C:\\root\\files\\resource\\Sql", + "SqlTextFilePath": "C:/root/files/resource/Sql", // コントロールのプレフィックス(追加分) "FxPrefixOfCheckBox": "cbx" // アプリケーションの使用するパラメータ - end diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/appsettings.json index 26498532e..368cc20d4 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/appsettings.json @@ -33,7 +33,7 @@ // アプリケーションの使用するパラメータ - start // SQLファイルファイル(フォルダ)へのパス - //"SqlTextFilePath": ".\\Dao", + //"SqlTextFilePath": "./Dao", "SqlTextFilePath": "GenDaoAndBatUpd_sample.Dao" // アプリケーションの使用するパラメータ - end } diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/appsettings.json index 40e6439f7..26a898d0a 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/appsettings.json @@ -26,7 +26,7 @@ // アプリケーションの使用するパラメータ - start // SQLファイルファイル(フォルダ)へのパス - "SqlTextFilePath": ".\\Dao", + "SqlTextFilePath": "./Dao", // アプリケーションの使用するパラメータ - end } } \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/appsettings.json index 7b45ef3f3..6acfed80c 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/appsettings.json @@ -14,6 +14,6 @@ "FxSqlCacheSwitch": "off", "FxSqlEncoding": "utf-8", "FxSqlCommandTimeout": "30", - "SqlTextFilePath": ".\\Dao" + "SqlTextFilePath": "./Dao" } } \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/appsettings.json index 7b45ef3f3..6acfed80c 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/appsettings.json @@ -14,6 +14,6 @@ "FxSqlCacheSwitch": "off", "FxSqlEncoding": "utf-8", "FxSqlCommandTimeout": "30", - "SqlTextFilePath": ".\\Dao" + "SqlTextFilePath": "./Dao" } } \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/appsettings.json index 7b45ef3f3..6acfed80c 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/appsettings.json @@ -14,6 +14,6 @@ "FxSqlCacheSwitch": "off", "FxSqlEncoding": "utf-8", "FxSqlCommandTimeout": "30", - "SqlTextFilePath": ".\\Dao" + "SqlTextFilePath": "./Dao" } } \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/appsettings.json index fd03c3516..748953abb 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/appsettings.json @@ -14,6 +14,6 @@ "FxSqlCacheSwitch": "off", "FxSqlEncoding": "utf-8", "FxSqlCommandTimeout": "30", - "SqlTextFilePath": "C:\\root\\files\\resource\\Sql" + "SqlTextFilePath": "C:/root/files/resource/Sql" } } \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/appsettings.json index 7cd9e470c..dcee014fb 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/appsettings.json @@ -51,7 +51,7 @@ // アプリケーションの使用するパラメータ - start // SQLファイルファイル(フォルダ)へのパス - "SqlTextFilePath": "C:\\root\\files\\resource\\Sql", + "SqlTextFilePath": "C:/root/files/resource/Sql", // アプリケーションの使用するパラメータ - end }, diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/appsettings.json b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/appsettings.json index d7e4626a9..7e3d73853 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/appsettings.json +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/appsettings.json @@ -60,11 +60,11 @@ "SpRp_Isser": "https://ssoauth.opentouryo.com", "OAuth2AndOidcClientID": "b6b393fe861b430eb4ee061006826b03", "OAuth2AndOidcSecret": "p2RgAFKF-JaF0A9F1tyDXp4wMq-uQZYyvTBM8wr_v8g", - "SpRp_RsaCerFilePath": "C:\\root\\files\\resource\\X509\\SHA256RSA_Server.cer", + "SpRp_RsaCerFilePath": "C:/root/files/resource/X509/SHA256RSA_Server.cer", "JwkSetUri": "https://localhost:44300/MultiPurposeAuthSite/jwkcerts/", // SQLファイルファイル(フォルダ)へのパス - "SqlTextFilePath": "C:\\root\\files\\resource\\Sql", + "SqlTextFilePath": "C:/root/files/resource/Sql", // コントロールのプレフィックス(追加分) "FxPrefixOfCheckBox": "cbx" // アプリケーションの使用するパラメータ - end From 041dd0a035b0d2fc094c19c0f438888d8369b48d Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Tue, 25 May 2021 10:20:42 +0900 Subject: [PATCH 32/59] fixed #403 --- .../Legacy/Bat_sample/RerunnableBatch_sample/Program.cs | 6 +++++- .../Legacy/Bat_sample/RerunnableBatch_sample2/Program.cs | 6 +++++- .../Legacy/Bat_sample/RerunnableBatch_sample3/Program.cs | 6 +++++- .../Legacy/Bat_sample/SimpleBatch_sample/Program.cs | 5 ++++- .../CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs | 5 ++++- .../CLI_sample/LIR_Login_CLI/LIR_Login_CLI/Program.cs | 6 ++++-- 6 files changed, 27 insertions(+), 7 deletions(-) diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/Program.cs b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/Program.cs index b2c06e646..456e066f9 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/Program.cs +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/Program.cs @@ -21,8 +21,10 @@ using RerunnableBatch_sample.Common; using System; +using System.IO; using System.Collections; using System.Collections.Generic; +using System.Reflection; using Touryo.Infrastructure.Business.Util; using Touryo.Infrastructure.Public.Db; @@ -46,7 +48,9 @@ class Program static void Main(string[] args) { // configの初期化 - GetConfigParameter.InitConfiguration("appsettings.json"); + string dir = new FileInfo(Assembly.GetExecutingAssembly().Location).Directory + .FullName.Replace(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar); + GetConfigParameter.InitConfiguration(dir + "/appsettings.json"); // コマンドラインをバラす関数がある。 List valsLst = null; diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/Program.cs b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/Program.cs index 4a4c8db84..878cccf14 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/Program.cs +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/Program.cs @@ -21,8 +21,10 @@ using RerunnableBatch_sample2.Common; using System; +using System.IO; using System.Collections; using System.Collections.Generic; +using System.Reflection; using Touryo.Infrastructure.Business.Util; using Touryo.Infrastructure.Public.Db; @@ -46,7 +48,9 @@ class Program static void Main(string[] args) { // configの初期化 - GetConfigParameter.InitConfiguration("appsettings.json"); + string dir = new FileInfo(Assembly.GetExecutingAssembly().Location).Directory + .FullName.Replace(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar); + GetConfigParameter.InitConfiguration(dir + "/appsettings.json"); // コマンドラインをバラす関数がある。 List valsLst = null; diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/Program.cs b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/Program.cs index 270d3df17..aa2d9d169 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/Program.cs +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/Program.cs @@ -21,8 +21,10 @@ using RerunnableBatch_sample3.Common; using System; +using System.IO; using System.Collections; using System.Collections.Generic; +using System.Reflection; using Touryo.Infrastructure.Business.Util; using Touryo.Infrastructure.Public.Db; @@ -46,7 +48,9 @@ class Program static void Main(string[] args) { // configの初期化 - GetConfigParameter.InitConfiguration("appsettings.json"); + string dir = new FileInfo(Assembly.GetExecutingAssembly().Location).Directory + .FullName.Replace(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar); + GetConfigParameter.InitConfiguration(dir + "/appsettings.json"); // コマンドラインをバラす関数がある。 List valsLst = null; diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/Program.cs b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/Program.cs index 5ef0d898b..afe9a190d 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/Program.cs +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/Program.cs @@ -23,6 +23,7 @@ using System; using System.IO; using System.Collections.Generic; +using System.Reflection; using Touryo.Infrastructure.Business.Util; using Touryo.Infrastructure.Public.Db; @@ -46,7 +47,9 @@ static void Main(string[] args) //////////////////////////////////////////////////////////////////////// // configの初期化 - GetConfigParameter.InitConfiguration("appsettings.json"); + string dir = new FileInfo(Assembly.GetExecutingAssembly().Location).Directory + .FullName.Replace(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar); + GetConfigParameter.InitConfiguration(dir + "/appsettings.json"); // コマンドラインをバラす関数がある。 List valsLst = null; diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs index d31d392d4..1a098d5ba 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/Program.cs @@ -26,6 +26,7 @@ using System.IO; using System.Threading; +using System.Reflection; using System.Diagnostics; using System.Net.Http; @@ -57,7 +58,9 @@ static async Task Main(string[] args) { // 初期化 // configの初期化 - GetConfigParameter.InitConfiguration("appsettings.json"); + string dir = new FileInfo(Assembly.GetExecutingAssembly().Location).Directory + .FullName.Replace(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar); + GetConfigParameter.InitConfiguration(dir + "/appsettings.json"); // デバイスフロー用 OAuth2AndOIDCClient.HttpClient = new HttpClient(); diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/Program.cs b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/Program.cs index af34f0a4b..8ac3d400a 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/Program.cs +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/Program.cs @@ -26,6 +26,7 @@ using System.IO; using System.Threading; +using System.Reflection; using System.Diagnostics; using System.ComponentModel; using System.Runtime.InteropServices; @@ -60,8 +61,9 @@ public class Program static async Task Main(string[] args) { // 初期化 - // configの初期化 - GetConfigParameter.InitConfiguration("appsettings.json"); + string dir = new FileInfo(Assembly.GetExecutingAssembly().Location).Directory + .FullName.Replace(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar); + GetConfigParameter.InitConfiguration(dir + "/appsettings.json"); // OAuth PKCE用 OAuth2AndOIDCClient.HttpClient = new HttpClient(); From b4e8f00d197e66655d0373ec5801314fe3595c3f Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Tue, 25 May 2021 11:59:48 +0900 Subject: [PATCH 33/59] fixed #407 --- .../resource/Log/Log4NetConfigTemplate.xml | 272 +++++++-------- root/files/resource/Log/SampleLogConf.xml | 262 +++++++-------- root/files/resource/Log/SampleLogConf2CS.xml | 238 ++++++------- .../resource/Log/SampleLogConfMobile.xml | 264 +++++++-------- .../resource/Log/SampleLogConfWebService.xml | 314 +++++++++--------- .../Log4DeployZipPackWithHTTP.xml | 142 ++++---- .../2CSClientWPF_sample/SampleLogConf2CS.xml | 238 ++++++------- .../2CSClientWin_sample/SampleLogConf2CS.xml | 238 ++++++------- .../SampleLogConf2CS.xml | 238 ++++++------- .../TimeStamp_sample/SampleLogConf2CS.xml | 238 ++++++------- .../SampleLogConf2CS.xml | 238 ++++++------- .../SampleLogConf2CS.xml | 238 ++++++------- .../SampleLogConf2CS.xml | 238 ++++++------- .../SimpleBatch_sample/SampleLogConf2CS.xml | 238 ++++++------- .../WSClientWPF_sample/SampleLogConf2CS.xml | 238 ++++++------- .../WSClientWin2_sample/SampleLogConf2CS.xml | 238 ++++++------- .../SampleLogConf2CS.xml | 238 ++++++------- .../WSClientWin_sample/SampleLogConf2CS.xml | 238 ++++++------- .../2CSClientWPF_sample/SampleLogConf2CS.xml | 238 ++++++------- .../2CSClientWin_sample/SampleLogConf2CS.xml | 238 ++++++------- .../SampleLogConf2CS.xml | 238 ++++++------- .../TimeStamp_sample/SampleLogConf2CS.xml | 238 ++++++------- .../SampleLogConf2CS.xml | 238 ++++++------- .../SampleLogConf2CS.xml | 238 ++++++------- .../SampleLogConf2CS.xml | 238 ++++++------- .../SimpleBatch_sample/SampleLogConf2CS.xml | 238 ++++++------- .../DAG_Login_CLI/SampleLogConf2CS.xml | 238 ++++++------- .../LIR_Login_CLI/SampleLogConf2CS.xml | 238 ++++++------- .../WSClientWPF_sample/SampleLogConf2CS.xml | 238 ++++++------- .../WSClientWin2_sample/SampleLogConf2CS.xml | 238 ++++++------- .../WSClientWin_sample/SampleLogConf2CS.xml | 238 ++++++------- .../2CSClientWPF_sample/SampleLogConf2CS.xml | 238 ++++++------- .../2CSClientWin_sample/SampleLogConf2CS.xml | 238 ++++++------- .../SampleLogConf2CS.xml | 238 ++++++------- .../TimeStamp_sample/SampleLogConf2CS.xml | 238 ++++++------- .../SampleLogConf2CS.xml | 238 ++++++------- .../SampleLogConf2CS.xml | 238 ++++++------- .../SampleLogConf2CS.xml | 238 ++++++------- .../SimpleBatch_sample/SampleLogConf2CS.xml | 238 ++++++------- .../WSClientWPF_sample/SampleLogConf2CS.xml | 238 ++++++------- .../WSClientWin2_sample/SampleLogConf2CS.xml | 238 ++++++------- .../WSClientWin_sample/SampleLogConf2CS.xml | 238 ++++++------- 42 files changed, 5030 insertions(+), 5030 deletions(-) diff --git a/root/files/resource/Log/Log4NetConfigTemplate.xml b/root/files/resource/Log/Log4NetConfigTemplate.xml index dfba2f446..31ded325d 100644 --- a/root/files/resource/Log/Log4NetConfigTemplate.xml +++ b/root/files/resource/Log/Log4NetConfigTemplate.xml @@ -3,144 +3,144 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + ※ FileAppender、RollingFileAppenderは、ネットワーク上のフォルダ共有やネットワークドライブにへの出力も可能 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/root/files/resource/Log/SampleLogConf.xml b/root/files/resource/Log/SampleLogConf.xml index 6b444eb91..f68b9bdd9 100644 --- a/root/files/resource/Log/SampleLogConf.xml +++ b/root/files/resource/Log/SampleLogConf.xml @@ -3,137 +3,137 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + ※ FileAppender、RollingFileAppenderは、ネットワーク上のフォルダ共有やネットワークドライブにへの出力も可能 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/root/files/resource/Log/SampleLogConf2CS.xml b/root/files/resource/Log/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/files/resource/Log/SampleLogConf2CS.xml +++ b/root/files/resource/Log/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/files/resource/Log/SampleLogConfMobile.xml b/root/files/resource/Log/SampleLogConfMobile.xml index 634177ae3..de1d0d85d 100644 --- a/root/files/resource/Log/SampleLogConfMobile.xml +++ b/root/files/resource/Log/SampleLogConfMobile.xml @@ -3,138 +3,138 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + ※ FileAppender、RollingFileAppenderは、ネットワーク上のフォルダ共有やネットワークドライブにへの出力も可能 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/root/files/resource/Log/SampleLogConfWebService.xml b/root/files/resource/Log/SampleLogConfWebService.xml index cf358928a..ba9669807 100644 --- a/root/files/resource/Log/SampleLogConfWebService.xml +++ b/root/files/resource/Log/SampleLogConfWebService.xml @@ -3,163 +3,163 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + ※ FileAppender、RollingFileAppenderは、ネットワーク上のフォルダ共有やネットワークドライブにへの出力も可能 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Log4DeployZipPackWithHTTP.xml b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Log4DeployZipPackWithHTTP.xml index 54a4dd7f2..b443b2c36 100644 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Log4DeployZipPackWithHTTP.xml +++ b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Log4DeployZipPackWithHTTP.xml @@ -3,82 +3,82 @@ - + - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - + + + + + + + diff --git a/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/SampleLogConf2CS.xml b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/SampleLogConf2CS.xml b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/SampleLogConf2CS.xml index e39f2b3fe..9a7b7a976 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/SampleLogConf2CS.xml b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/SampleLogConf2CS.xml b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/SampleLogConf2CS.xml b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/SampleLogConf2CS.xml b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/SampleLogConf2CS.xml b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/SampleLogConf2CS.xml +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/SampleLogConf2CS.xml b/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/SampleLogConf2CS.xml +++ b/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/SampleLogConf2CS.xml b/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/SampleLogConf2CS.xml +++ b/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/SampleLogConf2CS.xml b/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/SampleLogConf2CS.xml +++ b/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/SampleLogConf2CS.xml b/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/SampleLogConf2CS.xml +++ b/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/SampleLogConf2CS.xml b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/SampleLogConf2CS.xml +++ b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/SampleLogConf2CS.xml b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/SampleLogConf2CS.xml +++ b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/SampleLogConf2CS.xml b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/SampleLogConf2CS.xml +++ b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/SampleLogConf2CS.xml b/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/SampleLogConf2CS.xml +++ b/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/SampleLogConf2CS.xml b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/SampleLogConf2CS.xml +++ b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/SampleLogConf2CS.xml b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/SampleLogConf2CS.xml index e39f2b3fe..476cea7c5 100644 --- a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/SampleLogConf2CS.xml +++ b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/SampleLogConf2CS.xml b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/SampleLogConf2CS.xml index e39f2b3fe..9e6c5fb2a 100644 --- a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/SampleLogConf2CS.xml +++ b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/SampleLogConf2CS.xml @@ -3,131 +3,131 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + FileAppender :ファイルに出力。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 + EventLogAppender :イベントビューアに出力(ローカルのPCのみ) + ConsoleAppender :コンソールに出力 + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + その他、特定のレベルのログだけを出力したい + 場合にはFilterと呼ばれる機能を使用する。 + --> + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + From 8f9f1ec80304da425fe1a34dabfdab9ba2688430 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Tue, 25 May 2021 14:15:47 +0900 Subject: [PATCH 34/59] Additional commit for #407. --- .../resource/Log/SampleLogConfMobile.xml | 140 --------- .../TestBatch/SimpleBatch/SampleLogConf.xml | 286 +++++++++--------- .../SimpleBatchCore/SampleLogConf.xml | 286 +++++++++--------- .../Tests/TestCode/SampleLogConf.xml | 43 +-- 4 files changed, 308 insertions(+), 447 deletions(-) delete mode 100644 root/files/resource/Log/SampleLogConfMobile.xml diff --git a/root/files/resource/Log/SampleLogConfMobile.xml b/root/files/resource/Log/SampleLogConfMobile.xml deleted file mode 100644 index de1d0d85d..000000000 --- a/root/files/resource/Log/SampleLogConfMobile.xml +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatch/SampleLogConf.xml b/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatch/SampleLogConf.xml index c741055c1..9871550bd 100644 --- a/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatch/SampleLogConf.xml +++ b/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatch/SampleLogConf.xml @@ -1,178 +1,178 @@  - - + - + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatchCore/SampleLogConf.xml b/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatchCore/SampleLogConf.xml index c741055c1..9871550bd 100644 --- a/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatchCore/SampleLogConf.xml +++ b/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatchCore/SampleLogConf.xml @@ -1,178 +1,178 @@  - - + - + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tests/TestCode/SampleLogConf.xml b/root/programs/CS/Frameworks/Tests/TestCode/SampleLogConf.xml index b4f4c57ef..9871550bd 100644 --- a/root/programs/CS/Frameworks/Tests/TestCode/SampleLogConf.xml +++ b/root/programs/CS/Frameworks/Tests/TestCode/SampleLogConf.xml @@ -7,33 +7,34 @@ - + - + @@ -141,12 +142,12 @@ --> diff --git a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/SampleLogConf2CS.xml b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/SampleLogConf2CS.xml index 9e6c5fb2a..476cea7c5 100644 --- a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/SampleLogConf2CS.xml +++ b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/SampleLogConf2CS.xml @@ -9,27 +9,27 @@ アペンダの例 FileAppender :ファイルに出力。 - RollingFileAppender :ファイルに出力。ローリング機能付き。 + RollingFileAppender :ファイルに出力。ローリング機能付き。 EventLogAppender :イベントビューアに出力(ローカルのPCのみ) - ConsoleAppender :コンソールに出力 + ConsoleAppender :コンソールに出力 --> @@ -105,11 +105,11 @@ --> From dabd70da9257c687cdac96b6c127e9b2d2923026 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Tue, 25 May 2021 14:53:58 +0900 Subject: [PATCH 36/59] fixed #408 --- .../Tools/DistributeFile_Tool/App.config | 14 ++ .../DistributeFile_Tool.csproj | 80 +++++++ .../DistributeFile_Tool.sln | 25 +++ .../Tools/DistributeFile_Tool/Program.cs | 205 ++++++++++++++++++ .../Properties/AssemblyInfo.cs | 36 +++ .../Tools/DistributeFile_Tool/README.md | 1 + .../Tools/DistributeFile_Tool/packages.config | 12 + 7 files changed, 373 insertions(+) create mode 100644 root/programs/CS/Frameworks/Tools/DistributeFile_Tool/App.config create mode 100644 root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.csproj create mode 100644 root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.sln create mode 100644 root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Program.cs create mode 100644 root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Properties/AssemblyInfo.cs create mode 100644 root/programs/CS/Frameworks/Tools/DistributeFile_Tool/README.md create mode 100644 root/programs/CS/Frameworks/Tools/DistributeFile_Tool/packages.config diff --git a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/App.config b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/App.config new file mode 100644 index 000000000..9a6820f73 --- /dev/null +++ b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/App.config @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.csproj b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.csproj new file mode 100644 index 000000000..1d556abeb --- /dev/null +++ b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.csproj @@ -0,0 +1,80 @@ + + + + + Debug + AnyCPU + {2F7D1A24-3882-4425-AC49-1E623D19C549} + Exe + DistributeFile_Tool + DistributeFile_Tool + v4.6.1 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll + + + packages\Sharprompt.2.2.1\lib\netstandard2.0\Sharprompt.dll + + + + packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll + + + packages\System.CommandLine.2.0.0-beta1.21216.1\lib\netstandard2.0\System.CommandLine.dll + + + packages\System.ComponentModel.Annotations.4.7.0\lib\net461\System.ComponentModel.Annotations.dll + + + + + packages\System.Memory.4.5.4\lib\net461\System.Memory.dll + + + + packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll + + + packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.sln b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.sln new file mode 100644 index 000000000..0df4e0e87 --- /dev/null +++ b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DistributeFile_Tool", "DistributeFile_Tool.csproj", "{2F7D1A24-3882-4425-AC49-1E623D19C549}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2F7D1A24-3882-4425-AC49-1E623D19C549}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2F7D1A24-3882-4425-AC49-1E623D19C549}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2F7D1A24-3882-4425-AC49-1E623D19C549}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2F7D1A24-3882-4425-AC49-1E623D19C549}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {13A2C6FB-ED4C-48AA-AC89-679921A6D7B2} + EndGlobalSection +EndGlobal diff --git a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Program.cs b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Program.cs new file mode 100644 index 000000000..4f5e6b193 --- /dev/null +++ b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Program.cs @@ -0,0 +1,205 @@ +//********************************************************************************** +//* クラス名 :Program +//* クラス日本語名 :修正ファイルの配布ツール +//* +//* 作成日時 :- +//* 作成者 :開発基盤部会 +//* 更新履歴 : +//* +//* 日時 更新者 内容 +//* ---------- ---------------- ------------------------------------------------- +//* 20xx/xx/xx XX XX XXXX +//********************************************************************************** + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +using System.IO; +using System.Threading; +using System.Diagnostics; + +using System.CommandLine; +using System.CommandLine.Invocation; + +using Sharprompt; + +using Newtonsoft; +using Newtonsoft.Json; + +namespace Simple_CLI +{ + /// Program + public class Program + { + /// + /// 'async main' は C# 7.1 以上の言語バージョンが必要(→ VS 2019)。 + /// + /// string[] + /// int + static async Task Main(string[] args) + { + #region rootCommand + // Create a root command with some options + Command rootCommand = new RootCommand + { + // alias、default value、description + new Option( + alias: "--src-file", + description: "Copy source file."), + new Option( + alias: "--dst-root-directory", + description: "Copy destination root directory."), + new Option( + alias: "--excluded-directory-list", + getDefaultValue: () => "bin;obj;.git;.svn;.vs;node_modules", + description: "Semicolon delimited excluded directory list."), + }; + + rootCommand.Description = "My sample app"; + + // Note that the parameters of the handler method are matched according to the names of the options + rootCommand.Handler = CommandHandler.Create< FileInfo, DirectoryInfo, string> (Program.RootCommand); + #endregion + + // テストの実行 + await Program.Test(rootCommand); + + // Parse the incoming args and invoke the handler + return rootCommand.InvokeAsync(args).Result; + } + + #region Command + + /// StringBuilder + static StringBuilder sb4Log = null; + + /// RootCommand + /// FileInfo + /// DirectoryInfo + /// string + private static void RootCommand( + FileInfo srcFile, DirectoryInfo dstRootDirectory, string excludedDirectoryList) + { + // 引数確認 + Console.WriteLine( + $"--src-file is: {srcFile?.Name ?? "null"}, " + + $"--dst-root-directory is: {dstRootDirectory?.Name?? "null"}, " + + $"--excluded-directory-list is: {excludedDirectoryList}, "); + + // 実行準備 + Program.sb4Log = new StringBuilder(); + string[] _excludedDirectoryList = excludedDirectoryList.Split(';'); + + // 再帰実行 + Console.CursorVisible = false; + Program.WalkDirectoryTree(srcFile, dstRootDirectory, _excludedDirectoryList); + Console.CursorVisible = true; + + // 終了処理 + Console.WriteLine(""); + Console.WriteLine(""); + Console.WriteLine("- Result Log -"); + Console.WriteLine(Program.sb4Log.ToString()); + Console.ReadKey(); // デバッグ用 + } + + /// ShowProgress + /// string + static void ShowProgress(string str) + { + int prePos = Console.CursorLeft;//現在カーソル位置を取得 + Console.SetCursorPosition(0, Console.CursorTop); + Console.Write(str.PadRight(prePos));//前のカーソル位置まで空白埋めする + } + + /// WalkDirectoryTree + /// FileInfo + /// DirectoryInfo + /// string[] + static void WalkDirectoryTree( + FileInfo srcFile, DirectoryInfo currentDirectory, string[] excludedDirectoryList) + { + FileInfo[] files = null; + DirectoryInfo[] subDirs = null; + + if (currentDirectory == null) + { + return; + } + else + { + // 進行状況を表示 + Program.ShowProgress(currentDirectory.Name); + + //(進行が見えるように)処理を100ミリ秒間休止 + Thread.Sleep(100); + } + + // First, process all the files directly under this folder + // 最初に、このフォルダ直下のすべてのファイルを処理する。 + files = currentDirectory.GetFiles("*.*"); + foreach (FileInfo fi in files) + { + // 進行状況を表示 + Program.ShowProgress(fi.Name); + + if (fi.Name.ToLower() == srcFile.Name.ToLower()) + { + // 置き換え + try + { + // 正常 + srcFile.CopyTo(fi.FullName, true); + // ログ + sb4Log.AppendLine(fi.FullName); + } + catch (Exception e) + { + // 異常 + // ログ + sb4Log.AppendLine(e.Message); + } + } + } + + subDirs = currentDirectory.GetDirectories(); + foreach (DirectoryInfo di in subDirs) + { + // チェック + bool skip = false; + foreach (string exDL in excludedDirectoryList) + { + if (di.Name.ToLower() == exDL.ToLower()) + { + // スキップ + skip = true; + } + } + + // 再帰 + if (!skip) + { + if(di != null) + Program.WalkDirectoryTree(srcFile, di, excludedDirectoryList); + } + } + } + #endregion + + #region TEST + /// Test + /// Command + /// Task + private static async Task Test(Command rootCommand) + { + // デバッグ実行時だけ実行 + if (!Debugger.IsAttached) return; + + await rootCommand.InvokeAsync("--src-file DistributeFile_Tool.exe --dst-root-directory ."); + } + #endregion + } +} diff --git a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Properties/AssemblyInfo.cs b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..69118115c --- /dev/null +++ b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 +// 制御されます。アセンブリに関連付けられている情報を変更するには、 +// これらの属性値を変更します。 +[assembly: AssemblyTitle("Simple_CLI")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Simple_CLI")] +[assembly: AssemblyCopyright("Copyright © 2021")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// ComVisible を false に設定すると、このアセンブリ内の型は COM コンポーネントから +// 参照できなくなります。COM からこのアセンブリ内の型にアクセスする必要がある場合は、 +// その型の ComVisible 属性を true に設定します。 +[assembly: ComVisible(false)] + +// このプロジェクトが COM に公開される場合、次の GUID が typelib の ID になります +[assembly: Guid("2f7d1a24-3882-4425-ac49-1e623d19c549")] + +// アセンブリのバージョン情報は次の 4 つの値で構成されています: +// +// メジャー バージョン +// マイナー バージョン +// ビルド番号 +// リビジョン +// +// すべての値を指定するか、次を使用してビルド番号とリビジョン番号を既定に設定できます +// 既定値にすることができます: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/README.md b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/README.md new file mode 100644 index 000000000..91bc2f31c --- /dev/null +++ b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/README.md @@ -0,0 +1 @@ +同名ファイルの配布ツール(開発フォルダから、各テンプレート・フォルダに配布する的な使い方。 \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/packages.config b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/packages.config new file mode 100644 index 000000000..bd438e3c3 --- /dev/null +++ b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/packages.config @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file From 51c1a69670486f18fdfcc6ce9f4e814342a93bf5 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Tue, 25 May 2021 15:07:21 +0900 Subject: [PATCH 37/59] Additional commit for #408. --- .../DistributeFile_Tool.csproj | 2 +- .../DistributeFile_ToolCore.csproj | 33 +++++++++++++++++++ .../DistributeFile_ToolCore.sln | 25 ++++++++++++++ .../Tools/DistributeFile_Tool/Program.cs | 2 +- .../Properties/AssemblyInfo.cs | 4 +-- 5 files changed, 62 insertions(+), 4 deletions(-) create mode 100644 root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_ToolCore.csproj create mode 100644 root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_ToolCore.sln diff --git a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.csproj b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.csproj index 1d556abeb..883aef7e1 100644 --- a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.csproj +++ b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.csproj @@ -7,7 +7,7 @@ {2F7D1A24-3882-4425-AC49-1E623D19C549} Exe DistributeFile_Tool - DistributeFile_Tool + OpenTouryo.DistributeFile_Tool v4.6.1 512 true diff --git a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_ToolCore.csproj b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_ToolCore.csproj new file mode 100644 index 000000000..87789b9a2 --- /dev/null +++ b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_ToolCore.csproj @@ -0,0 +1,33 @@ + + + + Exe + net5.0 + DistributeFile_Tool + OpenTouryo.DistributeFile_Tool + + + + TRACE;NETCOREAPP + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_ToolCore.sln b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_ToolCore.sln new file mode 100644 index 000000000..cbab4b608 --- /dev/null +++ b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_ToolCore.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30320.27 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DistributeFile_ToolCore", "DistributeFile_ToolCore.csproj", "{B988A3B4-7296-4491-878B-7C3C2A330A1F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B988A3B4-7296-4491-878B-7C3C2A330A1F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B988A3B4-7296-4491-878B-7C3C2A330A1F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B988A3B4-7296-4491-878B-7C3C2A330A1F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B988A3B4-7296-4491-878B-7C3C2A330A1F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A32A525E-B7F7-4751-877C-46F7BB73BCE5} + EndGlobalSection +EndGlobal diff --git a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Program.cs b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Program.cs index 4f5e6b193..105c04acc 100644 --- a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Program.cs +++ b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Program.cs @@ -198,7 +198,7 @@ private static async Task Test(Command rootCommand) // デバッグ実行時だけ実行 if (!Debugger.IsAttached) return; - await rootCommand.InvokeAsync("--src-file DistributeFile_Tool.exe --dst-root-directory ."); + await rootCommand.InvokeAsync("--src-file OpenTouryo.DistributeFile_Tool.exe --dst-root-directory ."); } #endregion } diff --git a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Properties/AssemblyInfo.cs b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Properties/AssemblyInfo.cs index 69118115c..1dd25b6e7 100644 --- a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Properties/AssemblyInfo.cs +++ b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Properties/AssemblyInfo.cs @@ -5,11 +5,11 @@ // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // 制御されます。アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更します。 -[assembly: AssemblyTitle("Simple_CLI")] +[assembly: AssemblyTitle("OpenTouryo.DistributeFile_Tool")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Simple_CLI")] +[assembly: AssemblyProduct("OpenTouryo.DistributeFile_Tool")] [assembly: AssemblyCopyright("Copyright © 2021")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] From 5a835866d251e0d9d7cc352ae2c5f0471c7ad720 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Tue, 25 May 2021 16:28:17 +0900 Subject: [PATCH 38/59] Additional commit for #395. --- .../Controllers/FxController.cs | 2 +- .../Controllers/FxController.vb | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore/Controllers/FxController.cs b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore/Controllers/FxController.cs index 5db728269..f8392cf96 100644 --- a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore/Controllers/FxController.cs +++ b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore/Controllers/FxController.cs @@ -370,7 +370,7 @@ public async Task> DotNETOnlineWebAPI([FromBody] Dict returnDic.Add("ContextObject", CustomEncode.ToBase64String(contextObject)); if (returnValueObject != null) { - returnDic.Add("ReturnValueObject", CustomEncode.ToBase64String(returnValueObject)); + returnDic.Add("ReturnValueObject", CustomEncode.ToBase64String(returnValueObject)); } else { diff --git a/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Controllers/FxController.vb b/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Controllers/FxController.vb index c44226e89..9edfef1d2 100644 --- a/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Controllers/FxController.vb +++ b/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Controllers/FxController.vb @@ -30,6 +30,7 @@ '* 日時 更新者 内容 '* ---------- ---------------- ------------------------------------------------- '* 2017/08/18 西野 大介 新規作成 +'* 2021/05/18 西野 大介 ASP.NET WebAPI(JSON)の例外処理の問題を修正 '********************************************************************************** Imports System.Web.Http @@ -302,6 +303,11 @@ Namespace ASPNETWebService.Controllers ' エラー情報を戻す。 ret = BinarySerialize.ObjectToBytes(wsErrorInfo) Catch ex As Exception + ' エラー情報を設定する。 + wsErrorInfo.ErrorType = FxEnum.ErrorType.ElseException + 'wsErrorInfo.ErrorMessageID = fxEx.messageID; + wsErrorInfo.ErrorMessage = ex.Message + ' ログ出力用の情報を保存 errorType = FxEnum.ErrorType.ElseException.ToString() ' 2009/09/15-この行 @@ -310,8 +316,10 @@ Namespace ASPNETWebService.Controllers errorToString = ex.ToString() - ' SoapExceptionになって伝播 - Throw + 'throw; // SoapExceptionになって伝播しない + + ' エラー情報を戻す。 + ret = BinarySerialize.ObjectToBytes(wsErrorInfo) Finally '/ Sessionステートレス 'Session.Clear(); @@ -333,7 +341,11 @@ Namespace ASPNETWebService.Controllers returnDic.Add("Return", CustomEncode.ToBase64String(ret)) returnDic.Add("ContextObject", CustomEncode.ToBase64String(contextObject)) - returnDic.Add("ReturnValueObject", CustomEncode.ToBase64String(returnValueObject)) + If returnValueObject IsNot Nothing Then + returnDic.Add("ReturnValueObject", CustomEncode.ToBase64String(returnValueObject)) + Else + returnDic.Add("ReturnValueObject", CustomEncode.ToBase64String(BinarySerialize.ObjectToBytes(""))) + End If Return returnDic End Function From 5e7a3a7a35963189341ceef6c5cf4032876f4e03 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Tue, 25 May 2021 17:09:01 +0900 Subject: [PATCH 39/59] Additional commit for #408. --- root/programs/CS/4_Build_Framework_Tool.bat | 8 ++++++++ root/programs/CS/4_Build_Framework_ToolCore.bat | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/root/programs/CS/4_Build_Framework_Tool.bat b/root/programs/CS/4_Build_Framework_Tool.bat index b3c918266..d36b9f64c 100644 --- a/root/programs/CS/4_Build_Framework_Tool.bat +++ b/root/programs/CS/4_Build_Framework_Tool.bat @@ -37,5 +37,13 @@ rem -------------------------------------------------- pause +rem -------------------------------------------------- +rem Batch build of Deploy DistributeFile_Tool. +rem -------------------------------------------------- +..\nuget.exe restore "Frameworks\Tools\DistributeFile_Tool\DistributeFile_Tool.sln" +%BUILDFILEPATH% %COMMANDLINE% "Frameworks\Tools\DistributeFile_Tool\DistributeFile_Tool.sln" + +pause + rem ------------------------------------------------------- endlocal diff --git a/root/programs/CS/4_Build_Framework_ToolCore.bat b/root/programs/CS/4_Build_Framework_ToolCore.bat index 259dee55f..ed9bd847c 100644 --- a/root/programs/CS/4_Build_Framework_ToolCore.bat +++ b/root/programs/CS/4_Build_Framework_ToolCore.bat @@ -39,5 +39,13 @@ call dotnet msbuild %COMMANDLINE% "Frameworks\Tools\DeployZipPackWithHTTP\Deploy pause +rem -------------------------------------------------- +rem Batch build of Deploy DistributeFile_Tool. +rem -------------------------------------------------- +call dotnet restore "Frameworks\Tools\DistributeFile_Tool\DistributeFile_ToolCore.sln" +call dotnet msbuild %COMMANDLINE% "Frameworks\Tools\DistributeFile_Tool\DistributeFile_ToolCore.sln" + +pause + rem ------------------------------------------------------- endlocal From e03e2e48649fbfe0885bb08330cb0d74238d34a1 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Thu, 27 May 2021 04:10:34 +0900 Subject: [PATCH 40/59] Additional commit for #408. --- .../CS/Frameworks/Tools/DistributeFile_Tool/Program.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Program.cs b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Program.cs index 105c04acc..05dc495e9 100644 --- a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Program.cs +++ b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/Program.cs @@ -54,7 +54,7 @@ static async Task Main(string[] args) description: "Copy destination root directory."), new Option( alias: "--excluded-directory-list", - getDefaultValue: () => "bin;obj;.git;.svn;.vs;node_modules", + getDefaultValue: () => "bin;obj;.git;.svn;.vs;packages;node_modules;temp", description: "Semicolon delimited excluded directory list."), }; @@ -113,6 +113,9 @@ static void ShowProgress(string str) int prePos = Console.CursorLeft;//現在カーソル位置を取得 Console.SetCursorPosition(0, Console.CursorTop); Console.Write(str.PadRight(prePos));//前のカーソル位置まで空白埋めする + + //(進行が見えるように)処理を5ミリ秒間休止 + Thread.Sleep(5); } /// WalkDirectoryTree @@ -133,9 +136,6 @@ static void WalkDirectoryTree( { // 進行状況を表示 Program.ShowProgress(currentDirectory.Name); - - //(進行が見えるように)処理を100ミリ秒間休止 - Thread.Sleep(100); } // First, process all the files directly under this folder From 1510ebb74d2f3e2e68463ebea4ee6f847cafa55f Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Sat, 29 May 2021 01:44:02 +0900 Subject: [PATCH 41/59] fixed #409 --- .../MVC_Sample/Content/touryo/Style.css | 83 ------------------- .../MVC_Sample/wwwroot/css/touryo/Style.css | 83 ------------------- .../MVC_Sample/Content/touryo/Style.css | 83 ------------------- 3 files changed, 249 deletions(-) diff --git a/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Content/touryo/Style.css b/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Content/touryo/Style.css index 81812e812..9bf527574 100644 --- a/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Content/touryo/Style.css +++ b/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Content/touryo/Style.css @@ -128,19 +128,6 @@ margin: 0px; line-height: 35px; cursor: pointer; - /* - .collapsed{ - .arrow:before{ - font-family: FontAwesome; - content: "\f053"; - display: inline-block; - padding-left:10px; - padding-right: 10px; - vertical-align: middle; - float:right; - } - } -*/ } .nav-side-menu ul :not(collapsed) .arrow:before, .nav-side-menu li :not(collapsed) .arrow:before { @@ -194,15 +181,6 @@ text-decoration: none; color: #e1ffff; } -/*.nav-side-menu li a { - text-decoration: none; - color: #e1ffff; -} -.nav-side-menu li a i { - padding-left: 10px; - width: 20px; - padding-right: 20px; -}*/ .nav-side-menu li i { padding-left: 10px; width: 20px; @@ -217,10 +195,6 @@ -ms-transition: all 1s ease; transition: all 1s ease; } -/*body { - margin: 0px; - padding: 0px; -}*/ /* コンテンツの定義 */ #contents{ @@ -229,60 +203,3 @@ margin : 0; padding : 5px 0 50px 5px; } - -/* メディアクエリ */ -@media (max-width: 767px) { - .page-header{ - height: 60px; - } - #header-logo img { - width: 40px; - height: 40px; - } - #header-title{ - padding: 10px; - } - #header-button{ - padding-top: 10px; - } - #header-button button{ - padding: 1px 5px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; - } - .nav-side-menu { - position: fixed; - width: 100%; - height: auto; - z-index: 100; - margin-bottom: 10px; - } - #body-bk { - padding-top: 110px; - } - .nav-side-menu .toggle-btn { - display: block; - cursor: pointer; - position: absolute; - right: 10px; - top: 10px; - z-index: 10 !important; - padding: 3px; - background-color: #ffffff; - color: #000; - width: 40px; - text-align: center; - } - .brand { - text-align: left !important; - font-size: 22px; - padding-left: 20px; - line-height: 50px !important; - } -} -@media (min-width: 767px) { - .nav-side-menu .menu-list .menu-content { - display: block; - } -} diff --git a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/wwwroot/css/touryo/Style.css b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/wwwroot/css/touryo/Style.css index 81812e812..9bf527574 100644 --- a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/wwwroot/css/touryo/Style.css +++ b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/wwwroot/css/touryo/Style.css @@ -128,19 +128,6 @@ margin: 0px; line-height: 35px; cursor: pointer; - /* - .collapsed{ - .arrow:before{ - font-family: FontAwesome; - content: "\f053"; - display: inline-block; - padding-left:10px; - padding-right: 10px; - vertical-align: middle; - float:right; - } - } -*/ } .nav-side-menu ul :not(collapsed) .arrow:before, .nav-side-menu li :not(collapsed) .arrow:before { @@ -194,15 +181,6 @@ text-decoration: none; color: #e1ffff; } -/*.nav-side-menu li a { - text-decoration: none; - color: #e1ffff; -} -.nav-side-menu li a i { - padding-left: 10px; - width: 20px; - padding-right: 20px; -}*/ .nav-side-menu li i { padding-left: 10px; width: 20px; @@ -217,10 +195,6 @@ -ms-transition: all 1s ease; transition: all 1s ease; } -/*body { - margin: 0px; - padding: 0px; -}*/ /* コンテンツの定義 */ #contents{ @@ -229,60 +203,3 @@ margin : 0; padding : 5px 0 50px 5px; } - -/* メディアクエリ */ -@media (max-width: 767px) { - .page-header{ - height: 60px; - } - #header-logo img { - width: 40px; - height: 40px; - } - #header-title{ - padding: 10px; - } - #header-button{ - padding-top: 10px; - } - #header-button button{ - padding: 1px 5px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; - } - .nav-side-menu { - position: fixed; - width: 100%; - height: auto; - z-index: 100; - margin-bottom: 10px; - } - #body-bk { - padding-top: 110px; - } - .nav-side-menu .toggle-btn { - display: block; - cursor: pointer; - position: absolute; - right: 10px; - top: 10px; - z-index: 10 !important; - padding: 3px; - background-color: #ffffff; - color: #000; - width: 40px; - text-align: center; - } - .brand { - text-align: left !important; - font-size: 22px; - padding-left: 20px; - line-height: 50px !important; - } -} -@media (min-width: 767px) { - .nav-side-menu .menu-list .menu-content { - display: block; - } -} diff --git a/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Content/touryo/Style.css b/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Content/touryo/Style.css index 81812e812..9bf527574 100644 --- a/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Content/touryo/Style.css +++ b/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Content/touryo/Style.css @@ -128,19 +128,6 @@ margin: 0px; line-height: 35px; cursor: pointer; - /* - .collapsed{ - .arrow:before{ - font-family: FontAwesome; - content: "\f053"; - display: inline-block; - padding-left:10px; - padding-right: 10px; - vertical-align: middle; - float:right; - } - } -*/ } .nav-side-menu ul :not(collapsed) .arrow:before, .nav-side-menu li :not(collapsed) .arrow:before { @@ -194,15 +181,6 @@ text-decoration: none; color: #e1ffff; } -/*.nav-side-menu li a { - text-decoration: none; - color: #e1ffff; -} -.nav-side-menu li a i { - padding-left: 10px; - width: 20px; - padding-right: 20px; -}*/ .nav-side-menu li i { padding-left: 10px; width: 20px; @@ -217,10 +195,6 @@ -ms-transition: all 1s ease; transition: all 1s ease; } -/*body { - margin: 0px; - padding: 0px; -}*/ /* コンテンツの定義 */ #contents{ @@ -229,60 +203,3 @@ margin : 0; padding : 5px 0 50px 5px; } - -/* メディアクエリ */ -@media (max-width: 767px) { - .page-header{ - height: 60px; - } - #header-logo img { - width: 40px; - height: 40px; - } - #header-title{ - padding: 10px; - } - #header-button{ - padding-top: 10px; - } - #header-button button{ - padding: 1px 5px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; - } - .nav-side-menu { - position: fixed; - width: 100%; - height: auto; - z-index: 100; - margin-bottom: 10px; - } - #body-bk { - padding-top: 110px; - } - .nav-side-menu .toggle-btn { - display: block; - cursor: pointer; - position: absolute; - right: 10px; - top: 10px; - z-index: 10 !important; - padding: 3px; - background-color: #ffffff; - color: #000; - width: 40px; - text-align: center; - } - .brand { - text-align: left !important; - font-size: 22px; - padding-left: 20px; - line-height: 50px !important; - } -} -@media (min-width: 767px) { - .nav-side-menu .menu-list .menu-content { - display: block; - } -} From 761637fdd540150cae1a6531857226a1f71f7d7a Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Sun, 30 May 2021 20:42:57 +0900 Subject: [PATCH 42/59] Tweak. --- root/programs/CS/5_Build_CLI_sample.bat | 1 + root/programs/VB/5_Build_CLI_sample.bat | 1 + 2 files changed, 2 insertions(+) diff --git a/root/programs/CS/5_Build_CLI_sample.bat b/root/programs/CS/5_Build_CLI_sample.bat index 6c110043a..76ec3394b 100644 --- a/root/programs/CS/5_Build_CLI_sample.bat +++ b/root/programs/CS/5_Build_CLI_sample.bat @@ -18,6 +18,7 @@ call %CURRENT_DIR%z_Common.bat rem -------------------------------------------------- rem Batch build of Simple_CLI. rem -------------------------------------------------- +..\nuget.exe restore "Samples\CLI_sample\Simple_CLI\Simple_CLI.sln" %BUILDFILEPATH% %COMMANDLINE% "Samples\CLI_sample\Simple_CLI\Simple_CLI.sln" pause diff --git a/root/programs/VB/5_Build_CLI_sample.bat b/root/programs/VB/5_Build_CLI_sample.bat index 6c110043a..76ec3394b 100644 --- a/root/programs/VB/5_Build_CLI_sample.bat +++ b/root/programs/VB/5_Build_CLI_sample.bat @@ -18,6 +18,7 @@ call %CURRENT_DIR%z_Common.bat rem -------------------------------------------------- rem Batch build of Simple_CLI. rem -------------------------------------------------- +..\nuget.exe restore "Samples\CLI_sample\Simple_CLI\Simple_CLI.sln" %BUILDFILEPATH% %COMMANDLINE% "Samples\CLI_sample\Simple_CLI\Simple_CLI.sln" pause From a190480d22630492a0130dcfb4484ff198243e1f Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Mon, 31 May 2021 02:40:47 +0900 Subject: [PATCH 43/59] Additional commit for #409. --- .../WebForms_Sample/Content/touryo/Style.css | 83 ------------------- .../WebForms_Sample/Content/touryo/Style.css | 83 ------------------- 2 files changed, 166 deletions(-) diff --git a/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/Content/touryo/Style.css b/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/Content/touryo/Style.css index 3fec9f089..00c04d7f9 100644 --- a/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/Content/touryo/Style.css +++ b/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/Content/touryo/Style.css @@ -176,19 +176,6 @@ margin: 0px; line-height: 35px; cursor: pointer; - /* - .collapsed{ - .arrow:before{ - font-family: FontAwesome; - content: "\f053"; - display: inline-block; - padding-left:10px; - padding-right: 10px; - vertical-align: middle; - float:right; - } - } -*/ } .nav-side-menu ul :not(collapsed) .arrow:before, .nav-side-menu li :not(collapsed) .arrow:before { @@ -242,15 +229,6 @@ text-decoration: none; color: #e1ffff; } -/*.nav-side-menu li a { - text-decoration: none; - color: #e1ffff; -} -.nav-side-menu li a i { - padding-left: 10px; - width: 20px; - padding-right: 20px; -}*/ .nav-side-menu li i { padding-left: 10px; width: 20px; @@ -265,10 +243,6 @@ -ms-transition: all 1s ease; transition: all 1s ease; } -/*body { - margin: 0px; - padding: 0px; -}*/ /* コンテンツの定義 */ #contents{ @@ -277,60 +251,3 @@ margin : 0; padding : 5px 0 50px 5px; } - -/* メディアクエリ */ -@media (max-width: 767px) { - .page-header{ - height: 60px; - } - #header-logo img { - width: 40px; - height: 40px; - } - #header-title{ - padding: 10px; - } - #header-button{ - padding-top: 10px; - } - #header-button button{ - padding: 1px 5px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; - } - .nav-side-menu { - position: fixed; - width: 100%; - height: auto; - z-index: 100; - margin-bottom: 10px; - } - #body-bk { - padding-top: 110px; - } - .nav-side-menu .toggle-btn { - display: block; - cursor: pointer; - position: absolute; - right: 10px; - top: 10px; - z-index: 10 !important; - padding: 3px; - background-color: #ffffff; - color: #000; - width: 40px; - text-align: center; - } - .brand { - text-align: left !important; - font-size: 22px; - padding-left: 20px; - line-height: 50px !important; - } -} -@media (min-width: 767px) { - .nav-side-menu .menu-list .menu-content { - display: block; - } -} diff --git a/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/Content/touryo/Style.css b/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/Content/touryo/Style.css index 3fec9f089..00c04d7f9 100644 --- a/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/Content/touryo/Style.css +++ b/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/Content/touryo/Style.css @@ -176,19 +176,6 @@ margin: 0px; line-height: 35px; cursor: pointer; - /* - .collapsed{ - .arrow:before{ - font-family: FontAwesome; - content: "\f053"; - display: inline-block; - padding-left:10px; - padding-right: 10px; - vertical-align: middle; - float:right; - } - } -*/ } .nav-side-menu ul :not(collapsed) .arrow:before, .nav-side-menu li :not(collapsed) .arrow:before { @@ -242,15 +229,6 @@ text-decoration: none; color: #e1ffff; } -/*.nav-side-menu li a { - text-decoration: none; - color: #e1ffff; -} -.nav-side-menu li a i { - padding-left: 10px; - width: 20px; - padding-right: 20px; -}*/ .nav-side-menu li i { padding-left: 10px; width: 20px; @@ -265,10 +243,6 @@ -ms-transition: all 1s ease; transition: all 1s ease; } -/*body { - margin: 0px; - padding: 0px; -}*/ /* コンテンツの定義 */ #contents{ @@ -277,60 +251,3 @@ margin : 0; padding : 5px 0 50px 5px; } - -/* メディアクエリ */ -@media (max-width: 767px) { - .page-header{ - height: 60px; - } - #header-logo img { - width: 40px; - height: 40px; - } - #header-title{ - padding: 10px; - } - #header-button{ - padding-top: 10px; - } - #header-button button{ - padding: 1px 5px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; - } - .nav-side-menu { - position: fixed; - width: 100%; - height: auto; - z-index: 100; - margin-bottom: 10px; - } - #body-bk { - padding-top: 110px; - } - .nav-side-menu .toggle-btn { - display: block; - cursor: pointer; - position: absolute; - right: 10px; - top: 10px; - z-index: 10 !important; - padding: 3px; - background-color: #ffffff; - color: #000; - width: 40px; - text-align: center; - } - .brand { - text-align: left !important; - font-size: 22px; - padding-left: 20px; - line-height: 50px !important; - } -} -@media (min-width: 767px) { - .nav-side-menu .menu-list .menu-content { - display: block; - } -} From 3b0f8f79c2c78dcf66c23b0a67c0d06488b610be Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Thu, 17 Jun 2021 09:57:22 +0900 Subject: [PATCH 44/59] Tweak. --- root/programs/CS/Samples/WS_sample/ASPNETWebService/README.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 root/programs/CS/Samples/WS_sample/ASPNETWebService/README.md diff --git a/root/programs/CS/Samples/WS_sample/ASPNETWebService/README.md b/root/programs/CS/Samples/WS_sample/ASPNETWebService/README.md new file mode 100644 index 000000000..00c5ea578 --- /dev/null +++ b/root/programs/CS/Samples/WS_sample/ASPNETWebService/README.md @@ -0,0 +1,4 @@ +Moved to the following repository. + +- OpenTouryoProject/ResourceServerTemplates +https://github.com/OpenTouryoProject/ResourceServerTemplates/tree/master/root/programs/ASPNETWebService \ No newline at end of file From cf6adfef5cce548f4b0a5f9ea94c105779447901 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Thu, 17 Jun 2021 20:02:26 +0900 Subject: [PATCH 45/59] fixed #410 --- .../Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Startup.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Startup.cs b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Startup.cs index a83f23ead..ed128c91a 100644 --- a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Startup.cs +++ b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Startup.cs @@ -92,13 +92,12 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env) // The default HSTS value is 30 days. // You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. app.UseHsts(); + //app.UseHttpsRedirection(); } // HttpContextのマイグレーション用 app._UseHttpContextAccessor(); - app.UseHttpsRedirection(); - // /wwwroot(既定の)の // 静的ファイルをパイプラインに追加 app.UseStaticFiles(); From 8e5f1e3962ce88fca08c4d77e2d5852214ae5977 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Thu, 17 Jun 2021 21:55:33 +0900 Subject: [PATCH 46/59] fixed #411 --- .../MVC_Sample/Controllers/Crud2Controller.cs | 603 ++++++++++++++++++ .../MVC_Sample/Views/Crud2/Index.cshtml | 124 ++++ .../MVC_Sample/Views/Crud2/_ChartView.cshtml | 46 ++ .../Views/Crud2/_MessageView.cshtml | 24 + 4 files changed, 797 insertions(+) create mode 100644 root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Controllers/Crud2Controller.cs create mode 100644 root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Views/Crud2/Index.cshtml create mode 100644 root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Views/Crud2/_ChartView.cshtml create mode 100644 root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Views/Crud2/_MessageView.cshtml diff --git a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Controllers/Crud2Controller.cs b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Controllers/Crud2Controller.cs new file mode 100644 index 000000000..07fcb6a6f --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Controllers/Crud2Controller.cs @@ -0,0 +1,603 @@ +//********************************************************************************** +//* サンプル アプリ・コントローラ +//********************************************************************************** + +// テスト用クラスなので、必要に応じて流用 or 削除して下さい。 + +//********************************************************************************** +//* クラス名 :Crud1Controller +//* クラス日本語名 :Html.BeginForm用サンプル アプリ・コントローラ +//* +//* 作成日時 :- +//* 作成者 :生技 +//* 更新履歴 : +//* +//* 日時 更新者 内容 +//* ---------- ---------------- ------------------------------------------------- +//* 20xx/xx/xx XX XX XXXX +//********************************************************************************** + +using MVC_Sample.Logic.Business; +using MVC_Sample.Logic.Common; +using MVC_Sample.Models.ViewModels; + +using System.Collections.Generic; +using System.Diagnostics; +using System.Threading.Tasks; + +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Authentication.Cookies; + +using Microsoft.AspNetCore.Mvc; + +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; + +using Touryo.Infrastructure.Business.Presentation; +using Touryo.Infrastructure.Public.IO; +using Touryo.Infrastructure.Public.Db; +using Touryo.Infrastructure.Public.Dto; +using Touryo.Infrastructure.Public.Diagnostics; + +namespace MVC_Sample.Controllers +{ + /// + /// Html.BeginForm用サンプル アプリ・コントローラ + /// + [Authorize(AuthenticationSchemes = CookieAuthenticationDefaults.AuthenticationScheme)] + public class Crud2Controller : MyBaseMVControllerCore + { + /// + /// 画面の初期表示 + /// GET: /Crud2/ + /// + /// 初期表示状態の画面 (ViewResult) + [HttpGet] + public IActionResult Index(CrudViweModel model) + { + return View(model); + } + + /// + /// Shippers テーブルのレコード数をカウントする + /// + /// CrudViweModel + /// 再描画(ViewResult) + [HttpPost] + [ValidateAntiForgeryToken] + public async Task SelectCount(CrudViweModel model) + { + if (ModelState.IsValid) + { + // 引数クラスを生成。下位(B・D層)は、テスト クラスを流用する + TestParameterValue testParameterValue + = new TestParameterValue(this.ControllerName, "-", this.ActionName, + model.DdlDap + "%" + model.DdlMode1 + "%" + model.DdlMode2 + "%" + model.DdlExRollback, this.UserInfo); + + // B層呼出し+都度コミット + LayerB layerB = new LayerB(); + TestReturnValue testReturnValue = (TestReturnValue)await layerB.DoBusinessLogicAsync(testParameterValue, this.SelectIsolationLevel(model.DdlIso)); + + // 結果表示するメッセージ + string message = ""; + + if (testReturnValue.ErrorFlag == true) + { + // 結果(業務続行可能なエラー) + message = "ErrorMessageID:" + testReturnValue.ErrorMessageID + ";"; + message += "ErrorMessage:" + testReturnValue.ErrorMessage + ";"; + message += "ErrorInfo:" + testReturnValue.ErrorInfo; + } + else + { + // 結果(正常系) + message = testReturnValue.Obj.ToString() + "件のデータがあります"; + } + + // メッセージを設定。 + model.Message = message; + } + + // 再表示(Html.BeginFormでは、全体更新。 + return View("Index", model); + } + + /// + /// Shippers テーブルのレコード全件を DataTable として取得する + /// + /// CrudViweModel + /// 再描画(ViewResult) + [HttpPost] + [ValidateAntiForgeryToken] + public async Task SelectAll_DT(CrudViweModel model) + { + if (ModelState.IsValid) + { + // 引数クラスを生成。下位(B・D層)は、テスト クラスを流用する + TestParameterValue testParameterValue + = new TestParameterValue(this.ControllerName, "-", this.ActionName, + model.DdlDap + "%" + model.DdlMode1 + "%" + model.DdlMode2 + "%" + model.DdlExRollback, this.UserInfo); + + // B層呼出し+都度コミット + LayerB layerB = new LayerB(); + TestReturnValue testReturnValue = (TestReturnValue)await layerB.DoBusinessLogicAsync( + testParameterValue, this.SelectIsolationLevel(model.DdlIso)); + + // 結果表示するメッセージ + string message = ""; + + if (testReturnValue.ErrorFlag == true) + { + // 結果(業務続行可能なエラー) + message = "ErrorMessageID:" + testReturnValue.ErrorMessageID + ";"; + message += "ErrorMessage:" + testReturnValue.ErrorMessage + ";"; + message += "ErrorInfo:" + testReturnValue.ErrorInfo; + + // メッセージを設定。 + model.Message = message; + } + else + { + // 結果(正常系) + model.Shippers = (List)testReturnValue.Obj; + } + } + + // 再表示(Html.BeginFormでは、全体更新。 + return View("Index", model); + } + + /// + /// Shippers テーブルのレコード全件を DataSet として取得する + /// + /// CrudViweModel + /// 再描画(ViewResult) + [HttpPost] + [ValidateAntiForgeryToken] + public async Task SelectAll_DS(CrudViweModel model) + { + if (ModelState.IsValid) + { + // 引数クラスを生成。下位(B・D層)は、テスト クラスを流用する + TestParameterValue testParameterValue + = new TestParameterValue(this.ControllerName, "-", this.ActionName, + model.DdlDap + "%" + model.DdlMode1 + "%" + model.DdlMode2 + "%" + model.DdlExRollback, this.UserInfo); + + // B層呼出し+都度コミット + LayerB layerB = new LayerB(); + TestReturnValue testReturnValue = (TestReturnValue)await layerB.DoBusinessLogicAsync( + testParameterValue, this.SelectIsolationLevel(model.DdlIso)); + + // 結果表示するメッセージ + string message = ""; + + if (testReturnValue.ErrorFlag == true) + { + // 結果(業務続行可能なエラー) + message = "ErrorMessageID:" + testReturnValue.ErrorMessageID + ";"; + message += "ErrorMessage:" + testReturnValue.ErrorMessage + ";"; + message += "ErrorInfo:" + testReturnValue.ErrorInfo; + + // メッセージを設定。 + model.Message = message; + } + else + { + // 結果(正常系) + model.Shippers = (List)testReturnValue.Obj; + } + } + + // 再表示(Html.BeginFormでは、全体更新。 + return View("Index", model); + } + + /// + /// Shippers テーブルのレコード全件を DataReader として取得する + /// + /// CrudViweModel + /// 再描画(ViewResult) + [HttpPost] + [ValidateAntiForgeryToken] + public async Task SelectAll_DR(CrudViweModel model) + { + if (ModelState.IsValid) + { + // 引数クラスを生成。下位(B・D層)は、テスト クラスを流用する + TestParameterValue testParameterValue + = new TestParameterValue(this.ControllerName, "-", this.ActionName, + model.DdlDap + "%" + model.DdlMode1 + "%" + model.DdlMode2 + "%" + model.DdlExRollback, this.UserInfo); + + // B層呼出し+都度コミット + LayerB layerB = new LayerB(); + TestReturnValue testReturnValue = (TestReturnValue)await layerB.DoBusinessLogicAsync( + testParameterValue, this.SelectIsolationLevel(model.DdlIso)); + + // 結果表示するメッセージ + string message = ""; + + if (testReturnValue.ErrorFlag == true) + { + // 結果(業務続行可能なエラー) + message = "ErrorMessageID:" + testReturnValue.ErrorMessageID + ";"; + message += "ErrorMessage:" + testReturnValue.ErrorMessage + ";"; + message += "ErrorInfo:" + testReturnValue.ErrorInfo; + + // メッセージを設定。 + model.Message = message; + } + else + { + // 結果(正常系) + model.Shippers = (List)testReturnValue.Obj; + } + } + + // 再表示(Html.BeginFormでは、全体更新。 + return View("Index", model); + } + + /// + /// Shippers テーブルのレコード全件を、動的 SQL を使用して取得する + /// + /// CrudViweModel + /// 再描画(ViewResult) + [HttpPost] + [ValidateAntiForgeryToken] + public async Task SelectAll_DSQL(CrudViweModel model) + { + if (ModelState.IsValid) + { + // 引数クラスを生成。下位(B・D層)は、テスト クラスを流用する + TestParameterValue testParameterValue + = new TestParameterValue(this.ControllerName, "-", this.ActionName, + model.DdlDap + "%" + model.DdlMode1 + "%" + model.DdlMode2 + "%" + model.DdlExRollback, this.UserInfo); + + // 動的SQLの要素を設定 + testParameterValue.OrderColumn = model.DdlOrderColumn; + testParameterValue.OrderSequence = model.DdlOrderSequence; + + // B層呼出し+都度コミット + LayerB layerB = new LayerB(); + TestReturnValue testReturnValue = (TestReturnValue)await layerB.DoBusinessLogicAsync( + testParameterValue, this.SelectIsolationLevel(model.DdlIso)); + + // 結果表示するメッセージ + string message = ""; + + if (testReturnValue.ErrorFlag == true) + { + // 結果(業務続行可能なエラー) + message = "ErrorMessageID:" + testReturnValue.ErrorMessageID + ";"; + message += "ErrorMessage:" + testReturnValue.ErrorMessage + ";"; + message += "ErrorInfo:" + testReturnValue.ErrorInfo; + + // メッセージを設定。 + model.Message = message; + } + else + { + // 結果(正常系) + model.Shippers = (List)testReturnValue.Obj; + } + } + + // 再表示(Html.BeginFormでは、全体更新。 + return View("Index", model); + } + + /// + /// ShipperId をキーにして Shippers テーブルのレコードを取得する + /// + /// CrudViweModel + /// 再描画(ViewResult) + [HttpPost] + [ValidateAntiForgeryToken] + public async Task Select(CrudViweModel model) + { + if (ModelState.IsValid) + { + // 引数クラスを生成。下位(B・D層)は、テスト クラスを流用する + TestParameterValue testParameterValue + = new TestParameterValue(this.ControllerName, "-", this.ActionName, + model.DdlDap + "%" + model.DdlMode1 + "%" + model.DdlMode2 + "%" + model.DdlExRollback, this.UserInfo); + + // 動的SQLの要素を設定 + testParameterValue.Shipper = model.Shipper; + + // B層呼出し+都度コミット + LayerB layerB = new LayerB(); + TestReturnValue testReturnValue = (TestReturnValue)await layerB.DoBusinessLogicAsync( + testParameterValue, this.SelectIsolationLevel(model.DdlIso)); + + // 結果表示するメッセージ + string message = ""; + + if (testReturnValue.ErrorFlag == true) + { + // 結果(業務続行可能なエラー) + message = "ErrorMessageID:" + testReturnValue.ErrorMessageID + ";"; + message += "ErrorMessage:" + testReturnValue.ErrorMessage + ";"; + message += "ErrorInfo:" + testReturnValue.ErrorInfo; + + // メッセージを設定。 + model.Message = message; + } + else + { + // 結果(正常系) + ModelState.Clear(); // ErrorのClearをしないと何故か設定できない。 + + #region PocoToPocoのテストコード + + ShipperViweModel svm = null; + TestShipperViweModel tsvm = null; + + // テスト1 + svm = (ShipperViweModel)BinarySerialize.DeepClone(model.Shipper); + + if (testReturnValue.Obj2 != null) + { + PocoToPoco.Map( + (TestShipperViweModel)testReturnValue.Obj2, svm, + // mapの書き方は、Key-Valueでdst-srcのproperty field名を書く + new Dictionary() + { + { "ShipperID", "_ShipperID"}, + { "CompanyName", "_CompanyName"}, + { "Phone", "_Phone"} + }); + + Debug.WriteLine("svm:" + ObjectInspector.Inspect(svm)); + } + + // テスト2 + tsvm = PocoToPoco.Map( + (ShipperViweModel)testReturnValue.Obj, null, + // mapの書き方は、Key-Valueでdst-srcのproperty field名を書く + new Dictionary() + { + { "_ShipperID", "ShipperID"}, + { "_CompanyName", "CompanyName"}, + { "_Phone", "Phone"} + }); + Debug.WriteLine("tsvm:" + ObjectInspector.Inspect(tsvm)); + + #endregion + + model.Shipper = (ShipperViweModel)testReturnValue.Obj; + } + } + + // 再表示(Html.BeginFormでは、全体更新。 + return View("Index", model); + } + + /// + /// Shippers テーブルに新規レコードを追加する + /// + /// CrudViweModel + /// 再描画(ViewResult) + [HttpPost] + [ValidateAntiForgeryToken] + public async Task Insert(CrudViweModel model) + { + if (ModelState.IsValid) + { + // 引数クラスを生成。下位(B・D層)は、テスト クラスを流用する + TestParameterValue testParameterValue + = new TestParameterValue(this.ControllerName, "-", this.ActionName, + model.DdlDap + "%" + model.DdlMode1 + "%" + model.DdlMode2 + "%" + model.DdlExRollback, this.UserInfo); + + // 動的SQLの要素を設定 + testParameterValue.Shipper = model.Shipper; + + // B層呼出し+都度コミット + LayerB layerB = new LayerB(); + TestReturnValue testReturnValue = (TestReturnValue)await layerB.DoBusinessLogicAsync( + testParameterValue, this.SelectIsolationLevel(model.DdlIso)); + + // 結果表示するメッセージ + string message = ""; + + if (testReturnValue.ErrorFlag == true) + { + // 結果(業務続行可能なエラー) + message = "ErrorMessageID:" + testReturnValue.ErrorMessageID + ";"; + message += "ErrorMessage:" + testReturnValue.ErrorMessage + ";"; + message += "ErrorInfo:" + testReturnValue.ErrorInfo; + } + else + { + // 結果(正常系) + message = testReturnValue.Obj.ToString() + "件追加"; + } + + // メッセージを設定。 + model.Message = message; + } + + // 再表示(Html.BeginFormでは、全体更新。 + return View("Index", model); + } + + /// + /// Shippers テーブルに新規レコードを更新する + /// + /// CrudViweModel + /// 再描画(ViewResult) + [HttpPost] + [ValidateAntiForgeryToken] + public async Task Update(CrudViweModel model) + { + if (ModelState.IsValid) + { + // 引数クラスを生成。下位(B・D層)は、テスト クラスを流用する + TestParameterValue testParameterValue + = new TestParameterValue(this.ControllerName, "-", this.ActionName, + model.DdlDap + "%" + model.DdlMode1 + "%" + model.DdlMode2 + "%" + model.DdlExRollback, this.UserInfo); + + // 動的SQLの要素を設定 + testParameterValue.Shipper = model.Shipper; + + // B層呼出し+都度コミット + LayerB layerB = new LayerB(); + TestReturnValue testReturnValue = (TestReturnValue)await layerB.DoBusinessLogicAsync( + testParameterValue, this.SelectIsolationLevel(model.DdlIso)); + + // 結果表示するメッセージ + string message = ""; + + if (testReturnValue.ErrorFlag == true) + { + // 結果(業務続行可能なエラー) + message = "ErrorMessageID:" + testReturnValue.ErrorMessageID + ";"; + message += "ErrorMessage:" + testReturnValue.ErrorMessage + ";"; + message += "ErrorInfo:" + testReturnValue.ErrorInfo; + } + else + { + // 結果(正常系) + message = testReturnValue.Obj.ToString() + "件更新"; + } + + // メッセージを設定。 + model.Message = message; + } + + // 再表示(Html.BeginFormでは、全体更新。 + return View("Index", model); + } + + /// + /// Shippers テーブルに新規レコードを削除する + /// + /// CrudViweModel + /// 再描画(ViewResult) + [HttpPost] + [ValidateAntiForgeryToken] + public async Task Delete(CrudViweModel model) + { + if (ModelState.IsValid) + { + // 引数クラスを生成。下位(B・D層)は、テスト クラスを流用する + TestParameterValue testParameterValue + = new TestParameterValue(this.ControllerName, "-", this.ActionName, + model.DdlDap + "%" + model.DdlMode1 + "%" + model.DdlMode2 + "%" + model.DdlExRollback, this.UserInfo); + + // 動的SQLの要素を設定 + testParameterValue.Shipper = model.Shipper; + + // B層呼出し+都度コミット + LayerB layerB = new LayerB(); + TestReturnValue testReturnValue = (TestReturnValue)await layerB.DoBusinessLogicAsync( + testParameterValue, this.SelectIsolationLevel(model.DdlIso)); + + // 結果表示するメッセージ + string message = ""; + + if (testReturnValue.ErrorFlag == true) + { + // 結果(業務続行可能なエラー) + message = "ErrorMessageID:" + testReturnValue.ErrorMessageID + ";"; + message += "ErrorMessage:" + testReturnValue.ErrorMessage + ";"; + message += "ErrorInfo:" + testReturnValue.ErrorInfo; + } + else + { + // 結果(正常系) + message = testReturnValue.Obj.ToString() + "件削除"; + } + + // メッセージを設定。 + model.Message = message; + } + + // 再表示(Html.BeginFormでは、全体更新。 + return View("Index", model); + } + + /// + /// Sleepを実行し二重送信防止機能をテストする + /// + /// CrudViweModel + /// 再描画(ViewResult) + [HttpPost] + [ValidateAntiForgeryToken] + public ActionResult PreventDoubleSubmission(CrudViweModel model) + { + System.Threading.Thread.Sleep(5 * 1000); + + // メッセージを設定。 + + // 確認用のカウンタ + int? temp = HttpContext.Session.GetInt32("cnt"); + if (temp.HasValue) + { + HttpContext.Session.SetInt32("cnt", temp.Value + 1); + } + else + { + HttpContext.Session.SetInt32("cnt", 1); + } + temp = HttpContext.Session.GetInt32("cnt"); + + model.Message = "PreventDoubleSubmission:" + temp.Value.ToString(); + + // 再表示(Html.BeginFormでは、全体更新。 + return View("Index", model); + } + + /// 画面遷移する + /// 画面遷移のためのRedirectResult + [HttpPost] + [ValidateAntiForgeryToken] + public IActionResult Transitions() + { + return Redirect(Url.Action("Index", "Crud1")); + } + + /// 分離レベルの設定 + private DbEnum.IsolationLevelEnum SelectIsolationLevel(string iso) + { + if (iso == "NC") + { + return DbEnum.IsolationLevelEnum.NotConnect; + } + else if (iso == "NT") + { + return DbEnum.IsolationLevelEnum.NoTransaction; + } + else if (iso == "RU") + { + return DbEnum.IsolationLevelEnum.ReadUncommitted; + } + else if (iso == "RC") + { + return DbEnum.IsolationLevelEnum.ReadCommitted; + } + else if (iso == "RR") + { + return DbEnum.IsolationLevelEnum.RepeatableRead; + } + else if (iso == "SZ") + { + return DbEnum.IsolationLevelEnum.Serializable; + } + else if (iso == "SS") + { + return DbEnum.IsolationLevelEnum.Snapshot; + } + else if (iso == "DF") + { + return DbEnum.IsolationLevelEnum.DefaultTransaction; + } + else + { + //throw new Exception("分離レベルの設定がおかしい"); + return DbEnum.IsolationLevelEnum.DefaultTransaction; + } + } + } +} \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Views/Crud2/Index.cshtml b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Views/Crud2/Index.cshtml new file mode 100644 index 000000000..6cfae25bc --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Views/Crud2/Index.cshtml @@ -0,0 +1,124 @@ +@* + //********************************************************************************** + //* サンプル アプリ・モデル + //********************************************************************************** + + // テスト用クラスなので、必要に応じて流用 or 削除して下さい。 + + //********************************************************************************** + //* クラス名 :Index + //* クラス日本語名 :CRUDサンプル(Html.BeginForm) + //* + //* 作成日時 :- + //* 作成者 :- + //* 更新履歴 :- + //* + //* 日時 更新者 内容 + //* ---------- ---------------- ------------------------------------------------- + //* 20xx/xx/xx XX XX XXXX + //********************************************************************************** +*@ + +@using MVC_Sample.Models.ViewModels +@model CrudViweModel + +@{ + // ページタイトル + ViewBag.Title = "CRUDサンプル(Html.BeginForm)"; +} + +@* スクリプト・セクション(RenderSection("HeaderScriptsSection", required: true)に出力されます) *@ +@section HeaderScriptsSection{ + +} + +@* 本文レイアウト(RenderBodyに出力されます) *@ +@* Html.BeginFormは従来の全体方式、Ajax.BeginFormは部分更新方式(UpdateTargetIdの範囲を部分更新) *@ +@using (Html.BeginForm(null, null, FormMethod.Post, new { id = "form1", onsubmit = "Fx_OnSubmit();" })) +{ + @Html.AntiForgeryToken() + +
+
+
+ + @Html.DropDownListFor(model => model.DdlDap, Model.DdlDapItems, new { @class = "form-control" }) +
+
+ + @Html.DropDownListFor(model => model.DdlMode1, Model.DdlMode1Items, new { @class = "form-control" }) +
+
+ + @Html.DropDownListFor(model => model.DdlMode2, Model.DdlMode2Items, new { @class = "form-control" }) +
+
+ + @Html.DropDownListFor(model => model.DdlIso, Model.DdlIsoItems, new { @class = "form-control" }) +
+
+ + @Html.DropDownListFor(model => model.DdlExRollback, Model.DdlExRollbackItems, new { @class = "form-control" }) +
+
+
+
+ + @Html.TextBoxFor(model => model.Shipper.ShipperID, new { @class = "form-control" }) +
+
+ + @Html.TextBoxFor(model => model.Shipper.CompanyName, new { @class = "form-control" }) +
+
+ + @Html.TextBoxFor(model => model.Shipper.Phone, new { @class = "form-control" }) +
+
+ + @Html.DropDownListFor(model => model.DdlOrderColumn, Model.DdlOrderColumnItems, new { @class = "form-control" }) +
+
+ + @Html.DropDownListFor(model => model.DdlOrderSequence, Model.DdlOrderSequenceItems, new { @class = "form-control" }) +
+ 処理結果: +
@await Html.PartialAsync("_MessageView")
+
+
+
@await Html.PartialAsync("_ChartView")
+ +
+
+
+ + + + + +
+
+ + + + +
+
+ + + +
+} + +@* スクリプト・セクション(RenderSection("FooterScriptsSection", required: true)に出力されます) *@ +@section FooterScriptsSection{ + +} diff --git a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Views/Crud2/_ChartView.cshtml b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Views/Crud2/_ChartView.cshtml new file mode 100644 index 000000000..a94e07247 --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Views/Crud2/_ChartView.cshtml @@ -0,0 +1,46 @@ +@* + //********************************************************************************** + //* サンプル アプリ・モデル + //********************************************************************************** + + // テスト用クラスなので、必要に応じて流用 or 削除して下さい。 + + //********************************************************************************** + //* クラス名 :_ChartView + //* クラス日本語名 :Chart部分View + //* + //* 作成日時 :- + //* 作成者 :- + //* 更新履歴 :- + //* + //* 日時 更新者 内容 + //* ---------- ---------------- ------------------------------------------------- + //* 20xx/xx/xx XX XX XXXX + //********************************************************************************** +*@ + +@using MVC_Sample.Models.ViewModels +@model CrudViweModel + +@if (Model != null && Model.Shippers != null) +{ + + + + + + + + + + @foreach (ShipperViweModel svm in Model.Shippers) + { + + + + + + } + +
ShipperIdCompanyNamePhone
@svm.ShipperID@svm.CompanyName@svm.Phone
+} diff --git a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Views/Crud2/_MessageView.cshtml b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Views/Crud2/_MessageView.cshtml new file mode 100644 index 000000000..81b2a5671 --- /dev/null +++ b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Views/Crud2/_MessageView.cshtml @@ -0,0 +1,24 @@ +@* + //********************************************************************************** + //* サンプル アプリ・モデル + //********************************************************************************** + + // テスト用クラスなので、必要に応じて流用 or 削除して下さい。 + + //********************************************************************************** + //* クラス名 :_MessageView + //* クラス日本語名 :Message部分View + //* + //* 作成日時 :- + //* 作成者 :- + //* 更新履歴 :- + //* + //* 日時 更新者 内容 + //* ---------- ---------------- ------------------------------------------------- + //* 20xx/xx/xx XX XX XXXX + //********************************************************************************** +*@ + +@using MVC_Sample.Models.ViewModels +@model CrudViweModel + From ec8d36a2b2ff905d05d613d2f91aaca564c1ce71 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Sun, 20 Jun 2021 23:46:15 +0900 Subject: [PATCH 47/59] fixed #412 --- .../Framework/Authentication/JwkSetStore.cs | 42 ++++++++++++------- 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/JwkSetStore.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/JwkSetStore.cs index 03ababfa3..0166bc506 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/JwkSetStore.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/JwkSetStore.cs @@ -30,6 +30,7 @@ //* 2018/08/16 西野 大介 新規作成 //* 2018/11/28 西野 大介 jkuチェック対応の追加 //* 2020/06/20 西野 大介 jku無しでもjwks_uriを使うように変更 +//* 2021/06/20 西野 大介 ConstructorでTypeInitializationExceptionが発生 //********************************************************************************** using System; @@ -67,29 +68,36 @@ public class JwkSetStore /// constructor public JwkSetStore() { - if (string.IsNullOrEmpty(OAuth2AndOIDCParams.JwkSetUri)) - { - this._jwkSet = new JwkSet(); - } - else + try { - // _jwkSet 更新 - this._jwkSet = JsonConvert.DeserializeObject( - OAuth2AndOIDCClient.GetJwkSetAsync( - new Uri(OAuth2AndOIDCParams.JwkSetUri)).Result); - - // _dateTime 更新 - this._dateTime = DateTime.Now; - - if (this._jwkSet.keys.Count == 0) + if (string.IsNullOrEmpty(OAuth2AndOIDCParams.JwkSetUri)) { - Debug.WriteLine("JwkSet was abnormally initarized with an empty state in JwkSetStore constructor."); + this._jwkSet = new JwkSet(); } else { - Debug.WriteLine("JwkSet was initarized normally in JwkSetStore constructor."); + // _jwkSet 更新 + this._jwkSet = JsonConvert.DeserializeObject( + OAuth2AndOIDCClient.GetJwkSetAsync( + new Uri(OAuth2AndOIDCParams.JwkSetUri)).Result); + + // _dateTime 更新 + this._dateTime = DateTime.Now; + + if (this._jwkSet.keys.Count == 0) + { + Debug.WriteLine("JwkSet was abnormally initarized with an empty state in JwkSetStore constructor."); + } + else + { + Debug.WriteLine("JwkSet was initarized normally in JwkSetStore constructor."); + } } } + catch (Exception ex) + { + Debug.WriteLine("JwkSetStore constructor: " + ex.ToString()); + } } #endregion @@ -105,6 +113,7 @@ public static JwkSetStore GetInstance() #endregion + #region Get / Set /// GetJwkObject /// string /// JwkObject @@ -210,5 +219,6 @@ public JObject SetJwkSetObject( // JwkSetからJwkを返す。 return JwkSet.GetJwkObject(this._jwkSet, kid); } + #endregion } } From 904682a01a7af5ad9a732b93946bd78f960c8334 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Wed, 30 Mar 2022 13:42:59 +0900 Subject: [PATCH 48/59] Now, I am fixing #390. --- root/programs/CS/0_ExecAllBat.bat | 3 + root/programs/CS/1_DeleteDir.bat | 3 +- root/programs/CS/2_Build_NuGet_nettcore60.bat | 27 ++ .../3_Build_BusinessRichClient_netcore60.bat | 27 ++ .../CS/3_Build_Business_netcore60.bat | 27 ++ root/programs/CS/4_Build_CopyAssemblies.bat | 2 +- root/programs/CS/6_Build_WSSrvCore_sample.bat | 4 +- .../Business/Business_netcore60.csproj | 96 ++++++ .../Business.RichClient_netcore60.csproj | 62 ++++ .../BusinessRichClient_netcore60.sln | 31 ++ .../Infrastructure/Business_netcore60.sln | 25 ++ .../CustomControl.RichClient_netcore60.csproj | 50 +++ .../Framework.RichClient_netcore60.csproj | 44 +++ .../Nuget_RichClient_netcore60.sln | 37 ++ .../ASPNETWebService/ASPNETWebService.csproj | 6 +- .../ASPNETWebService/Web.config | 128 +++---- .../ASPNETWebServiceCore.sln | 4 +- .../ASPNETWebServiceCore.csproj | 20 +- .../ServiceInterface/WCFService/App.config | 58 ++-- .../WCFService/WCFService.csproj | 2 +- .../Tools/DPQuery_Tool/DPQuery_Tool.csproj | 2 +- .../DPQuery_Tool/DPQuery_ToolCore.csproj | 2 +- .../Tools/DPQuery_Tool/DPQuery_ToolCore.sln | 9 +- .../Properties/Resources.Designer.cs | 4 +- .../Resources/Resource.Designer.cs | 138 ++++---- .../Frameworks/Tools/DPQuery_Tool/app.config | 6 +- .../Tools/DaoGen_Tool/DaoGen_Tool.csproj | 2 +- .../Tools/DaoGen_Tool/DaoGen_Tool.sln | 7 +- .../Tools/DaoGen_Tool/DaoGen_ToolCore.csproj | 2 +- .../Tools/DaoGen_Tool/DaoGen_ToolCore.sln | 9 +- .../Resources/Resource.Designer.cs | 2 +- .../Frameworks/Tools/DaoGen_Tool/app.config | 6 +- .../DeployZipPackWithHTTP.csproj | 2 +- .../DeployZipPackWithHTTP.sln | 7 +- .../DeployZipPackWithHTTPCore.csproj | 12 +- .../DeployZipPackWithHTTPCore.sln | 6 +- .../Resources/Resource.Designer.cs | 122 +++---- .../Tools/DeployZipPackWithHTTP/app.config | 18 +- .../Tools/DistributeFile_Tool/App.config | 10 +- .../DistributeFile_Tool.csproj | 3 +- .../DistributeFile_Tool.sln | 4 +- .../DistributeFile_ToolCore.csproj | 2 +- .../DistributeFile_ToolCore.sln | 6 +- .../2CSClientWPF_sample.csproj | 2 +- .../2CSClientWPF_sample.sln | 7 +- .../2CS_sample/2CSClientWPF_sample/app.config | 6 +- .../2CSClientWin_sample.csproj | 2 +- .../2CSClientWin_sample.sln | 7 +- .../2CS_sample/2CSClientWin_sample/app.config | 6 +- .../AsyncEvent_sample/AsyncEvent_sample.sln | 7 +- .../WindowsFormsApplication.csproj | 2 +- .../WpfApplication/WpfApplication.csproj | 2 +- .../CustCtrl_sample/CustCtrl_sample.csproj | 2 +- .../CustCtrl_sample/CustCtrl_sample.sln | 7 +- .../GenDaoAndBatUpd_sample.csproj | 2 +- .../GenDaoAndBatUpd_sample.sln | 7 +- .../Properties/Resources.Designer.cs | 28 +- .../GenDaoAndBatUpd_sample/app.config | 6 +- .../TimeStamp_sample/TimeStamp_sample.csproj | 2 +- .../TimeStamp_sample/TimeStamp_sample.sln | 7 +- .../2CS_sample/TimeStamp_sample/app.config | 6 +- .../RerunnableBatch_sample.csproj | 2 +- .../RerunnableBatch_sample.sln | 7 +- .../RerunnableBatch_sample/app.config | 6 +- .../RerunnableBatch_sample2.csproj | 2 +- .../RerunnableBatch_sample2.sln | 7 +- .../RerunnableBatch_sample2/app.config | 6 +- .../RerunnableBatch_sample3.csproj | 2 +- .../RerunnableBatch_sample3.sln | 7 +- .../RerunnableBatch_sample3/app.config | 6 +- .../SimpleBatch_sample.csproj | 2 +- .../SimpleBatch_sample/SimpleBatch_sample.sln | 7 +- .../Bat_sample/SimpleBatch_sample/app.config | 6 +- .../CLI_sample/Simple_CLI/Simple_CLI.sln | 4 +- .../WSClientWPF_sample.csproj | 2 +- .../WSClientWPF_sample/WSClientWPF_sample.sln | 7 +- .../WSClientWPF_sample/app.config | 24 +- .../WSClientWin2_sample.csproj | 2 +- .../WSClientWin2_sample.sln | 7 +- .../WSClientWin2_sample/app.config | 10 +- .../WSClientWinCone_sample.csproj | 4 +- .../WSClientWinCone_sample.sln | 7 +- .../WSClientWinCone_sample/app.config | 54 +-- .../WSClientWin_sample.csproj | 2 +- .../WSClientWin_sample/WSClientWin_sample.sln | 7 +- .../WSClientWin_sample/app.config | 82 ++--- .../WSIFType_sample/WSIFType_sample.csproj | 2 +- .../WSServer_sample/WSServer_sample.csproj | 2 +- .../WSServer_sample/WSServer_sample.sln | 7 +- .../WebApp_sample/MVC_Sample/MVC_Sample.sln | 7 +- .../MVC_Sample/MVC_Sample/MVC_Sample.csproj | 8 +- .../MVC_Sample/MVC_Sample/Web.config | 125 ++++--- .../WebForms_Sample/WebForms_Sample.sln | 7 +- .../WebForms_Sample/Web.config | 317 +++++++++--------- .../WebForms_Sample/WebForms_Sample.csproj | 11 +- .../Backend/MVC_Sample/MVC_Sample.sln | 4 +- .../MVC_Sample/MVC_Sample/MVC_Sample.csproj | 14 +- .../2CSClientWPF_sample.csproj | 15 +- .../2CSClientWPF_sample.sln | 10 +- .../2CSClientWin_sample.csproj | 12 +- .../2CSClientWin_sample.sln | 10 +- .../AsyncEvent_sample/AsyncEvent_sample.sln | 11 +- .../WindowsFormsApplication.csproj | 6 +- .../WpfApplication/WpfApplication.csproj | 6 +- .../CustCtrl_sample/CustCtrl_sample.csproj | 4 +- .../CustCtrl_sample/CustCtrl_sample.sln | 9 +- .../GenDaoAndBatUpd_sample.csproj | 15 +- .../GenDaoAndBatUpd_sample.sln | 9 +- .../TimeStamp_sample/TimeStamp_sample.csproj | 11 +- .../TimeStamp_sample/TimeStamp_sample.sln | 9 +- .../RerunnableBatch_sample.csproj | 12 +- .../RerunnableBatch_sample.sln | 4 +- .../RerunnableBatch_sample2.csproj | 12 +- .../RerunnableBatch_sample2.sln | 4 +- .../RerunnableBatch_sample3.csproj | 12 +- .../RerunnableBatch_sample3.sln | 4 +- .../SimpleBatch_sample.csproj | 12 +- .../SimpleBatch_sample/SimpleBatch_sample.sln | 4 +- .../DAG_Login_CLI/DAG_Login_CLI.sln | 6 +- .../DAG_Login_CLI/DAG_Login_CLI.csproj | 8 +- .../LIR_Login_CLI/LIR_Login_CLI.sln | 6 +- .../LIR_Login_CLI/LIR_Login_CLI.csproj | 8 +- .../CLI_sample/Simple_CLI/Simple_CLI.sln | 6 +- .../Simple_CLI/Simple_CLI/Simple_CLI.csproj | 2 +- .../WSClientWPF_sample.csproj | 19 +- .../WSClientWPF_sample/WSClientWPF_sample.sln | 4 +- .../WSClientWin2_sample.csproj | 15 +- .../WSClientWin2_sample.sln | 4 +- .../WSClientWin_sample.csproj | 19 +- .../WSClientWin_sample/WSClientWin_sample.sln | 8 +- .../WSIFType_sample/WSIFType_sample.csproj | 8 +- .../WSServer_sample/WSServer_sample.csproj | 8 +- .../WSServer_sample/WSServer_sample.sln | 4 +- root/programs/CS/z_Common.bat | 20 +- root/programs/CS/z_Common2.bat | 3 +- 135 files changed, 1398 insertions(+), 862 deletions(-) create mode 100644 root/programs/CS/2_Build_NuGet_nettcore60.bat create mode 100644 root/programs/CS/3_Build_BusinessRichClient_netcore60.bat create mode 100644 root/programs/CS/3_Build_Business_netcore60.bat create mode 100644 root/programs/CS/Frameworks/Infrastructure/Business/Business_netcore60.csproj create mode 100644 root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore60.csproj create mode 100644 root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_netcore60.sln create mode 100644 root/programs/CS/Frameworks/Infrastructure/Business_netcore60.sln create mode 100644 root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore60.csproj create mode 100644 root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore60.csproj create mode 100644 root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_netcore60.sln diff --git a/root/programs/CS/0_ExecAllBat.bat b/root/programs/CS/0_ExecAllBat.bat index 88a43df17..58bf207e6 100644 --- a/root/programs/CS/0_ExecAllBat.bat +++ b/root/programs/CS/0_ExecAllBat.bat @@ -12,6 +12,7 @@ echo | call 2_Build_NuGet_netstd20.bat echo | call 2_Build_NuGet_netstd21.bat echo | call 2_Build_NuGet_nettcore30.bat echo | call 2_Build_NuGet_nettcore50.bat +echo | call 2_Build_NuGet_nettcore60.bat @echo on timeout 5 @@ -23,12 +24,14 @@ echo | call 3_Build_Business_net48.bat echo | call 3_Build_Business_netcore20.bat echo | call 3_Build_Business_netcore30.bat echo | call 3_Build_Business_netcore50.bat +echo | call 3_Build_Business_netcore60.bat echo | call 3_Build_BusinessRichClient_net45.bat echo | call 3_Build_BusinessRichClient_net46.bat echo | call 3_Build_BusinessRichClient_net47.bat echo | call 3_Build_BusinessRichClient_net48.bat echo | call 3_Build_BusinessRichClient_netcore30.bat echo | call 3_Build_BusinessRichClient_netcore50.bat +echo | call 3_Build_BusinessRichClient_netcore60.bat echo | call 4_Build_CopyAssemblies.bat diff --git a/root/programs/CS/1_DeleteDir.bat b/root/programs/CS/1_DeleteDir.bat index 30e06eed3..a438a0a26 100644 --- a/root/programs/CS/1_DeleteDir.bat +++ b/root/programs/CS/1_DeleteDir.bat @@ -19,7 +19,8 @@ for %%a in ( %w2% ) do ( pause -set DIRECTORIES=Build, Build_net45, Build_net46, Build_net47, Build_net48, Build_netstd20, Build_netstd21, Build_netcore20, Build_netcore30, Build_netcore50 +set DIRECTORIES=Build, Build_net45, Build_net46, Build_net47, Build_net48, Build_netstd20, Build_netstd21, Build_netcore20, Build_netcore30, Build_netcore50, Build_netcore60 + @echo -------------------------------------------------- @echo Delete the %DIRECTORIES% folders. @echo -------------------------------------------------- diff --git a/root/programs/CS/2_Build_NuGet_nettcore60.bat b/root/programs/CS/2_Build_NuGet_nettcore60.bat new file mode 100644 index 000000000..00389d74c --- /dev/null +++ b/root/programs/CS/2_Build_NuGet_nettcore60.bat @@ -0,0 +1,27 @@ +setlocal + +@rem -------------------------------------------------- +@rem Turn off the echo function. +@rem -------------------------------------------------- +@echo off + +@rem -------------------------------------------------- +@rem Get the path to the executable file. +@rem -------------------------------------------------- +set CURRENT_DIR="%~dp0" + +@rem -------------------------------------------------- +@rem Execution of the common processing. +@rem -------------------------------------------------- +call %CURRENT_DIR%z_Common.bat + +rem -------------------------------------------------- +rem Build the batch Infrastructure +rem -------------------------------------------------- +call dotnet restore "Frameworks\Infrastructure\Nuget_RichClient_netcore60.sln" +call dotnet msbuild %COMMANDLINE% "Frameworks\Infrastructure\Nuget_RichClient_netcore60.sln" + +pause + +rem ------------------------------------------------------- +endlocal \ No newline at end of file diff --git a/root/programs/CS/3_Build_BusinessRichClient_netcore60.bat b/root/programs/CS/3_Build_BusinessRichClient_netcore60.bat new file mode 100644 index 000000000..e78e55430 --- /dev/null +++ b/root/programs/CS/3_Build_BusinessRichClient_netcore60.bat @@ -0,0 +1,27 @@ +setlocal + +@rem -------------------------------------------------- +@rem Turn off the echo function. +@rem -------------------------------------------------- +@echo off + +@rem -------------------------------------------------- +@rem Get the path to the executable file. +@rem -------------------------------------------------- +set CURRENT_DIR="%~dp0" + +@rem -------------------------------------------------- +@rem Execution of the common processing. +@rem -------------------------------------------------- +call %CURRENT_DIR%z_Common.bat + +rem -------------------------------------------------- +rem Build the batch Infrastructure +rem -------------------------------------------------- +call dotnet restore "Frameworks\Infrastructure\BusinessRichClient_netcore60.sln" +call dotnet msbuild %COMMANDLINE% "Frameworks\Infrastructure\BusinessRichClient_netcore60.sln" + +pause + +rem ------------------------------------------------------- +endlocal \ No newline at end of file diff --git a/root/programs/CS/3_Build_Business_netcore60.bat b/root/programs/CS/3_Build_Business_netcore60.bat new file mode 100644 index 000000000..25e09e4fc --- /dev/null +++ b/root/programs/CS/3_Build_Business_netcore60.bat @@ -0,0 +1,27 @@ +setlocal + +@rem -------------------------------------------------- +@rem Turn off the echo function. +@rem -------------------------------------------------- +@echo off + +@rem -------------------------------------------------- +@rem Get the path to the executable file. +@rem -------------------------------------------------- +set CURRENT_DIR="%~dp0" + +@rem -------------------------------------------------- +@rem Execution of the common processing. +@rem -------------------------------------------------- +call %CURRENT_DIR%z_Common.bat + +rem -------------------------------------------------- +rem Build the batch Infrastructure +rem -------------------------------------------------- +call dotnet restore "Frameworks\Infrastructure\Business_netcore60.sln" +call dotnet msbuild %COMMANDLINE% "Frameworks\Infrastructure\Business_netcore60.sln" + +pause + +rem ------------------------------------------------------- +endlocal \ No newline at end of file diff --git a/root/programs/CS/4_Build_CopyAssemblies.bat b/root/programs/CS/4_Build_CopyAssemblies.bat index abe40769b..9f09a5792 100644 --- a/root/programs/CS/4_Build_CopyAssemblies.bat +++ b/root/programs/CS/4_Build_CopyAssemblies.bat @@ -6,5 +6,5 @@ @rem -------------------------------------------------- @rem Copy for build local repository. @rem -------------------------------------------------- -xcopy /E /Y "Frameworks\Infrastructure\Build_net46" "Frameworks\Infrastructure\Build\" +xcopy /E /Y "Frameworks\Infrastructure\Build_net48" "Frameworks\Infrastructure\Build\" diff --git a/root/programs/CS/6_Build_WSSrvCore_sample.bat b/root/programs/CS/6_Build_WSSrvCore_sample.bat index 03c8065ca..7209899e7 100644 --- a/root/programs/CS/6_Build_WSSrvCore_sample.bat +++ b/root/programs/CS/6_Build_WSSrvCore_sample.bat @@ -27,8 +27,8 @@ rem -------------------------------------------------- dotnet restore "Samples4NetCore\Legacy\WS_sample\WSServer_sample\WSServer_sample.sln" dotnet msbuild %COMMANDLINE% "Samples4NetCore\Legacy\WS_sample\WSServer_sample\WSServer_sample.sln" -xcopy /E /Y "Samples4NetCore\Legacy\WS_sample\WSServer_sample\bin\%BUILD_CONFIG%\net5.0" "Samples4NetCore\Legacy\WS_sample\Temp\%BUILD_CONFIG%\net5.0\" -xcopy /E /Y "Samples4NetCore\Legacy\WS_sample\Temp\%BUILD_CONFIG%\net5.0" "Samples4NetCore\Legacy\WS_sample\Build\net5.0\" +xcopy /E /Y "Samples4NetCore\Legacy\WS_sample\WSServer_sample\bin\%BUILD_CONFIG%\net6.0" "Samples4NetCore\Legacy\WS_sample\Temp\%BUILD_CONFIG%\net6.0\" +xcopy /E /Y "Samples4NetCore\Legacy\WS_sample\Temp\%BUILD_CONFIG%\net6.0" "Samples4NetCore\Legacy\WS_sample\Build\net6.0\" pause diff --git a/root/programs/CS/Frameworks/Infrastructure/Business/Business_netcore60.csproj b/root/programs/CS/Frameworks/Infrastructure/Business/Business_netcore60.csproj new file mode 100644 index 000000000..d67e1e103 --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/Business/Business_netcore60.csproj @@ -0,0 +1,96 @@ + + + + net6.0 + Touryo.Infrastructure.Business + OpenTouryo.Business + true + + + + TRACE;DEBUG;NETCOREAPP + ..\Build_netcore60\ + ..\Build_netcore60\net6.0\OpenTouryo.Business.xml + full + true + 1701;1702;NU1701 + + + + TRACE;NETCOREAPP + ..\Build_netcore60\ + ..\Build_netcore60\net6.0\OpenTouryo.Business.xml + portable + true + 1701;1702;NU1701 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ..\Build_netstd21\netstandard2.1\OpenTouryo.DamManagedOdp.dll + + + ..\Build_netstd21\netstandard2.1\OpenTouryo.DamMySQL.dll + + + ..\Build_netstd21\netstandard2.1\OpenTouryo.DamPstGrS.dll + + + ..\Build_netstd21\netstandard2.1\OpenTouryo.Framework.dll + + + ..\Build_netstd21\netstandard2.1\OpenTouryo.Public.dll + + + ..\Build_netstd21\netstandard2.1\OpenTouryo.Public.Security.dll + + + + diff --git a/root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore60.csproj b/root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore60.csproj new file mode 100644 index 000000000..e221d88fc --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore60.csproj @@ -0,0 +1,62 @@ + + + + Library + net6.0-windows + true + true + OpenTouryo.Business.RichClient + Touryo.Infrastructure.Business.RichClient + + + + TRACE;NETCOREAPP + ..\..\Build_netcore60\ + ..\..\Build_netcore60\net6.0-windows\OpenTouryo.Business.RichClient.xml + full + true + 1701;1702;NU1701 + + + + TRACE;NETCOREAPP + ..\..\Build_netcore60\ + ..\..\Build_netcore60\net6.0-windows\OpenTouryo.Business.RichClient.xml + portable + true + 1701;1702;NU1701 + + + + + + + + + ..\..\Build_netcore60\net6.0-windows\OpenTouryo.Framework.RichClient.dll + + + ..\..\Build_netcore60\net6.0\OpenTouryo.Business.dll + + + ..\..\Build_netstd21\netstandard2.1\OpenTouryo.DamManagedOdp.dll + + + ..\..\Build_netstd21\netstandard2.1\OpenTouryo.DamMySQL.dll + + + ..\..\Build_netstd21\netstandard2.1\OpenTouryo.DamPstGrS.dll + + + ..\..\Build_netstd21\netstandard2.1\OpenTouryo.Framework.dll + + + ..\..\Build_netstd21\netstandard2.1\OpenTouryo.Public.dll + + + + + + + + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_netcore60.sln b/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_netcore60.sln new file mode 100644 index 000000000..06ab39dc4 --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_netcore60.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Business.RichClient_netcore60", "Business\RichClient\Business.RichClient_netcore60.csproj", "{7518B624-536C-4F4B-8E73-E5421EDCF1DD}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CustomControl.RichClient_netcore60", "CustomControl\RichClient\CustomControl.RichClient_netcore60.csproj", "{7F43B77D-7B02-4C18-94CC-4B1348CDEB57}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Release|Any CPU.Build.0 = Release|Any CPU + {7F43B77D-7B02-4C18-94CC-4B1348CDEB57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7F43B77D-7B02-4C18-94CC-4B1348CDEB57}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7F43B77D-7B02-4C18-94CC-4B1348CDEB57}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7F43B77D-7B02-4C18-94CC-4B1348CDEB57}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F8E24A69-525F-46B8-B01A-3223411B148E} + EndGlobalSection +EndGlobal diff --git a/root/programs/CS/Frameworks/Infrastructure/Business_netcore60.sln b/root/programs/CS/Frameworks/Infrastructure/Business_netcore60.sln new file mode 100644 index 000000000..361adea6c --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/Business_netcore60.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Business_netcore60", "Business\Business_netcore60.csproj", "{87C03805-26A4-452B-97C7-2C8598722DDE}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {87C03805-26A4-452B-97C7-2C8598722DDE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {87C03805-26A4-452B-97C7-2C8598722DDE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {87C03805-26A4-452B-97C7-2C8598722DDE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {87C03805-26A4-452B-97C7-2C8598722DDE}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {2FF75561-B8E7-4F22-A5F7-E967511FD51B} + EndGlobalSection +EndGlobal diff --git a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore60.csproj b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore60.csproj new file mode 100644 index 000000000..0ad239360 --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore60.csproj @@ -0,0 +1,50 @@ + + + + Library + net6.0-windows + true + true + OpenTouryo.CustomControl.RichClient + Touryo.Infrastructure.CustomControl.RichClient + + + + TRACE;NETCOREAPP + ..\..\Build_netcore60\ + ..\..\Build_netcore60\net6.0-windows\OpenTouryo.CustomControl.RichClient.xml + full + true + 1701;1702;NU1701 + + + + TRACE;NETCOREAPP + ..\..\Build_netcore60\ + ..\..\Build_netcore60\net6.0-windows\OpenTouryo.CustomControl.RichClient.xml + portable + true + 1701;1702;NU1701 + + + + + + + + + ..\..\Build_netcore60\net6.0-windows\OpenTouryo.Framework.RichClient.dll + + + ..\..\Build_netstd21\netstandard2.1\OpenTouryo.Framework.dll + + + ..\..\Build_netstd21\netstandard2.1\OpenTouryo.Public.dll + + + + + + + + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore60.csproj b/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore60.csproj new file mode 100644 index 000000000..18db19572 --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore60.csproj @@ -0,0 +1,44 @@ + + + + Library + net6.0-windows + true + true + + + Touryo.Infrastructure.Framework.RichClient + OpenTouryo.Framework.RichClient + 2.7.0.0 + + + + ..\..\Build_netcore60\ + ..\..\Build_netcore60\net6.0-windows\OpenTouryo.Framework.RichClient.xml + full + true + TRACE;NETCOREAPP + + + + ..\..\Build_netcore60\ + ..\..\Build_netcore60\net6.0-windows\OpenTouryo.Framework.RichClient.xml + portable + true + TRACE;NETCOREAPP + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_netcore60.sln b/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_netcore60.sln new file mode 100644 index 000000000..b71bf7ec2 --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_netcore60.sln @@ -0,0 +1,37 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Framework.RichClient_netcore60", "Framework\RichClient\Framework.RichClient_netcore60.csproj", "{7518B624-536C-4F4B-8E73-E5421EDCF1DD}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Public_netstd21", "Public\Public_netstd21.csproj", "{B7B97B7C-B8A2-44CC-AB00-107D634A45E7}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Framework_netstd21", "Framework\Framework_netstd21.csproj", "{D5A5BE98-2C29-48BE-95B3-0E6A8F500E14}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Release|Any CPU.Build.0 = Release|Any CPU + {B7B97B7C-B8A2-44CC-AB00-107D634A45E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B7B97B7C-B8A2-44CC-AB00-107D634A45E7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B7B97B7C-B8A2-44CC-AB00-107D634A45E7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B7B97B7C-B8A2-44CC-AB00-107D634A45E7}.Release|Any CPU.Build.0 = Release|Any CPU + {D5A5BE98-2C29-48BE-95B3-0E6A8F500E14}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D5A5BE98-2C29-48BE-95B3-0E6A8F500E14}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D5A5BE98-2C29-48BE-95B3-0E6A8F500E14}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D5A5BE98-2C29-48BE-95B3-0E6A8F500E14}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F8E24A69-525F-46B8-B01A-3223411B148E} + EndGlobalSection +EndGlobal diff --git a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/ASPNETWebService.csproj b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/ASPNETWebService.csproj index 92993312f..37f9d7efd 100644 --- a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/ASPNETWebService.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/ASPNETWebService.csproj @@ -14,7 +14,7 @@ Properties ASPNETWebService ASPNETWebService - v4.6 + v4.8 true @@ -26,6 +26,7 @@ true True + true @@ -74,7 +75,6 @@ - @@ -85,7 +85,6 @@ ..\packages\Microsoft.AspNet.Cors.5.2.6\lib\net45\System.Web.Cors.dll - @@ -129,7 +128,6 @@ ..\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\System.Web.Optimization.dll - True ..\packages\Microsoft.AspNet.Web.Optimization.WebForms.1.1.3\lib\net45\Microsoft.AspNet.Web.Optimization.WebForms.dll diff --git a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Web.config b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Web.config index a2bc5a24c..848862967 100644 --- a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Web.config +++ b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Web.config @@ -1,4 +1,4 @@ - + - - - - - + + + + + - + - + - + - + - + - + - + - + + - + - + - + - + - + - + - - - - - - - + + + + + + + - + @@ -215,74 +223,74 @@ - + - - + + - - + + - + - + - - - - + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore.sln b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore.sln index 3075dcd3b..26de6e55b 100644 --- a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore.sln +++ b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29209.62 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ASPNETWebServiceCore", "ASPNETWebServiceCore\ASPNETWebServiceCore.csproj", "{B325E5F0-EEF5-4E52-A55E-2AA5F46A5697}" EndProject diff --git a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore/ASPNETWebServiceCore.csproj b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore/ASPNETWebServiceCore.csproj index f05ed04fe..dd279d138 100644 --- a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore/ASPNETWebServiceCore.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebServiceCore/ASPNETWebServiceCore/ASPNETWebServiceCore.csproj @@ -1,7 +1,7 @@  - net5.0 + net6.0 true @@ -15,31 +15,31 @@ - ..\..\..\Build_netcore50\net5.0\OpenTouryo.Business.dll + ..\..\..\Build_netcore60\net6.0\OpenTouryo.Business.dll - ..\..\..\Build_netcore50\net5.0\OpenTouryo.DamManagedOdp.dll + ..\..\..\Build_netcore60\net6.0\OpenTouryo.DamManagedOdp.dll - ..\..\..\Build_netcore50\net5.0\OpenTouryo.DamMySQL.dll + ..\..\..\Build_netcore60\net6.0\OpenTouryo.DamMySQL.dll - ..\..\..\Build_netcore50\net5.0\OpenTouryo.DamPstGrS.dll + ..\..\..\Build_netcore60\net6.0\OpenTouryo.DamPstGrS.dll - ..\..\..\Build_netcore50\net5.0\OpenTouryo.Framework.dll + ..\..\..\Build_netcore60\net6.0\OpenTouryo.Framework.dll - ..\..\..\Build_netcore50\net5.0\OpenTouryo.Public.dll + ..\..\..\Build_netcore60\net6.0\OpenTouryo.Public.dll - ..\..\..\Build_netcore50\net5.0\OpenTouryo.Public.Security.dll + ..\..\..\Build_netcore60\net6.0\OpenTouryo.Public.Security.dll - ..\..\..\..\..\Samples4NetCore\Legacy\WS_sample\Build\net5.0\WSIFType_sample.dll + ..\..\..\..\..\Samples4NetCore\Legacy\WS_sample\Build\net6.0\WSIFType_sample.dll - ..\..\..\..\..\Samples4NetCore\Legacy\WS_sample\Build\net5.0\WSServer_sample.dll + ..\..\..\..\..\Samples4NetCore\Legacy\WS_sample\Build\net6.0\WSServer_sample.dll diff --git a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/WCFService/App.config b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/WCFService/App.config index 3430a8bc5..ebc35a5a5 100644 --- a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/WCFService/App.config +++ b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/WCFService/App.config @@ -4,67 +4,67 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + @@ -72,11 +72,11 @@ - + - + @@ -84,9 +84,9 @@ - - + + - \ No newline at end of file + diff --git a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/WCFService/WCFService.csproj b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/WCFService/WCFService.csproj index 352fd5ff8..4c2ab97fc 100644 --- a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/WCFService/WCFService.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/WCFService/WCFService.csproj @@ -10,7 +10,7 @@ Properties WCFService WCFService - v4.6 + v4.8 512 diff --git a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_Tool.csproj b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_Tool.csproj index 54083af4b..e9b3fe257 100644 --- a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_Tool.csproj +++ b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_Tool.csproj @@ -10,7 +10,7 @@ Properties DPQuery_Tool OpenTouryo.DPQuery_Tool - v4.6 + v4.8 512 true DPQuery_Tool.Program diff --git a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_ToolCore.csproj b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_ToolCore.csproj index b5ddf9a9f..63aa1dad3 100644 --- a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_ToolCore.csproj +++ b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_ToolCore.csproj @@ -2,7 +2,7 @@ WinExe - net5.0-windows + net6.0-windows true diff --git a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_ToolCore.sln b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_ToolCore.sln index 8190fe20f..cf5496c65 100644 --- a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_ToolCore.sln +++ b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_ToolCore.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29326.143 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DPQuery_Tool", "DPQuery_ToolCore.csproj", "{1A31B69C-1DA9-4F0F-AC19-E52929285EB3}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DPQuery_ToolCore", "DPQuery_ToolCore.csproj", "{1A31B69C-1DA9-4F0F-AC19-E52929285EB3}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A4078C1E-CDE4-4F02-82F0-425C0756B410} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/Properties/Resources.Designer.cs b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/Properties/Resources.Designer.cs index e947cbe64..eda1977a4 100644 --- a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/Properties/Resources.Designer.cs +++ b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/Properties/Resources.Designer.cs @@ -19,7 +19,7 @@ namespace DPQuery_Tool.Properties { // または Visual Studio のようなツールを使用して自動生成されました。 // メンバーを追加または削除するには、.ResX ファイルを編集して、/str オプションと共に // ResGen を実行し直すか、または VS プロジェクトをビルドし直します。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { @@ -47,7 +47,7 @@ internal Resources() { } /// - /// 厳密に型指定されたこのリソース クラスを使用して、すべての検索リソースに対し、 + /// すべてについて、現在のスレッドの CurrentUICulture プロパティをオーバーライドします /// 現在のスレッドの CurrentUICulture プロパティをオーバーライドします。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] diff --git a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/Resources/Resource.Designer.cs b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/Resources/Resource.Designer.cs index 21dd9d8f3..15847f33f 100644 --- a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/Resources/Resource.Designer.cs +++ b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/Resources/Resource.Designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 +// このコードはツールによって生成されました。 +// ランタイム バージョン:4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 +// コードが再生成されるときに損失したりします。 // //------------------------------------------------------------------------------ @@ -13,13 +13,13 @@ namespace DPQuery_Tool.Resources { /// - /// A strongly-typed resource class, for looking up localized strings, etc. + /// ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラスです。 /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + // このクラスは StronglyTypedResourceBuilder クラスが ResGen + // または Visual Studio のようなツールを使用して自動生成されました。 + // メンバーを追加または削除するには、.ResX ファイルを編集して、/str オプションと共に + // ResGen を実行し直すか、または VS プロジェクトをビルドし直します。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resource { @@ -33,7 +33,7 @@ internal Resource() { } /// - /// Returns the cached ResourceManager instance used by this class. + /// このクラスで使用されているキャッシュされた ResourceManager インスタンスを返します。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Resources.ResourceManager ResourceManager { @@ -47,8 +47,8 @@ internal Resource() { } /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. + /// すべてについて、現在のスレッドの CurrentUICulture プロパティをオーバーライドします + /// 現在のスレッドの CurrentUICulture プロパティをオーバーライドします。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Globalization.CultureInfo Culture { @@ -61,7 +61,7 @@ internal Resource() { } /// - /// Looks up a localized string similar to app.Config parameter has not been set. :. + /// app.Config parameter has not been set. : に類似しているローカライズされた文字列を検索します。 /// internal static string AppConfigParameterNotSet { get { @@ -70,7 +70,7 @@ internal static string AppConfigParameterNotSet { } /// - /// Looks up a localized string similar to Check Error is :. + /// Check Error was : {0} に類似しているローカライズされた文字列を検索します。 /// internal static string CheckExceptionError { get { @@ -79,7 +79,7 @@ internal static string CheckExceptionError { } /// - /// Looks up a localized string similar to Closing process. + /// Closing process に類似しているローカライズされた文字列を検索します。 /// internal static string ClosingProcess { get { @@ -88,7 +88,7 @@ internal static string ClosingProcess { } /// - /// Looks up a localized string similar to Entry point : {0}. + /// Entry point : {0} に類似しているローカライズされた文字列を検索します。 /// internal static string EntryPoint { get { @@ -97,7 +97,7 @@ internal static string EntryPoint { } /// - /// Looks up a localized string similar to Escape character was not set.. + /// Escape character was not set. に類似しているローカライズされた文字列を検索します。 /// internal static string EscCharacterNotSet { get { @@ -106,7 +106,7 @@ internal static string EscCharacterNotSet { } /// - /// Looks up a localized string similar to Data tier definition information file format error : There was no table name.. + /// Data tier definition information file format error : There was no table name. に類似しているローカライズされた文字列を検索します。 /// internal static string FileFormatError { get { @@ -115,7 +115,7 @@ internal static string FileFormatError { } /// - /// Looks up a localized string similar to Automatic Generation Completed !. + /// Automatic Generation Completed ! に類似しているローカライズされた文字列を検索します。 /// internal static string FileGenComplete { get { @@ -124,7 +124,7 @@ internal static string FileGenComplete { } /// - /// Looks up a localized string similar to Check error: Database type information file [{0}] does not exist.. + /// Check error: Database type information file [{0}] does not exist. に類似しているローカライズされた文字列を検索します。 /// internal static string FilenotExistDBtypeInfo { get { @@ -133,7 +133,7 @@ internal static string FilenotExistDBtypeInfo { } /// - /// Looks up a localized string similar to Check error: Data tier definition information file [{0}] does not exist.. + /// Check error: Data tier definition information file [{0}] does not exist. に類似しているローカライズされた文字列を検索します。 /// internal static string FilenotExistDlayerInfo { get { @@ -142,7 +142,7 @@ internal static string FilenotExistDlayerInfo { } /// - /// Looks up a localized string similar to Check error:. NET type information file [{0}] does not exist.. + /// Check error: .NET type information file [{0}] does not exist. に類似しているローカライズされた文字列を検索します。 /// internal static string FilenotExistNETtypeInfo { get { @@ -151,7 +151,7 @@ internal static string FilenotExistNETtypeInfo { } /// - /// Looks up a localized string similar to Root folder of the input file (template file) does not exist.. + /// Root folder of the input file (template file) does not exist. に類似しているローカライズされた文字列を検索します。 /// internal static string InputFileRootFolderNotExist { get { @@ -160,7 +160,7 @@ internal static string InputFileRootFolderNotExist { } /// - /// Looks up a localized string similar to Invalid Format. + /// Invalid Format に類似しているローカライズされた文字列を検索します。 /// internal static string InvalidFormat { get { @@ -169,7 +169,7 @@ internal static string InvalidFormat { } /// - /// Looks up a localized string similar to "[Log output text]". + /// "[Log output text]" に類似しているローカライズされた文字列を検索します。 /// internal static string LogOutputText { get { @@ -178,7 +178,7 @@ internal static string LogOutputText { } /// - /// Looks up a localized string similar to There was no saved configuration file.. + /// There was no saved configuration file. に類似しているローカライズされた文字列を検索します。 /// internal static string MSG_CONFIG_FILE_NOT_EXIST { get { @@ -187,7 +187,7 @@ internal static string MSG_CONFIG_FILE_NOT_EXIST { } /// - /// Looks up a localized string similar to Dynamic parameterized query was executed.. + /// Dynamic parameterized query was executed. に類似しているローカライズされた文字列を検索します。 /// internal static string MSG_EXEC_DQP { get { @@ -196,7 +196,7 @@ internal static string MSG_EXEC_DQP { } /// - /// Looks up a localized string similar to Static parameterized query was executed.. + /// Static parameterized query was executed. に類似しているローカライズされた文字列を検索します。 /// internal static string MSG_EXEC_SPQ { get { @@ -205,7 +205,7 @@ internal static string MSG_EXEC_SPQ { } /// - /// Looks up a localized string similar to Enter the IP address of the database server. + /// Enter the IP address of the database server に類似しているローカライズされた文字列を検索します。 /// internal static string MSG_INPUT_IP { get { @@ -214,7 +214,7 @@ internal static string MSG_INPUT_IP { } /// - /// Looks up a localized string similar to Enter the login account to the database: Password. + /// Enter the login account to the database: Password に類似しているローカライズされた文字列を検索します。 /// internal static string MSG_INPUT_PWD { get { @@ -223,7 +223,7 @@ internal static string MSG_INPUT_PWD { } /// - /// Looks up a localized string similar to Enter the login account to the database: User ID. + /// Enter the login account to the database: User ID に類似しているローカライズされた文字列を検索します。 /// internal static string MSG_INPUT_UID { get { @@ -232,7 +232,7 @@ internal static string MSG_INPUT_UID { } /// - /// Looks up a localized string similar to Are you sure you want to save this query file?. + /// Are you sure you want to save this query file? に類似しているローカライズされた文字列を検索します。 /// internal static string MSG_IS_QUERY_FILE_SAVED { get { @@ -241,7 +241,7 @@ internal static string MSG_IS_QUERY_FILE_SAVED { } /// - /// Looks up a localized string similar to There were no columns available to generate screens.. + /// There were no columns available to generate screens. に類似しているローカライズされた文字列を検索します。 /// internal static string Nocolumns { get { @@ -250,7 +250,7 @@ internal static string Nocolumns { } /// - /// Looks up a localized string similar to There was no time stamp column name.. + /// There was no time stamp column name. に類似しているローカライズされた文字列を検索します。 /// internal static string NoTimestampColName { get { @@ -259,7 +259,7 @@ internal static string NoTimestampColName { } /// - /// Looks up a localized string similar to CSV file (*.csv)|*.csv. + /// CSV file (*.csv)|*.csv に類似しているローカライズされた文字列を検索します。 /// internal static string OpenFileDialogFilter { get { @@ -268,7 +268,7 @@ internal static string OpenFileDialogFilter { } /// - /// Looks up a localized string similar to Data tier definition information file.. + /// Data tier definition information file. に類似しているローカライズされた文字列を検索します。 /// internal static string OpenFileDialogTitle { get { @@ -277,7 +277,7 @@ internal static string OpenFileDialogTitle { } /// - /// Looks up a localized string similar to Root folder (Dao class file, SQL file. Etc) of the output file does not exist.. + /// Root folder (Dao class file, SQL file. Etc) of the output file does not exist. に類似しているローカライズされた文字列を検索します。 /// internal static string OutputFileRootFolderNotExist { get { @@ -286,7 +286,7 @@ internal static string OutputFileRootFolderNotExist { } /// - /// Looks up a localized string similar to Specifies the root folder path (Dao file, SQL file) of the output file. + /// Specifies the root folder path (Dao file, SQL file) of the output file に類似しているローカライズされた文字列を検索します。 /// internal static string OutputFolderPath { get { @@ -295,7 +295,7 @@ internal static string OutputFolderPath { } /// - /// Looks up a localized string similar to [Performance information - execution process]. + /// [Performance information - execution process] に類似しているローカライズされた文字列を検索します。 /// internal static string PerformanceExecution { get { @@ -304,7 +304,7 @@ internal static string PerformanceExecution { } /// - /// Looks up a localized string similar to Primary Keys were not set to the table :. + /// Primary Keys were not set to the table : に類似しているローカライズされた文字列を検索します。 /// internal static string PKnotAvailable { get { @@ -313,7 +313,7 @@ internal static string PKnotAvailable { } /// - /// Looks up a localized string similar to Please check Primary Keys were set to the Table or not.. + /// Please check Primary Keys were set to the Table or not. に類似しているローカライズされた文字列を検索します。 /// internal static string PkSetMessgae { get { @@ -322,7 +322,7 @@ internal static string PkSetMessgae { } /// - /// Looks up a localized string similar to Primary key was not defined in the table.. + /// Primary key was not defined in the table. に類似しているローカライズされた文字列を検索します。 /// internal static string PrimaryKeyNotDefined { get { @@ -331,7 +331,7 @@ internal static string PrimaryKeyNotDefined { } /// - /// Looks up a localized string similar to Result. + /// Result に類似しているローカライズされた文字列を検索します。 /// internal static string Result { get { @@ -340,7 +340,7 @@ internal static string Result { } /// - /// Looks up a localized string similar to Run from a file. + /// Run from a file に類似しているローカライズされた文字列を検索します。 /// internal static string RunFile { get { @@ -349,7 +349,7 @@ internal static string RunFile { } /// - /// Looks up a localized string similar to Run from TextBox. + /// Run from TextBox に類似しているローカライズされた文字列を検索します。 /// internal static string RunTextBox { get { @@ -358,7 +358,7 @@ internal static string RunTextBox { } /// - /// Looks up a localized string similar to Is a run-time error : {0}. + /// Is a run-time error : {0} に類似しているローカライズされた文字列を検索します。 /// internal static string RuntimeError { get { @@ -367,7 +367,7 @@ internal static string RuntimeError { } /// - /// Looks up a localized string similar to The screens were generated automatically.. + /// The screens were generated automatically. に類似しているローカライズされた文字列を検索します。 /// internal static string ScreenGenerationSuccess { get { @@ -376,7 +376,7 @@ internal static string ScreenGenerationSuccess { } /// - /// Looks up a localized string similar to Automatic control (Ran with auto-commit transaction mode.). + /// Automatic control (Ran with auto-commit transaction mode.) に類似しているローカライズされた文字列を検索します。 /// internal static string STATUS_AUTO_MODE_WAS_SELECTED { get { @@ -385,7 +385,7 @@ internal static string STATUS_AUTO_MODE_WAS_SELECTED { } /// - /// Looks up a localized string similar to Configured connection setting was loaded.. + /// Configured connection setting was loaded. に類似しているローカライズされた文字列を検索します。 /// internal static string STATUS_CONFIGURATION_LOADED { get { @@ -394,7 +394,7 @@ internal static string STATUS_CONFIGURATION_LOADED { } /// - /// Looks up a localized string similar to Configured connection setting was saved.. + /// Configured connection setting was saved. に類似しているローカライズされた文字列を検索します。 /// internal static string STATUS_CONFIGURATION_SAVED { get { @@ -403,7 +403,7 @@ internal static string STATUS_CONFIGURATION_SAVED { } /// - /// Looks up a localized string similar to Connection was closed.. + /// Connection was closed. に類似しているローカライズされた文字列を検索します。 /// internal static string STATUS_CONNECTION_CLOSED { get { @@ -412,7 +412,7 @@ internal static string STATUS_CONNECTION_CLOSED { } /// - /// Looks up a localized string similar to Connection was opened.. + /// Connection was opened. に類似しているローカライズされた文字列を検索します。 /// internal static string STATUS_CONNECTION_OPENED { get { @@ -421,7 +421,7 @@ internal static string STATUS_CONNECTION_OPENED { } /// - /// Looks up a localized string similar to Configured a new connection string setting.. + /// Configured a new connection string setting. に類似しているローカライズされた文字列を検索します。 /// internal static string STATUS_CREATE_CONFIGURATION { get { @@ -430,7 +430,7 @@ internal static string STATUS_CREATE_CONFIGURATION { } /// - /// Looks up a localized string similar to The {0} data provider was selected.. + /// The {0} data provider was selected. に類似しているローカライズされた文字列を検索します。 /// internal static string STATUS_DATA_PROVIDER_SELECTED { get { @@ -439,7 +439,7 @@ internal static string STATUS_DATA_PROVIDER_SELECTED { } /// - /// Looks up a localized string similar to Initial state. + /// Initial state に類似しているローカライズされた文字列を検索します。 /// internal static string STATUS_INIT { get { @@ -448,7 +448,7 @@ internal static string STATUS_INIT { } /// - /// Looks up a localized string similar to Manual control (Manually control the transaction using this button.). + /// Manual control (Manually control the transaction using this button.) に類似しているローカライズされた文字列を検索します。 /// internal static string STATUS_MANUAL_MODE_WAS_SELECTED { get { @@ -457,7 +457,7 @@ internal static string STATUS_MANUAL_MODE_WAS_SELECTED { } /// - /// Looks up a localized string similar to Operation was canceled.. + /// Operation was canceled. に類似しているローカライズされた文字列を検索します。 /// internal static string STATUS_PROC_CANCELED { get { @@ -466,7 +466,7 @@ internal static string STATUS_PROC_CANCELED { } /// - /// Looks up a localized string similar to Query was executed.. + /// Query was executed. に類似しているローカライズされた文字列を検索します。 /// internal static string STATUS_QUERY_EXECED { get { @@ -475,7 +475,7 @@ internal static string STATUS_QUERY_EXECED { } /// - /// Looks up a localized string similar to Query file was closed.. + /// Query file was closed. に類似しているローカライズされた文字列を検索します。 /// internal static string STATUS_QUERY_FILE_CLOSED { get { @@ -484,7 +484,7 @@ internal static string STATUS_QUERY_FILE_CLOSED { } /// - /// Looks up a localized string similar to Query file was opened.. + /// Query file was opened. に類似しているローカライズされた文字列を検索します。 /// internal static string STATUS_QUERY_FILE_OPENED { get { @@ -493,7 +493,7 @@ internal static string STATUS_QUERY_FILE_OPENED { } /// - /// Looks up a localized string similar to Modified query was saved to the query file.. + /// Modified query was saved to the query file. に類似しているローカライズされた文字列を検索します。 /// internal static string STATUS_QUERY_FILE_OVERWRITED { get { @@ -502,7 +502,7 @@ internal static string STATUS_QUERY_FILE_OVERWRITED { } /// - /// Looks up a localized string similar to Query has been saved to a new query file.. + /// Query has been saved to a new query file. に類似しているローカライズされた文字列を検索します。 /// internal static string STATUS_QUERY_FILE_SAVED { get { @@ -511,7 +511,7 @@ internal static string STATUS_QUERY_FILE_SAVED { } /// - /// Looks up a localized string similar to Transaction was committed.. + /// Transaction was committed. に類似しているローカライズされた文字列を検索します。 /// internal static string STATUS_TRANSACTION_COMMITED { get { @@ -520,7 +520,7 @@ internal static string STATUS_TRANSACTION_COMMITED { } /// - /// Looks up a localized string similar to Transaction was rolled back.. + /// Transaction was rolled back. に類似しているローカライズされた文字列を検索します。 /// internal static string STATUS_TRANSACTION_ROLLBACKED { get { @@ -529,7 +529,7 @@ internal static string STATUS_TRANSACTION_ROLLBACKED { } /// - /// Looks up a localized string similar to Transaction was started.. + /// Transaction was started. に類似しているローカライズされた文字列を検索します。 /// internal static string STATUS_TRANSACTION_STARTED { get { @@ -538,7 +538,7 @@ internal static string STATUS_TRANSACTION_STARTED { } /// - /// Looks up a localized string similar to Before [{0}], only indent can be specified. : {1}. + /// Before [{0}], only indent can be specified. : {1} に類似しているローカライズされた文字列を検索します。 /// internal static string StringIndentation { get { @@ -547,7 +547,7 @@ internal static string StringIndentation { } /// - /// Looks up a localized string similar to Template file does not exist. :. + /// Template file does not exist. : に類似しているローカライズされた文字列を検索します。 /// internal static string TempFilenotExists { get { @@ -556,7 +556,7 @@ internal static string TempFilenotExists { } /// - /// Looks up a localized string similar to Specifies the root folder path of the input file (template file).. + /// Specifies the root folder path of the input file (template file). に類似しているローカライズされた文字列を検索します。 /// internal static string TemplateFolderPath { get { diff --git a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/app.config b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/app.config index 0424b27c2..7159e7929 100644 --- a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/app.config +++ b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/app.config @@ -221,10 +221,10 @@ - - + + - + diff --git a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_Tool.csproj b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_Tool.csproj index d04746c4e..7e6e879e2 100644 --- a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_Tool.csproj +++ b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_Tool.csproj @@ -10,7 +10,7 @@ Properties DaoGen_Tool OpenTouryo.DaoGen_Tool - v4.6 + v4.8 512 diff --git a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_Tool.sln b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_Tool.sln index 18eda9ae9..5bab24b9d 100644 --- a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_Tool.sln +++ b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_Tool.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DaoGen_Tool", "DaoGen_Tool.csproj", "{5CC42F99-B80D-485B-9623-EE2DD59A6EDB}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {90E6394C-0964-46B8-A27D-A1C46B5727F5} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_ToolCore.csproj b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_ToolCore.csproj index 2b7b4cfa2..666065d45 100644 --- a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_ToolCore.csproj +++ b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_ToolCore.csproj @@ -2,7 +2,7 @@ WinExe - net5.0-windows + net6.0-windows true diff --git a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_ToolCore.sln b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_ToolCore.sln index 1e294ac6a..3a0b569d7 100644 --- a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_ToolCore.sln +++ b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_ToolCore.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29326.143 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DaoGen_Tool", "DaoGen_ToolCore.csproj", "{5CC42F99-B80D-485B-9623-EE2DD59A6EDB}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DaoGen_ToolCore", "DaoGen_ToolCore.csproj", "{5CC42F99-B80D-485B-9623-EE2DD59A6EDB}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {2F5049B1-0BF1-49D2-AD23-C94D56A36CDF} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/Resources/Resource.Designer.cs b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/Resources/Resource.Designer.cs index 4798ba942..85c0d790e 100644 --- a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/Resources/Resource.Designer.cs +++ b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/Resources/Resource.Designer.cs @@ -19,7 +19,7 @@ namespace DaoGen_Tool.Resources { // または Visual Studio のようなツールを使用して自動生成されました。 // メンバーを追加または削除するには、.ResX ファイルを編集して、/str オプションと共に // ResGen を実行し直すか、または VS プロジェクトをビルドし直します。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resource { diff --git a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/app.config b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/app.config index 2078ff93b..a05dd7ed0 100644 --- a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/app.config +++ b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/app.config @@ -224,10 +224,10 @@ - - + + - + diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTP.csproj b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTP.csproj index 4192c8725..d8ab70778 100644 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTP.csproj +++ b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTP.csproj @@ -23,7 +23,7 @@ 3.5 - v4.6 + v4.8 true diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTP.sln b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTP.sln index 80bace3af..b1d0d316d 100644 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTP.sln +++ b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTP.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeployZipPackWithHTTP", "DeployZipPackWithHTTP.csproj", "{F0163F46-FA9D-435F-B187-EC3C1E3DF8D7}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {52D312DC-E37A-4F2A-AF7F-AECDC645D53F} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTPCore.csproj b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTPCore.csproj index 2a624db99..0ecd0ef7e 100644 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTPCore.csproj +++ b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTPCore.csproj @@ -2,7 +2,7 @@ WinExe - net5.0-windows + net6.0-windows true @@ -43,19 +43,19 @@ - ..\..\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Business.dll + ..\..\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Business.dll - ..\..\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Business.RichClient.dll + ..\..\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Business.RichClient.dll - ..\..\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Framework.dll + ..\..\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Framework.dll - ..\..\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Framework.RichClient.dll + ..\..\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Framework.RichClient.dll - ..\..\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Public.dll + ..\..\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Public.dll diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTPCore.sln b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTPCore.sln index 929d9752d..459dbdeae 100644 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTPCore.sln +++ b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTPCore.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30320.27 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeployZipPackWithHTTPCore", "DeployZipPackWithHTTPCore.csproj", "{B988A3B4-7296-4491-878B-7C3C2A330A1F}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DeployZipPackWithHTTPCore", "DeployZipPackWithHTTPCore.csproj", "{B988A3B4-7296-4491-878B-7C3C2A330A1F}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Resources/Resource.Designer.cs b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Resources/Resource.Designer.cs index 82c2b5bb8..c95192591 100644 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Resources/Resource.Designer.cs +++ b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Resources/Resource.Designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 +// このコードはツールによって生成されました。 +// ランタイム バージョン:4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 +// コードが再生成されるときに損失したりします。 // //------------------------------------------------------------------------------ @@ -13,13 +13,13 @@ namespace DeployZipPackWithHTTP.Resources { /// - /// A strongly-typed resource class, for looking up localized strings, etc. + /// ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラスです。 /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + // このクラスは StronglyTypedResourceBuilder クラスが ResGen + // または Visual Studio のようなツールを使用して自動生成されました。 + // メンバーを追加または削除するには、.ResX ファイルを編集して、/str オプションと共に + // ResGen を実行し直すか、または VS プロジェクトをビルドし直します。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resource { @@ -33,7 +33,7 @@ internal Resource() { } /// - /// Returns the cached ResourceManager instance used by this class. + /// このクラスで使用されているキャッシュされた ResourceManager インスタンスを返します。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Resources.ResourceManager ResourceManager { @@ -47,8 +47,8 @@ internal Resource() { } /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. + /// すべてについて、現在のスレッドの CurrentUICulture プロパティをオーバーライドします + /// 現在のスレッドの CurrentUICulture プロパティをオーバーライドします。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Globalization.CultureInfo Culture { @@ -61,7 +61,7 @@ internal Resource() { } /// - /// Looks up a localized string similar to /HELP Show me the HELP.. + /// /HELP Show me the HELP. に類似しているローカライズされた文字列を検索します。 /// internal static string A0001 { get { @@ -70,7 +70,7 @@ internal static string A0001 { } /// - /// Looks up a localized string similar to /CUI I will start in CUI CUI.. + /// /CUI I will start in CUI CUI. に類似しているローカライズされた文字列を検索します。 /// internal static string A0002 { get { @@ -79,7 +79,7 @@ internal static string A0002 { } /// - /// Looks up a localized string similar to Below, valid options argument only when CUI. + /// Below, valid options argument only when CUI に類似しているローカライズされた文字列を検索します。 /// internal static string A0003 { get { @@ -88,7 +88,7 @@ internal static string A0003 { } /// - /// Looks up a localized string similar to / Force update to erase the FORCE history file.. + /// / Force update to erase the FORCE history file. に類似しているローカライズされた文字列を検索します。 /// internal static string A0004 { get { @@ -97,7 +97,7 @@ internal static string A0004 { } /// - /// Looks up a localized string similar to /QUIET (Hide the message) that you can run in quiet mode .. + /// /QUIET (Hide the message) that you can run in quiet mode . に類似しているローカライズされた文字列を検索します。 /// internal static string A0005 { get { @@ -106,7 +106,7 @@ internal static string A0005 { } /// - /// Looks up a localized string similar to /SILENT (Hide message, the progress) that will run in silent mode.. + /// /SILENT (Hide message, the progress) that will run in silent mode. に類似しているローカライズされた文字列を検索します。 /// internal static string A0006 { get { @@ -115,7 +115,7 @@ internal static string A0006 { } /// - /// Looks up a localized string similar to /NB Ignore start instruction assembly even if they are specified in the manifest file.. + /// /NB Ignore start instruction assembly even if they are specified in the manifest file. に類似しているローカライズされた文字列を検索します。 /// internal static string A0007 { get { @@ -124,7 +124,7 @@ internal static string A0007 { } /// - /// Looks up a localized string similar to /WWWURL I Specifies the URL to the manifest file of \ "http://xxxx \" WWW server.. + /// /WWWURL I Specifies the URL to the manifest file of \ "http://xxxx \" WWW server. に類似しているローカライズされた文字列を検索します。 /// internal static string A0008 { get { @@ -133,7 +133,7 @@ internal static string A0008 { } /// - /// Looks up a localized string similar to /WWWUID xxxx WWW Specifies the user ID when accessing the server.. + /// /WWWUID xxxx WWW Specifies the user ID when accessing the server. に類似しているローカライズされた文字列を検索します。 /// internal static string A0009 { get { @@ -142,7 +142,7 @@ internal static string A0009 { } /// - /// Looks up a localized string similar to /WWWPWD xxxx WWW Specifies the password used to access the server.. + /// /WWWPWD xxxx WWW Specifies the password used to access the server. に類似しているローカライズされた文字列を検索します。 /// internal static string A0010 { get { @@ -151,7 +151,7 @@ internal static string A0010 { } /// - /// Looks up a localized string similar to /WWWDomain xxxx WWW You specify the domain when accessing to the server.. + /// /WWWDomain xxxx WWW You specify the domain when accessing to the server. に類似しているローカライズされた文字列を検索します。 /// internal static string A0011 { get { @@ -160,7 +160,7 @@ internal static string A0011 { } /// - /// Looks up a localized string similar to /ProxyURL \"http://yyyy\" Proxy I specify the URL to the server.. + /// /ProxyURL \"http://yyyy\" Proxy I specify the URL to the server. に類似しているローカライズされた文字列を検索します。 /// internal static string A0012 { get { @@ -169,7 +169,7 @@ internal static string A0012 { } /// - /// Looks up a localized string similar to If it is not specified, and then apply the IE setting.. + /// If it is not specified, and then apply the IE setting. に類似しているローカライズされた文字列を検索します。 /// internal static string A0013 { get { @@ -178,7 +178,7 @@ internal static string A0013 { } /// - /// Looks up a localized string similar to It does not use a proxy [none] is specified.. + /// It does not use a proxy [none] is specified. に類似しているローカライズされた文字列を検索します。 /// internal static string A0014 { get { @@ -187,7 +187,7 @@ internal static string A0014 { } /// - /// Looks up a localized string similar to /ProxyUID yyyy Proxy Specifies the user ID when accessing the server.. + /// /ProxyUID yyyy Proxy Specifies the user ID when accessing the server. に類似しているローカライズされた文字列を検索します。 /// internal static string A0015 { get { @@ -196,7 +196,7 @@ internal static string A0015 { } /// - /// Looks up a localized string similar to /ProxyPWD yyyy Proxy Specifies the password used to access the server.. + /// /ProxyPWD yyyy Proxy Specifies the password used to access the server. に類似しているローカライズされた文字列を検索します。 /// internal static string A0016 { get { @@ -205,7 +205,7 @@ internal static string A0016 { } /// - /// Looks up a localized string similar to /ProxyDomain yyyy Proxy You specify the domain when accessing to the server.. + /// /ProxyDomain yyyy Proxy You specify the domain when accessing to the server. に類似しているローカライズされた文字列を検索します。 /// internal static string A0017 { get { @@ -214,7 +214,7 @@ internal static string A0017 { } /// - /// Looks up a localized string similar to /UnIns \"http://xxxx\" WWW Specify the URL to the manifest file on the server (uninstall).. + /// /UnIns \"http://xxxx\" WWW Specify the URL to the manifest file on the server (uninstall). に類似しているローカライズされた文字列を検索します。 /// internal static string A0018 { get { @@ -223,7 +223,7 @@ internal static string A0018 { } /// - /// Looks up a localized string similar to An error has occurred.. + /// An error has occurred. に類似しているローカライズされた文字列を検索します。 /// internal static string E0001 { get { @@ -232,7 +232,7 @@ internal static string E0001 { } /// - /// Looks up a localized string similar to Delete Exception:. + /// Delete Exception: に類似しているローカライズされた文字列を検索します。 /// internal static string E0002 { get { @@ -241,7 +241,7 @@ internal static string E0002 { } /// - /// Looks up a localized string similar to Error. + /// Error に類似しているローカライズされた文字列を検索します。 /// internal static string Error0001 { get { @@ -250,7 +250,7 @@ internal static string Error0001 { } /// - /// Looks up a localized string similar to Summary (compression). + /// Summary (compression) に類似しているローカライズされた文字列を検索します。 /// internal static string Error0002 { get { @@ -259,7 +259,7 @@ internal static string Error0002 { } /// - /// Looks up a localized string similar to Summary (De). + /// Summary (De) に類似しているローカライズされた文字列を検索します。 /// internal static string Error0003 { get { @@ -268,7 +268,7 @@ internal static string Error0003 { } /// - /// Looks up a localized string similar to ZIP file |*.Zip. + /// ZIP file |*.Zip に類似しているローカライズされた文字列を検索します。 /// internal static string EXT0001 { get { @@ -277,7 +277,7 @@ internal static string EXT0001 { } /// - /// Looks up a localized string similar to Production start of {0}. + /// Production start of {0} に類似しているローカライズされた文字列を検索します。 /// internal static string I0001 { get { @@ -286,7 +286,7 @@ internal static string I0001 { } /// - /// Looks up a localized string similar to Write start of {0}. + /// Write start of {0} に類似しているローカライズされた文字列を検索します。 /// internal static string I0002 { get { @@ -295,7 +295,7 @@ internal static string I0002 { } /// - /// Looks up a localized string similar to I wrote {0} / {1} bytes. + /// I wrote {0} / {1} bytes に類似しているローカライズされた文字列を検索します。 /// internal static string I0003 { get { @@ -304,7 +304,7 @@ internal static string I0003 { } /// - /// Looks up a localized string similar to Write end of {0}. + /// Write end of {0} に類似しているローカライズされた文字列を検索します。 /// internal static string I0004 { get { @@ -313,7 +313,7 @@ internal static string I0004 { } /// - /// Looks up a localized string similar to Writing of entry for {1} (s) has (have) completed {0} or in. + /// Writing of entry for {1} (s) has (have) completed {0} or in に類似しているローカライズされた文字列を検索します。 /// internal static string I0005 { get { @@ -322,7 +322,7 @@ internal static string I0005 { } /// - /// Looks up a localized string similar to Creation end of {0}. + /// Creation end of {0} に類似しているローカライズされた文字列を検索します。 /// internal static string I0006 { get { @@ -331,7 +331,7 @@ internal static string I0006 { } /// - /// Looks up a localized string similar to Message. + /// Message に類似しているローカライズされた文字列を検索します。 /// internal static string M0001 { get { @@ -340,7 +340,7 @@ internal static string M0001 { } /// - /// Looks up a localized string similar to <Message>. + /// <Message> に類似しているローカライズされた文字列を検索します。 /// internal static string M0002 { get { @@ -349,7 +349,7 @@ internal static string M0002 { } /// - /// Looks up a localized string similar to <Stack trace>. + /// <Stack trace> に類似しているローカライズされた文字列を検索します。 /// internal static string M0003 { get { @@ -358,7 +358,7 @@ internal static string M0003 { } /// - /// Looks up a localized string similar to <Internal exception>. + /// <Internal exception> に類似しているローカライズされた文字列を検索します。 /// internal static string M0004 { get { @@ -367,7 +367,7 @@ internal static string M0004 { } /// - /// Looks up a localized string similar to Message. + /// Message に類似しているローカライズされた文字列を検索します。 /// internal static string M0005 { get { @@ -376,7 +376,7 @@ internal static string M0005 { } /// - /// Looks up a localized string similar to CUI start. + /// CUI start に類似しているローカライズされた文字列を検索します。 /// internal static string M0006 { get { @@ -385,7 +385,7 @@ internal static string M0006 { } /// - /// Looks up a localized string similar to GUI boot. + /// GUI boot に類似しているローカライズされた文字列を検索します。 /// internal static string M0007 { get { @@ -394,7 +394,7 @@ internal static string M0007 { } /// - /// Looks up a localized string similar to Delete Exception:. + /// Delete Exception: に類似しているローカライズされた文字列を検索します。 /// internal static string M0008 { get { @@ -403,7 +403,7 @@ internal static string M0008 { } /// - /// Looks up a localized string similar to 'Already exists.. + /// 'Already exists. に類似しているローカライズされた文字列を検索します。 /// internal static string M0009 { get { @@ -412,7 +412,7 @@ internal static string M0009 { } /// - /// Looks up a localized string similar to You do not do anything with 'no' overwrite with 'yes' stop 'Cancel'. + /// You do not do anything with 'no' overwrite with 'yes' stop 'Cancel' に類似しているローカライズされた文字列を検索します。 /// internal static string M0010 { get { @@ -421,7 +421,7 @@ internal static string M0010 { } /// - /// Looks up a localized string similar to Overwrite Confirmation. + /// Overwrite Confirmation に類似しているローカライズされた文字列を検索します。 /// internal static string M0011 { get { @@ -430,7 +430,7 @@ internal static string M0011 { } /// - /// Looks up a localized string similar to Current directory. + /// Current directory に類似しているローカライズされた文字列を検索します。 /// internal static string M0012 { get { @@ -439,7 +439,7 @@ internal static string M0012 { } /// - /// Looks up a localized string similar to Start-up conditions. + /// Start-up conditions に類似しているローカライズされた文字列を検索します。 /// internal static string M0013 { get { @@ -448,7 +448,7 @@ internal static string M0013 { } /// - /// Looks up a localized string similar to Value. + /// Value に類似しているローカライズされた文字列を検索します。 /// internal static string M0014 { get { @@ -457,7 +457,7 @@ internal static string M0014 { } /// - /// Looks up a localized string similar to Command value. + /// Command value に類似しているローカライズされた文字列を検索します。 /// internal static string M0015 { get { @@ -466,7 +466,7 @@ internal static string M0015 { } /// - /// Looks up a localized string similar to Successful completion. + /// Successful completion に類似しているローカライズされた文字列を検索します。 /// internal static string S0001 { get { @@ -475,7 +475,7 @@ internal static string S0001 { } /// - /// Looks up a localized string similar to Abnormal termination. + /// Abnormal termination に類似しているローカライズされた文字列を検索します。 /// internal static string S0002 { get { @@ -484,7 +484,7 @@ internal static string S0002 { } /// - /// Looks up a localized string similar to Compression. + /// Compression に類似しているローカライズされた文字列を検索します。 /// internal static string T0001 { get { diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/app.config b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/app.config index 8861ae81c..64b989c0c 100644 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/app.config +++ b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/app.config @@ -3,24 +3,24 @@ - + - + - + - - + + - + - - + + - \ No newline at end of file + diff --git a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/App.config b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/App.config index 9a6820f73..4dc78b535 100644 --- a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/App.config +++ b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/App.config @@ -1,14 +1,14 @@ - + - + - - + + - \ No newline at end of file + diff --git a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.csproj b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.csproj index 883aef7e1..ebdb27bd2 100644 --- a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.csproj +++ b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.csproj @@ -8,10 +8,11 @@ Exe DistributeFile_Tool OpenTouryo.DistributeFile_Tool - v4.6.1 + v4.8 512 true true + AnyCPU diff --git a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.sln b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.sln index 0df4e0e87..44402eb1d 100644 --- a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.sln +++ b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_Tool.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30717.126 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DistributeFile_Tool", "DistributeFile_Tool.csproj", "{2F7D1A24-3882-4425-AC49-1E623D19C549}" EndProject diff --git a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_ToolCore.csproj b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_ToolCore.csproj index 87789b9a2..d9751d986 100644 --- a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_ToolCore.csproj +++ b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_ToolCore.csproj @@ -2,7 +2,7 @@ Exe - net5.0 + net6.0 DistributeFile_Tool OpenTouryo.DistributeFile_Tool diff --git a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_ToolCore.sln b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_ToolCore.sln index cbab4b608..58290f377 100644 --- a/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_ToolCore.sln +++ b/root/programs/CS/Frameworks/Tools/DistributeFile_Tool/DistributeFile_ToolCore.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30320.27 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DistributeFile_ToolCore", "DistributeFile_ToolCore.csproj", "{B988A3B4-7296-4491-878B-7C3C2A330A1F}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DistributeFile_ToolCore", "DistributeFile_ToolCore.csproj", "{B988A3B4-7296-4491-878B-7C3C2A330A1F}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.csproj b/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.csproj index 453f1fafa..b71d5bc74 100644 --- a/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.csproj +++ b/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.csproj @@ -10,7 +10,7 @@ Properties _2CSClientWPF_sample 2CSClientWPF_sample - v4.6 + v4.8 512 {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 4 diff --git a/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln b/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln index 87b8b2c9b..ce5af50d8 100644 --- a/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln +++ b/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2CSClientWPF_sample", "2CSClientWPF_sample.csproj", "{F9737483-DC6C-45D1-8CB7-27138FD76D36}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {3B51B5D1-10B7-4FE9-8D6A-6F227513DBCB} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/app.config b/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/app.config index 4f3aa738d..d06f7b114 100644 --- a/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/app.config +++ b/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/app.config @@ -64,10 +64,10 @@ - - + + - + diff --git a/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.csproj b/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.csproj index 7c24c90fe..e111047ee 100644 --- a/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.csproj +++ b/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.csproj @@ -10,7 +10,7 @@ Properties _2CSClientWin_sample 2CSClientWin_sample - v4.6 + v4.8 2.0 diff --git a/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln b/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln index d1b5dca28..3d0d196d7 100644 --- a/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln +++ b/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2CSClientWin_sample", "2CSClientWin_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject @@ -29,6 +29,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {21578BB7-F7BC-4381-A942-9F751F69FAD6} + EndGlobalSection GlobalSection(DPCodeReviewSolutionGUID) = preSolution DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} EndGlobalSection diff --git a/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/app.config b/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/app.config index d77f8b414..b47ddd346 100644 --- a/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/app.config +++ b/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/app.config @@ -74,10 +74,10 @@ - - + + - + diff --git a/root/programs/CS/Samples/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln b/root/programs/CS/Samples/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln index d7d27694f..d3712f43a 100644 --- a/root/programs/CS/Samples/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln +++ b/root/programs/CS/Samples/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsApplication", "WindowsFormsApplication\WindowsFormsApplication.csproj", "{17284ADF-2F82-412E-8D83-02E5C1606F53}" EndProject @@ -25,4 +25,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {5F31C63F-D1AB-4F5C-BE3B-CEE6460E5177} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Samples/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/WindowsFormsApplication.csproj b/root/programs/CS/Samples/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/WindowsFormsApplication.csproj index 8acfb0fc2..9373d4e88 100644 --- a/root/programs/CS/Samples/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/WindowsFormsApplication.csproj +++ b/root/programs/CS/Samples/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/WindowsFormsApplication.csproj @@ -10,7 +10,7 @@ Properties WindowsFormsApplication WindowsFormsApplication - v4.6 + v4.8 512 diff --git a/root/programs/CS/Samples/2CS_sample/AsyncEvent_sample/WpfApplication/WpfApplication.csproj b/root/programs/CS/Samples/2CS_sample/AsyncEvent_sample/WpfApplication/WpfApplication.csproj index accb99fc2..5181ecb37 100644 --- a/root/programs/CS/Samples/2CS_sample/AsyncEvent_sample/WpfApplication/WpfApplication.csproj +++ b/root/programs/CS/Samples/2CS_sample/AsyncEvent_sample/WpfApplication/WpfApplication.csproj @@ -10,7 +10,7 @@ Properties WpfApplication WpfApplication - v4.6 + v4.8 512 {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 4 diff --git a/root/programs/CS/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.csproj b/root/programs/CS/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.csproj index 5ecbb823e..98d29fc1e 100644 --- a/root/programs/CS/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.csproj +++ b/root/programs/CS/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.csproj @@ -10,7 +10,7 @@ Properties CustCtrl_sample CustCtrl_sample - v4.6 + v4.8 512 diff --git a/root/programs/CS/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln b/root/programs/CS/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln index 5f1c05a97..3b6daeb12 100644 --- a/root/programs/CS/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln +++ b/root/programs/CS/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustCtrl_sample", "CustCtrl_sample.csproj", "{BA15CF85-A95B-4EA9-977B-0BE5EB739E72}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {E8A20C02-1EC7-4EC1-8EB5-A1905B23AF46} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.csproj b/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.csproj index e3f456541..99d33c088 100644 --- a/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.csproj +++ b/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.csproj @@ -10,7 +10,7 @@ Properties GenDaoAndBatUpd_sample GenDaoAndBatUpd_sample - v4.6 + v4.8 2.0 diff --git a/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln b/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln index 161cf10e5..877bdc218 100644 --- a/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln +++ b/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GenDaoAndBatUpd_sample", "GenDaoAndBatUpd_sample.csproj", "{D40BC756-8E12-4020-8486-99F482E35DCD}" EndProject @@ -19,6 +19,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {9D8314EF-566B-4DCF-94B3-17E42F0627FE} + EndGlobalSection GlobalSection(DPCodeReviewSolutionGUID) = preSolution DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} EndGlobalSection diff --git a/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/Properties/Resources.Designer.cs b/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/Properties/Resources.Designer.cs index c63bb41ed..31c5fce98 100644 --- a/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/Properties/Resources.Designer.cs +++ b/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/Properties/Resources.Designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 +// このコードはツールによって生成されました。 +// ランタイム バージョン:4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 +// コードが再生成されるときに損失したりします。 // //------------------------------------------------------------------------------ @@ -13,13 +13,13 @@ namespace GenDaoAndBatUpd_sample.Properties { /// - /// A strongly-typed resource class, for looking up localized strings, etc. + /// ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラスです。 /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + // このクラスは StronglyTypedResourceBuilder クラスが ResGen + // または Visual Studio のようなツールを使用して自動生成されました。 + // メンバーを追加または削除するには、.ResX ファイルを編集して、/str オプションと共に + // ResGen を実行し直すか、または VS プロジェクトをビルドし直します。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { @@ -33,7 +33,7 @@ internal Resources() { } /// - /// Returns the cached ResourceManager instance used by this class. + /// このクラスで使用されているキャッシュされた ResourceManager インスタンスを返します。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Resources.ResourceManager ResourceManager { @@ -47,8 +47,8 @@ internal Resources() { } /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. + /// すべてについて、現在のスレッドの CurrentUICulture プロパティをオーバーライドします + /// 現在のスレッドの CurrentUICulture プロパティをオーバーライドします。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Globalization.CultureInfo Culture { @@ -61,7 +61,7 @@ internal Resources() { } /// - /// Looks up a localized resource of type System.Drawing.Bitmap. + /// 型 System.Drawing.Bitmap のローカライズされたリソースを検索します。 /// internal static System.Drawing.Bitmap Diagram { get { diff --git a/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/app.config b/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/app.config index a8622b97c..9a3a8a15e 100644 --- a/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/app.config +++ b/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/app.config @@ -46,10 +46,10 @@ - - + + - + diff --git a/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.csproj b/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.csproj index db18a5aea..003283728 100644 --- a/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.csproj +++ b/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.csproj @@ -10,7 +10,7 @@ Properties TimeStamp_sample TimeStamp_sample - v4.6 + v4.8 2.0 diff --git a/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln b/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln index 463f94c69..eb5761e1f 100644 --- a/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln +++ b/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TimeStamp_sample", "TimeStamp_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject @@ -29,6 +29,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {036AFF1D-0527-4DEA-8622-5CA6F27D0EE1} + EndGlobalSection GlobalSection(DPCodeReviewSolutionGUID) = preSolution DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} EndGlobalSection diff --git a/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/app.config b/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/app.config index a46cd99ee..1c1ff96e5 100644 --- a/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/app.config +++ b/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/app.config @@ -39,10 +39,10 @@ - - + + - + diff --git a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.csproj b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.csproj index e88ba291c..7c074ec2c 100644 --- a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.csproj +++ b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.csproj @@ -10,7 +10,7 @@ Properties RerunnableBatch_sample RerunnableBatch_sample - v4.6 + v4.8 2.0 diff --git a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln index 674484c03..a2ccd78f2 100644 --- a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln +++ b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RerunnableBatch_sample", "RerunnableBatch_sample.csproj", "{D4941E87-FCE4-4102-B569-C17208AE13CF}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C9218F2C-6838-4732-8781-368C4D6571AE} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/app.config b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/app.config index 6306e27b8..3775ebc70 100644 --- a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/app.config +++ b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/app.config @@ -65,10 +65,10 @@ - - + + - + diff --git a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.csproj b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.csproj index b6b73ce6c..fad23d929 100644 --- a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.csproj +++ b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.csproj @@ -10,7 +10,7 @@ Properties RerunnableBatch_sample2 RerunnableBatch_sample2 - v4.6 + v4.8 2.0 diff --git a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln index fcfa7adec..2b6012eb1 100644 --- a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln +++ b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RerunnableBatch_sample2", "RerunnableBatch_sample2.csproj", "{D4941E87-FCE4-4102-B569-C17208AE13CF}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {79854448-2086-4E05-86A7-88B58D686DE6} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/app.config b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/app.config index 7ce5ee118..46d7b9807 100644 --- a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/app.config +++ b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/app.config @@ -65,10 +65,10 @@ - - + + - + diff --git a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.csproj b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.csproj index 699cb5f82..47ae48a99 100644 --- a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.csproj +++ b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.csproj @@ -10,7 +10,7 @@ Properties RerunnableBatch_sample3 RerunnableBatch_sample3 - v4.6 + v4.8 2.0 diff --git a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln index 389db2e21..5a997d542 100644 --- a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln +++ b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RerunnableBatch_sample3", "RerunnableBatch_sample3.csproj", "{D4941E87-FCE4-4102-B569-C17208AE13CF}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {810214F8-57F4-4A80-B13B-AAC547CA89EA} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/app.config b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/app.config index 85757be57..7349048f8 100644 --- a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/app.config +++ b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/app.config @@ -65,10 +65,10 @@ - - + + - + diff --git a/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.csproj b/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.csproj index 3c3fa0ab3..59e0be3c1 100644 --- a/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.csproj +++ b/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.csproj @@ -10,7 +10,7 @@ Properties SimpleBatch_sample SimpleBatch_sample - v4.6 + v4.8 2.0 diff --git a/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln b/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln index effa44db0..00a9e2658 100644 --- a/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln +++ b/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleBatch_sample", "SimpleBatch_sample.csproj", "{D4941E87-FCE4-4102-B569-C17208AE13CF}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {6CAF0726-7971-4F3E-8DE8-DD42AF2BD736} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/app.config b/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/app.config index 68ae34b1f..61768546e 100644 --- a/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/app.config +++ b/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/app.config @@ -65,10 +65,10 @@ - - + + - + diff --git a/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln index d4215eef3..f247c2e4a 100644 --- a/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln +++ b/root/programs/CS/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30717.126 +# Visual Studio 15 +VisualStudioVersion = 15.0.28307.1209 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Simple_CLI", "Simple_CLI\Simple_CLI.csproj", "{2F7D1A24-3882-4425-AC49-1E623D19C549}" EndProject diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.csproj b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.csproj index 22371632c..d9aafd9b0 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.csproj +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.csproj @@ -10,7 +10,7 @@ Properties WSClientWPF_sample WSClientWPF_sample - v4.6 + v4.8 512 {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 4 diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln index 18d0e984f..a19dfd063 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WSClientWPF_sample", "WSClientWPF_sample.csproj", "{F9737483-DC6C-45D1-8CB7-27138FD76D36}" EndProject @@ -45,4 +45,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {8C83C969-EEA4-42A9-984F-07D87415F94F} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/app.config b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/app.config index b0b57716f..09f470d15 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/app.config +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/app.config @@ -86,20 +86,20 @@ - + - - + + - - + + - - + + @@ -107,19 +107,19 @@ - + - + - - + + - + diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.csproj b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.csproj index 33dcd210c..62eb6f72c 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.csproj +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.csproj @@ -10,7 +10,7 @@ Properties WSClientWin2_sample WSClientWin2_sample - v4.6 + v4.8 2.0 diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln index 01c2ce261..6329ecb55 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WSClientWin2_sample", "WSClientWin2_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject @@ -29,6 +29,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {2B346B3C-93CF-481D-B732-421247A47125} + EndGlobalSection GlobalSection(DPCodeReviewSolutionGUID) = preSolution DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} EndGlobalSection diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/app.config b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/app.config index 6734fd9de..7f9024809 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/app.config +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/app.config @@ -1,4 +1,4 @@ - + @@ -25,7 +25,7 @@ - + @@ -42,9 +42,9 @@ - - + + - + diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/WSClientWinCone_sample.csproj b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/WSClientWinCone_sample.csproj index c4798e14e..b553a8f3d 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/WSClientWinCone_sample.csproj +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/WSClientWinCone_sample.csproj @@ -11,13 +11,13 @@ WSClientWinCone_sample WSClientWinCone_sample true - 7A5F68587972EC9A9F4493D3C883F9A865E8C3E1 + 3EF7975C53AD5C0AE4FF5B806D20C1C7A1A0372F Internet true true false WSClientWinCone_sample_TemporaryKey.pfx - v4.6 + v4.8 2.0 diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/WSClientWinCone_sample.sln b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/WSClientWinCone_sample.sln index 6d1640ae4..d44dc78cc 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/WSClientWinCone_sample.sln +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/WSClientWinCone_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WSClientWinCone_sample", "WSClientWinCone_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject @@ -71,6 +71,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {1D44D01A-16BA-43A2-8C23-4650034C88D0} + EndGlobalSection GlobalSection(DPCodeReviewSolutionGUID) = preSolution DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} EndGlobalSection diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/app.config b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/app.config index 826dc22ff..59193266a 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/app.config +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/app.config @@ -1,4 +1,4 @@ - + @@ -6,13 +6,13 @@ - - - - - + + + + + - + @@ -24,15 +24,15 @@ - + - - + + @@ -42,40 +42,40 @@ - + - - - + + + - + - + - - + + - - + + - - + + @@ -83,19 +83,19 @@ - + - + - - + + - + diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.csproj b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.csproj index c90e195aa..907e9f0ef 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.csproj +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.csproj @@ -10,7 +10,7 @@ Properties WSClientWin_sample WSClientWin_sample - v4.6 + v4.8 2.0 diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln index 61c361e35..255f507fa 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WSClientWin_sample", "WSClientWin_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject @@ -71,6 +71,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {5A32BF48-E092-44E5-AC5E-37695C033134} + EndGlobalSection GlobalSection(DPCodeReviewSolutionGUID) = preSolution DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} EndGlobalSection diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/app.config b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/app.config index 6891eff5e..703450edc 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/app.config +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/app.config @@ -1,4 +1,4 @@ - + @@ -11,13 +11,13 @@ - - - - - + + + + + - + @@ -25,10 +25,10 @@ - - - - + + + + @@ -47,71 +47,71 @@ - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - - + + - - + + - - + + @@ -119,19 +119,19 @@ - + - + - - + + - \ No newline at end of file + diff --git a/root/programs/CS/Samples/WS_sample/WSIFType_sample/WSIFType_sample.csproj b/root/programs/CS/Samples/WS_sample/WSIFType_sample/WSIFType_sample.csproj index 711f76a1a..292014c47 100644 --- a/root/programs/CS/Samples/WS_sample/WSIFType_sample/WSIFType_sample.csproj +++ b/root/programs/CS/Samples/WS_sample/WSIFType_sample/WSIFType_sample.csproj @@ -10,7 +10,7 @@ Properties WSIFType_sample WSIFType_sample - v4.6 + v4.8 2.0 diff --git a/root/programs/CS/Samples/WS_sample/WSServer_sample/WSServer_sample.csproj b/root/programs/CS/Samples/WS_sample/WSServer_sample/WSServer_sample.csproj index bfe14b822..1a5330ea5 100644 --- a/root/programs/CS/Samples/WS_sample/WSServer_sample/WSServer_sample.csproj +++ b/root/programs/CS/Samples/WS_sample/WSServer_sample/WSServer_sample.csproj @@ -10,7 +10,7 @@ Properties WSServer_sample WSServer_sample - v4.6 + v4.8 2.0 diff --git a/root/programs/CS/Samples/WS_sample/WSServer_sample/WSServer_sample.sln b/root/programs/CS/Samples/WS_sample/WSServer_sample/WSServer_sample.sln index f4715985f..542e4066e 100644 --- a/root/programs/CS/Samples/WS_sample/WSServer_sample/WSServer_sample.sln +++ b/root/programs/CS/Samples/WS_sample/WSServer_sample/WSServer_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WSServer_sample", "WSServer_sample.csproj", "{720D48EF-B277-4C46-90B4-FBD8DA81D5CA}" EndProject @@ -41,6 +41,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {E6F8023B-95B5-4E50-BDD1-19D492211B47} + EndGlobalSection GlobalSection(DPCodeReviewSolutionGUID) = preSolution DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} EndGlobalSection diff --git a/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample.sln b/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample.sln index 31fc8f071..2e8524904 100644 --- a/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample.sln +++ b/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MVC_Sample", "MVC_Sample\MVC_Sample.csproj", "{4BA4D9DE-2656-4FBD-8F1F-31FC9583B5F5}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {88F3382F-FB44-41C0-94D6-210E7FA94790} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample/MVC_Sample.csproj b/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample/MVC_Sample.csproj index a410adb9c..243e2e7fb 100644 --- a/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample/MVC_Sample.csproj +++ b/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample/MVC_Sample.csproj @@ -14,7 +14,7 @@ Properties MVC_Sample MVC_Sample - v4.6 + v4.8 false true @@ -27,6 +27,7 @@ true 3.0 + true @@ -105,6 +106,8 @@ ..\packages\System.Security.Cryptography.X509Certificates.4.3.2\lib\net46\System.Security.Cryptography.X509Certificates.dll
+ + ..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.Helpers.dll @@ -134,19 +137,18 @@ ..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Razor.dll + ..\packages\WebGrease.1.6.0\lib\WebGrease.dll - - diff --git a/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Web.config b/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Web.config index 065d0cf87..a2bec2c0d 100644 --- a/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Web.config +++ b/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Web.config @@ -1,4 +1,4 @@ - + - + - + - + - + - + - + - + - + - + + - + - + - - - - - - - + + + + + + + - + - + - + - + - + - - + + + + + + + - + + + + + + + - + + + + + + + - + - - - - + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + \ No newline at end of file diff --git a/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample.sln b/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample.sln index 9d1d86749..87c64d82a 100644 --- a/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample.sln +++ b/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebForms_Sample", "WebForms_Sample\WebForms_Sample.csproj", "{74CCC7E1-12DB-4BEB-8003-6261A6C2C7FA}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {84A77EC5-32F6-416B-9E7B-753F846494E8} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/Web.config b/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/Web.config index ea44717c3..422c81417 100644 --- a/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/Web.config +++ b/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/Web.config @@ -1,4 +1,4 @@ - + - - - - - + + + + + - + - + - + - + - + - + - + - - - - - - - + + + + + - - - - - + + - - - - - - - - - - - - + + + + - - - - - - - - - + + + + - - - - + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/WebForms_Sample.csproj b/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/WebForms_Sample.csproj index d24d58efc..030d0b22f 100644 --- a/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/WebForms_Sample.csproj +++ b/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/WebForms_Sample.csproj @@ -14,7 +14,7 @@ Properties WebForms_Sample WebForms_Sample - v4.6 + v4.8 true 44333 @@ -26,6 +26,7 @@ true 3.0 + true @@ -121,25 +122,25 @@ ..\packages\Microsoft.AspNet.ScriptManager.WebForms.5.0.0\lib\net45\Microsoft.ScriptManager.WebForms.dll True + + + + ..\packages\WebGrease.1.6.0\lib\WebGrease.dll - - - - ..\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\System.Web.Optimization.dll True diff --git a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample.sln b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample.sln index cb9e701a4..bf85358c0 100644 --- a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample.sln +++ b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30717.126 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MVC_Sample", "MVC_Sample\MVC_Sample.csproj", "{A50D383C-5135-445D-924C-E3B851F13CBE}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/MVC_Sample.csproj b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/MVC_Sample.csproj index 767c8b4d1..adbceb116 100644 --- a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/MVC_Sample.csproj +++ b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/MVC_Sample.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 true @@ -18,22 +18,22 @@ - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.DamMySQL.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.DamMySQL.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.DamPstGrS.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.DamPstGrS.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Public.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Public.Security.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Public.Security.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.csproj index 1f1813a94..9c86568a0 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.csproj @@ -2,7 +2,7 @@ WinExe - net5.0-windows + net6.0-windows true _2CSClientWPF_sample 2CSClientWPF_sample @@ -31,19 +31,19 @@ - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Business.RichClient.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Business.RichClient.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Framework.RichClient.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Framework.RichClient.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Public.dll @@ -52,7 +52,4 @@ Always - - - \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln index a6aff4d53..4b38596b5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln @@ -1,12 +1,10 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29326.143 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "2CSClientWPF_sample", "2CSClientWPF_sample.csproj", "{F9737483-DC6C-45D1-8CB7-27138FD76D36}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ASPNETWebServiceCore", "..\..\..\..\Frameworks\Infrastructure\ServiceInterface\ASPNETWebServiceCore\ASPNETWebServiceCore\ASPNETWebServiceCore.csproj", "{3BD336D7-8E84-4856-9EB7-81F4F5A50F41}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -17,10 +15,6 @@ Global {F9737483-DC6C-45D1-8CB7-27138FD76D36}.Debug|Any CPU.Build.0 = Debug|Any CPU {F9737483-DC6C-45D1-8CB7-27138FD76D36}.Release|Any CPU.ActiveCfg = Release|Any CPU {F9737483-DC6C-45D1-8CB7-27138FD76D36}.Release|Any CPU.Build.0 = Release|Any CPU - {3BD336D7-8E84-4856-9EB7-81F4F5A50F41}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3BD336D7-8E84-4856-9EB7-81F4F5A50F41}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3BD336D7-8E84-4856-9EB7-81F4F5A50F41}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3BD336D7-8E84-4856-9EB7-81F4F5A50F41}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.csproj index 1e42c74f5..bf30e91f5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.csproj @@ -2,7 +2,7 @@ WinExe - net5.0-windows + net6.0-windows true @@ -33,19 +33,19 @@ - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Business.RichClient.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Business.RichClient.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Framework.RichClient.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Framework.RichClient.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Public.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln index 2b19a2051..8f757b3d8 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln @@ -1,12 +1,10 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29326.143 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "2CSClientWin_sample", "2CSClientWin_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ASPNETWebServiceCore", "..\..\..\..\Frameworks\Infrastructure\ServiceInterface\ASPNETWebServiceCore\ASPNETWebServiceCore\ASPNETWebServiceCore.csproj", "{37C55C28-A72B-4A15-9A2B-832082D51A5C}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -17,10 +15,6 @@ Global {386EA604-40DB-44A8-87AE-F29B209BA9CF}.Debug|Any CPU.Build.0 = Debug|Any CPU {386EA604-40DB-44A8-87AE-F29B209BA9CF}.Release|Any CPU.ActiveCfg = Release|Any CPU {386EA604-40DB-44A8-87AE-F29B209BA9CF}.Release|Any CPU.Build.0 = Release|Any CPU - {37C55C28-A72B-4A15-9A2B-832082D51A5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {37C55C28-A72B-4A15-9A2B-832082D51A5C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {37C55C28-A72B-4A15-9A2B-832082D51A5C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {37C55C28-A72B-4A15-9A2B-832082D51A5C}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln index ada5d61b8..fb8a485ed 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln @@ -1,11 +1,11 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29326.143 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsApplication", "WindowsFormsApplication\WindowsFormsApplication.csproj", "{17284ADF-2F82-412E-8D83-02E5C1606F53}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WindowsFormsApplication", "WindowsFormsApplication\WindowsFormsApplication.csproj", "{17284ADF-2F82-412E-8D83-02E5C1606F53}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfApplication", "WpfApplication\WpfApplication.csproj", "{14296AF4-CB38-44B9-A42D-C104FE16CE33}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WpfApplication", "WpfApplication\WpfApplication.csproj", "{14296AF4-CB38-44B9-A42D-C104FE16CE33}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -25,4 +25,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {44DB2E7E-C22D-4FC4-A784-8964A2A059E5} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/WindowsFormsApplication.csproj b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/WindowsFormsApplication.csproj index c71d2afb1..539731498 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/WindowsFormsApplication.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/WindowsFormsApplication.csproj @@ -2,7 +2,7 @@ WinExe - net5.0-windows + net6.0-windows true @@ -12,10 +12,10 @@ - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Framework.RichClient.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Framework.RichClient.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Public.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Public.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/WpfApplication.csproj b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/WpfApplication.csproj index 71a55e513..97ee87a85 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/WpfApplication.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/WpfApplication.csproj @@ -2,7 +2,7 @@ WinExe - net5.0-windows + net6.0-windows true WpfApplication WpfApplication @@ -10,10 +10,10 @@ - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Framework.RichClient.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Framework.RichClient.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Public.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Public.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/CustCtrl_sample/CustCtrl_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/CustCtrl_sample/CustCtrl_sample.csproj index 96798ed52..0a8c3b2d0 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/CustCtrl_sample/CustCtrl_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/CustCtrl_sample/CustCtrl_sample.csproj @@ -2,7 +2,7 @@ WinExe - net5.0-windows + net6.0-windows true @@ -20,7 +20,7 @@ - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.CustomControl.RichClient.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.CustomControl.RichClient.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln index 071185357..d2acd42bf 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29326.143 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustCtrl_sample", "CustCtrl_sample.csproj", "{BA15CF85-A95B-4EA9-977B-0BE5EB739E72}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CustCtrl_sample", "CustCtrl_sample.csproj", "{BA15CF85-A95B-4EA9-977B-0BE5EB739E72}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {B73FC2DE-1303-4B9F-9CE8-7E5DBF51AB60} + EndGlobalSection EndGlobal diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.csproj index 72e888eb4..4125b43b2 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.csproj @@ -2,7 +2,7 @@ WinExe - net5.0-windows + net6.0-windows true @@ -144,19 +144,19 @@ - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Business.RichClient.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Business.RichClient.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Framework.RichClient.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Framework.RichClient.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Public.dll @@ -205,7 +205,4 @@ Always - - - \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln index c828a4cef..a7b4fad6e 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29326.143 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GenDaoAndBatUpd_sample", "GenDaoAndBatUpd_sample.csproj", "{D40BC756-8E12-4020-8486-99F482E35DCD}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GenDaoAndBatUpd_sample", "GenDaoAndBatUpd_sample.csproj", "{D40BC756-8E12-4020-8486-99F482E35DCD}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -19,6 +19,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {4D56765A-6A68-4CD9-B917-FFAD25FCB375} + EndGlobalSection GlobalSection(DPCodeReviewSolutionGUID) = preSolution DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} EndGlobalSection diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/TimeStamp_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/TimeStamp_sample.csproj index e07de8b3c..69090c03a 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/TimeStamp_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/TimeStamp_sample.csproj @@ -2,7 +2,7 @@ WinExe - net5.0-windows + net6.0-windows true @@ -247,13 +247,13 @@ - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Public.dll @@ -265,7 +265,4 @@ Always - - - \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln index 983f7b036..ea10f0268 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29326.143 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TimeStamp_sample", "TimeStamp_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TimeStamp_sample", "TimeStamp_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -19,6 +19,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {56AE5913-535A-4A37-8DED-0A953F379617} + EndGlobalSection GlobalSection(DPCodeReviewSolutionGUID) = preSolution DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} EndGlobalSection diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.csproj index 800a5b3ef..801bead03 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.csproj @@ -2,7 +2,7 @@ Exe - net5.0 + net6.0 @@ -29,19 +29,19 @@ - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Public.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.DamMySQL.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.DamMySQL.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.DamPstGrS.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.DamPstGrS.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln index e54035bba..2b00681ee 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30717.126 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RerunnableBatch_sample", "RerunnableBatch_sample.csproj", "{A2CCC02E-8C1E-40E9-BCD5-5CEABCF583A4}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.csproj b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.csproj index 800a5b3ef..801bead03 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.csproj @@ -2,7 +2,7 @@ Exe - net5.0 + net6.0 @@ -29,19 +29,19 @@ - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Public.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.DamMySQL.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.DamMySQL.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.DamPstGrS.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.DamPstGrS.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln index 9d157685d..a5427471c 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30717.126 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RerunnableBatch_sample2", "RerunnableBatch_sample2.csproj", "{58DE3839-8B8E-413A-BCA7-B2103A1161F7}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.csproj b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.csproj index 800a5b3ef..801bead03 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.csproj @@ -2,7 +2,7 @@ Exe - net5.0 + net6.0 @@ -29,19 +29,19 @@ - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Public.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.DamMySQL.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.DamMySQL.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.DamPstGrS.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.DamPstGrS.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln index ae7f43a81..e87c96a4d 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30717.126 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RerunnableBatch_sample3", "RerunnableBatch_sample3.csproj", "{58DE3839-8B8E-413A-BCA7-B2103A1161F7}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.csproj index adf810757..6520677f5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.csproj @@ -2,7 +2,7 @@ Exe - net5.0 + net6.0 @@ -28,19 +28,19 @@ - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Public.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.DamMySQL.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.DamMySQL.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.DamPstGrS.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.DamPstGrS.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln index 9ef69af6d..87bed367e 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30717.126 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SimpleBatch_sample", "SimpleBatch_sample.csproj", "{4E1E7400-A012-49E2-8D28-A361F0E1BEE2}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI.sln b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI.sln index 1652f033b..3598a767f 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30717.126 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DAG_Login_CLI", "DAG_Login_CLI\DAG_Login_CLI.csproj", "{1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DAG_Login_CLI", "DAG_Login_CLI\DAG_Login_CLI.csproj", "{1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj index c67e5e561..47f72bd5d 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj @@ -2,7 +2,7 @@ Exe - net5.0 + net6.0 @@ -16,13 +16,13 @@ - ..\..\..\..\..\..\..\..\..\OAuthOIDC\MultiPurposeAuthSite\root\programs\OpenTouryoAssemblies\Build_netcore50\net5.0\OpenTouryo.Framework.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Framework.dll - ..\..\..\..\..\..\..\..\..\OAuthOIDC\MultiPurposeAuthSite\root\programs\OpenTouryoAssemblies\Build_netcore50\net5.0\OpenTouryo.Public.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Public.dll - ..\..\..\..\..\..\..\..\..\OAuthOIDC\MultiPurposeAuthSite\root\programs\OpenTouryoAssemblies\Build_netcore50\net5.0\OpenTouryo.Public.Security.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Public.Security.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI.sln b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI.sln index 0174f857e..b858c704f 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30717.126 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LIR_Login_CLI", "LIR_Login_CLI\LIR_Login_CLI.csproj", "{1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LIR_Login_CLI", "LIR_Login_CLI\LIR_Login_CLI.csproj", "{1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/LIR_Login_CLI.csproj b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/LIR_Login_CLI.csproj index 8063e0704..151979751 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/LIR_Login_CLI.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/LIR_Login_CLI.csproj @@ -2,7 +2,7 @@ Exe - net5.0 + net6.0 @@ -17,13 +17,13 @@ - ..\..\..\..\..\..\..\..\..\OAuthOIDC\MultiPurposeAuthSite\root\programs\OpenTouryoAssemblies\Build_netcore50\net5.0\OpenTouryo.Framework.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Framework.dll - ..\..\..\..\..\..\..\..\..\OAuthOIDC\MultiPurposeAuthSite\root\programs\OpenTouryoAssemblies\Build_netcore50\net5.0\OpenTouryo.Public.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Public.dll - ..\..\..\..\..\..\..\..\..\OAuthOIDC\MultiPurposeAuthSite\root\programs\OpenTouryoAssemblies\Build_netcore50\net5.0\OpenTouryo.Public.Security.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Public.Security.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI.sln b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI.sln index 2a8f25559..49bad92fe 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30717.126 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Simple_CLI", "Simple_CLI\Simple_CLI.csproj", "{1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Simple_CLI", "Simple_CLI\Simple_CLI.csproj", "{1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj index f13eb956c..e90362af0 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj @@ -2,7 +2,7 @@ Exe - net5.0 + net6.0 diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.csproj index 608fa701e..195fcd798 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.csproj @@ -2,7 +2,7 @@ WinExe - net5.0-windows + net6.0-windows true WSClientWPF_sample WSClientWPF_sample @@ -55,25 +55,25 @@ - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Business.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Business.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Business.RichClient.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Business.RichClient.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Framework.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Framework.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Framework.RichClient.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Framework.RichClient.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Public.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Public.dll - ..\..\Build\net5.0-windows\WSIFType_sample.dll + ..\..\Build\net6.0\WSIFType_sample.dll - ..\..\Build\net5.0-windows\WSServer_sample.dll + ..\..\Build\net6.0\WSServer_sample.dll @@ -82,7 +82,4 @@ Always - - - \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln index d2e3010ff..f1630e204 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30717.126 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WSClientWPF_sample", "WSClientWPF_sample.csproj", "{F9737483-DC6C-45D1-8CB7-27138FD76D36}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.csproj index 0087c5e1a..0e597bb16 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.csproj @@ -2,7 +2,7 @@ WinExe - net5.0-windows + net6.0-windows true @@ -30,19 +30,19 @@ - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Business.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Business.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Business.RichClient.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Business.RichClient.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Framework.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Framework.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Framework.RichClient.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Framework.RichClient.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Public.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Public.dll @@ -51,7 +51,4 @@ Always - - - diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln index 1f09ff052..d8f01fa77 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30717.126 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WSClientWin2_sample", "WSClientWin2_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.csproj index cfb7c58ad..1ab562bc5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.csproj @@ -2,7 +2,7 @@ WinExe - net5.0-windows + net6.0-windows true @@ -57,25 +57,25 @@ - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Business.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Business.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Business.RichClient.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Business.RichClient.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Framework.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Framework.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Framework.RichClient.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Framework.RichClient.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows\OpenTouryo.Public.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows\OpenTouryo.Public.dll - ..\..\Build\net5.0\WSIFType_sample.dll + ..\..\Build\net6.0\WSIFType_sample.dll - ..\..\Build\net5.0\WSServer_sample.dll + ..\..\Build\net6.0\WSServer_sample.dll @@ -84,7 +84,4 @@ Always - - - \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln index 71fa00c42..6ef1a9af8 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln @@ -1,11 +1,11 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29326.143 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WSClientWin_sample", "WSClientWin_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WSClientWin_sample", "WSClientWin_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASPNETWebServiceCore", "..\..\..\..\..\Frameworks\Infrastructure\ServiceInterface\ASPNETWebServiceCore\ASPNETWebServiceCore\ASPNETWebServiceCore.csproj", "{C24BC2FA-D423-4F0F-B2B0-E647B621683D}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ASPNETWebServiceCore", "..\..\..\..\..\Frameworks\Infrastructure\ServiceInterface\ASPNETWebServiceCore\ASPNETWebServiceCore\ASPNETWebServiceCore.csproj", "{C24BC2FA-D423-4F0F-B2B0-E647B621683D}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSIFType_sample/WSIFType_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSIFType_sample/WSIFType_sample.csproj index 3c921ecd7..45e58925e 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSIFType_sample/WSIFType_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSIFType_sample/WSIFType_sample.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 @@ -10,13 +10,13 @@ - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Public.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.csproj index fb5520bfa..bdcd61e9d 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 @@ -20,13 +20,13 @@ - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore50\net5.0\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore60\net6.0\OpenTouryo.Public.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.sln index cdb5aec59..2bb926b19 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30717.126 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WSServer_sample", "WSServer_sample.csproj", "{E11525D4-EB70-4F4E-B758-42861377705E}" EndProject diff --git a/root/programs/CS/z_Common.bat b/root/programs/CS/z_Common.bat index 316b1b414..fa944d38b 100644 --- a/root/programs/CS/z_Common.bat +++ b/root/programs/CS/z_Common.bat @@ -17,22 +17,32 @@ if exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild ) if exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" ( - set BUILDFILEPATH15="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" + set BUILDFILEPATH16="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" ) if exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\MSBuild.exe" ( - set BUILDFILEPATH15="C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\MSBuild.exe" + set BUILDFILEPATH16="C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\MSBuild.exe" ) if exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" ( - set BUILDFILEPATH15="C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" + set BUILDFILEPATH16="C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" ) -set BUILDFILEPATH=%BUILDFILEPATH15% +if exist "C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe" ( + set BUILDFILEPATH17="C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe" +) +if exist "C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe" ( + set BUILDFILEPATH17="C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe" +) +if exist "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe" ( + set BUILDFILEPATH17="C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe" +) + +set BUILDFILEPATH=%BUILDFILEPATH17% @echo -------------------------------------------------- @echo The choice of build configuration (Debug / Release). @echo -------------------------------------------------- set BUILD_CONFIG=Debug -set VisualStudioVersion=14.0 +set VisualStudioVersion=17.0 @echo -------------------------------------------------- @echo Creating a build command. diff --git a/root/programs/CS/z_Common2.bat b/root/programs/CS/z_Common2.bat index 5c83cd5f1..a7c6d4661 100644 --- a/root/programs/CS/z_Common2.bat +++ b/root/programs/CS/z_Common2.bat @@ -18,8 +18,9 @@ set BUILDFILEPATH4.5.1="%PROGRAM_FILES%\Microsoft Visual Studio 12.0\Common7\IDE set BUILDFILEPATH4.6="%PROGRAM_FILES%\Microsoft Visual Studio 14.0\Common7\IDE\devenv.com" set BUILDFILEPATH4.7="%PROGRAM_FILES%\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe" set BUILDFILEPATH4.8="%PROGRAM_FILES%\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe" +set BUILDFILEPATH6.0="%PROGRAM_FILES%\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe" -set BUILDFILEPATH=BUILDFILEPATH4.8 +set BUILDFILEPATH=BUILDFILEPATH6.0 @echo -------------------------------------------------- @echo The choice of build configuration (Debug / Release). From 776b1689f25f5ef0cc37ce6ef5f76ed2646a9952 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Wed, 30 Mar 2022 14:59:20 +0900 Subject: [PATCH 49/59] Now, I am fixing #390. --- .../ASPNETWebService/ASPNETWebService.vbproj | 8 +- .../My Project/Resources.Designer.vb | 4 +- .../My Project/Settings.Designer.vb | 4 +- .../ASPNETWebService/Web.config | 128 ++++++++++-------- .../ServiceInterface/WCFService/App.config | 60 ++++---- .../WCFService/WCFService.vbproj | 3 +- .../2CSClientWPF_sample.sln | 7 +- .../2CSClientWPF_sample.vbproj | 2 +- .../2CS_sample/2CSClientWPF_sample/app.config | 2 +- .../2CSClientWin_sample.sln | 7 +- .../2CSClientWin_sample.vbproj | 3 +- .../My Project/Application.Designer.vb | 8 +- .../2CS_sample/2CSClientWin_sample/app.config | 2 +- .../AsyncEvent_sample/AsyncEvent_sample.sln | 7 +- .../My Project/Application.Designer.vb | 16 +-- .../WindowsFormsApplication.vbproj | 3 +- .../WpfApplication/WpfApplication.vbproj | 2 +- .../CustCtrl_sample/CustCtrl_sample.sln | 7 +- .../CustCtrl_sample/CustCtrl_sample.vbproj | 3 +- .../My Project/Application.Designer.vb | 16 +-- .../GenDaoAndBatUpd_sample.sln | 7 +- .../GenDaoAndBatUpd_sample.vbproj | 3 +- .../My Project/Application.Designer.vb | 16 +-- .../GenDaoAndBatUpd_sample/app.config | 2 +- .../My Project/Application.Designer.vb | 16 +-- .../TimeStamp_sample/TimeStamp_sample.sln | 7 +- .../TimeStamp_sample/TimeStamp_sample.vbproj | 3 +- .../2CS_sample/TimeStamp_sample/app.config | 2 +- .../RerunnableBatch_sample.sln | 7 +- .../RerunnableBatch_sample.vbproj | 2 +- .../RerunnableBatch_sample/app.config | 2 +- .../RerunnableBatch_sample2.sln | 7 +- .../RerunnableBatch_sample2.vbproj | 2 +- .../RerunnableBatch_sample2/app.config | 2 +- .../RerunnableBatch_sample3.sln | 7 +- .../RerunnableBatch_sample3.vbproj | 2 +- .../RerunnableBatch_sample3/app.config | 2 +- .../My Project/Application.Designer.vb | 8 +- .../SimpleBatch_sample/SimpleBatch_sample.sln | 7 +- .../SimpleBatch_sample.vbproj | 3 +- .../Bat_sample/SimpleBatch_sample/app.config | 2 +- .../CLI_sample/Simple_CLI/Simple_CLI.sln | 4 +- .../WSClientWPF_sample/WSClientWPF_sample.sln | 7 +- .../WSClientWPF_sample.vbproj | 4 +- .../WSClientWPF_sample/app.config | 24 ++-- .../My Project/Application.Designer.vb | 8 +- .../WSClientWin2_sample.sln | 7 +- .../WSClientWin2_sample.vbproj | 3 +- .../WSClientWin2_sample/app.config | 10 +- .../My Project/Application.Designer.vb | 8 +- .../WSClientWin_sample/WSClientWin_sample.sln | 7 +- .../WSClientWin_sample.vbproj | 3 +- .../WSClientWin_sample/app.config | 90 ++++++------ .../My Project/Application.Designer.vb | 8 +- .../WSIFType_sample/WSIFType_sample.vbproj | 3 +- .../My Project/Application.Designer.vb | 8 +- .../WSServer_sample/WSServer_sample.sln | 7 +- .../WSServer_sample/WSServer_sample.vbproj | 3 +- .../WebApp_sample/MVC_Sample/MVC_Sample.sln | 4 +- .../MVC_Sample/MVC_Sample/MVC_Sample.vbproj | 8 +- .../MVC_Sample/MVC_Sample/Web.config | 127 ++++++++++------- .../WebForms_Sample/WebForms_Sample.sln | 7 +- .../WebForms_Sample/WebForms_Sample.vbproj | 8 +- .../WebForms_Sample/web.config | 123 +++++++++-------- root/programs/VB/z_Common.bat | 20 ++- root/programs/VB/z_Common2.bat | 3 +- 66 files changed, 517 insertions(+), 388 deletions(-) diff --git a/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/ASPNETWebService.vbproj b/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/ASPNETWebService.vbproj index 8d17ad312..4cb258a22 100644 --- a/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/ASPNETWebService.vbproj +++ b/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/ASPNETWebService.vbproj @@ -15,7 +15,7 @@ ASPNETWebService - v4.6 + v4.8 true @@ -26,6 +26,7 @@ True + true @@ -85,8 +86,8 @@ ..\packages\Microsoft.AspNet.Cors.5.2.6\lib\net45\System.Web.Cors.dll - + ..\packages\Microsoft.AspNet.WebPages.3.2.6\lib\net45\System.Web.Helpers.dll @@ -128,7 +129,6 @@ ..\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\System.Web.Optimization.dll - True ..\packages\Microsoft.AspNet.Web.Optimization.WebForms.1.1.3\lib\net45\Microsoft.AspNet.Web.Optimization.WebForms.dll @@ -136,6 +136,7 @@ ..\packages\Microsoft.AspNet.FriendlyUrls.Core.1.0.2\lib\net45\Microsoft.AspNet.FriendlyUrls.dll + ..\packages\WebGrease.1.6.0\lib\WebGrease.dll @@ -199,6 +200,7 @@ True Application.myapp + True Microsoft.VisualBasic.Web.MyExtension diff --git a/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/My Project/Resources.Designer.vb b/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/My Project/Resources.Designer.vb index fcb56b673..6b10a4b27 100644 --- a/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/My Project/Resources.Designer.vb +++ b/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/My Project/Resources.Designer.vb @@ -22,7 +22,7 @@ Namespace My.Resources ''' ''' ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラスです。 ''' - _ @@ -47,7 +47,7 @@ Namespace My.Resources End Property ''' - ''' 厳密に型指定されたこのリソース クラスを使用して、すべての検索リソースに対し、 + ''' すべてについて、現在のスレッドの CurrentUICulture プロパティをオーバーライドします ''' 現在のスレッドの CurrentUICulture プロパティをオーバーライドします。 ''' _ diff --git a/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/My Project/Settings.Designer.vb b/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/My Project/Settings.Designer.vb index 2337ac84f..6531b2d7b 100644 --- a/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/My Project/Settings.Designer.vb +++ b/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/My Project/Settings.Designer.vb @@ -15,7 +15,7 @@ Option Explicit On Namespace My _ Partial Friend NotInheritable Class MySettings Inherits Global.System.Configuration.ApplicationSettingsBase @@ -29,7 +29,7 @@ Namespace My Private Shared addedHandlerLockObject As New Object _ - Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) + Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs) If My.Application.SaveMySettingsOnExit Then My.Settings.Save() End If diff --git a/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Web.config b/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Web.config index a2bc5a24c..848862967 100644 --- a/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Web.config +++ b/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService/Web.config @@ -1,4 +1,4 @@ - + - - - - - + + + + + - + - + - + - + - + - + - + - + + - + - + - + - + - + - + - - - - - - - + + + + + + + - + @@ -215,74 +223,74 @@ - + - - + + - - + + - + - + - - - - + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + \ No newline at end of file diff --git a/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/WCFService/App.config b/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/WCFService/App.config index 28387b186..bdaeede92 100644 --- a/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/WCFService/App.config +++ b/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/WCFService/App.config @@ -4,66 +4,66 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + @@ -71,11 +71,11 @@ - + - + @@ -83,9 +83,9 @@ - - + + - \ No newline at end of file + diff --git a/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/WCFService/WCFService.vbproj b/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/WCFService/WCFService.vbproj index d79eae231..e17bab872 100644 --- a/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/WCFService/WCFService.vbproj +++ b/root/programs/VB/Frameworks/Infrastructure/ServiceInterface/WCFService/WCFService.vbproj @@ -16,7 +16,7 @@ 512 true Console - v4.6 + v4.8 @@ -90,6 +90,7 @@ True Application.myapp + True diff --git a/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln b/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln index 5bda2b70c..5747b660d 100644 --- a/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln +++ b/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "2CSClientWPF_sample", "2CSClientWPF_sample.vbproj", "{3D1A8517-4939-424F-80D5-13E022870858}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {08D6631A-FECD-465D-B1A4-3773834A6781} + EndGlobalSection EndGlobal diff --git a/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.vbproj b/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.vbproj index de20d3149..337061749 100644 --- a/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.vbproj +++ b/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.vbproj @@ -8,7 +8,7 @@ WinExe _2CSClientWPF_sample 2CSClientWPF_sample - v4.6 + v4.8 Custom On Binary diff --git a/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/app.config b/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/app.config index 4ed8df9af..dc8e33d14 100644 --- a/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/app.config +++ b/root/programs/VB/Samples/2CS_sample/2CSClientWPF_sample/app.config @@ -54,4 +54,4 @@ - + diff --git a/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln b/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln index e936ba371..edb87e973 100644 --- a/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln +++ b/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "2CSClientWin_sample", "2CSClientWin_sample.vbproj", "{188A545F-5667-4349-949C-F1372AB592D5}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {42F3F391-ADC3-4B90-B58E-48E0B7346F5B} + EndGlobalSection EndGlobal diff --git a/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.vbproj b/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.vbproj index 8f78e57be..c06a48dc5 100644 --- a/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.vbproj +++ b/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.vbproj @@ -11,7 +11,7 @@ _2CSClientWin_sample 2CSClientWin_sample WindowsFormsWithCustomSubMain - v4.6 + v4.8 @@ -113,6 +113,7 @@ True Application.myapp + True diff --git a/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/My Project/Application.Designer.vb b/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/My Project/Application.Designer.vb index 88dd01c78..8effad9c4 100644 --- a/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/My Project/Application.Designer.vb +++ b/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/My Project/Application.Designer.vb @@ -1,10 +1,10 @@ '------------------------------------------------------------------------------ ' -' This code was generated by a tool. -' Runtime Version:4.0.30319.42000 +' このコードはツールによって生成されました。 +' ランタイム バージョン:4.0.30319.42000 ' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. +' このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 +' コードが再生成されるときに損失したりします。 ' '------------------------------------------------------------------------------ diff --git a/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/app.config b/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/app.config index f08c308ca..71b3cd102 100644 --- a/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/app.config +++ b/root/programs/VB/Samples/2CS_sample/2CSClientWin_sample/app.config @@ -70,4 +70,4 @@ - + diff --git a/root/programs/VB/Samples/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln b/root/programs/VB/Samples/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln index 892963dbf..256a8c864 100644 --- a/root/programs/VB/Samples/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln +++ b/root/programs/VB/Samples/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "WindowsFormsApplication", "WindowsFormsApplication\WindowsFormsApplication.vbproj", "{F7C3BD4A-F362-4BF2-A3E5-0327038DF0D3}" EndProject @@ -25,4 +25,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {7E846297-F225-4201-9117-2DA00E2FAF29} + EndGlobalSection EndGlobal diff --git a/root/programs/VB/Samples/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/My Project/Application.Designer.vb b/root/programs/VB/Samples/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/My Project/Application.Designer.vb index 2b68f1871..017f8cd82 100644 --- a/root/programs/VB/Samples/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/My Project/Application.Designer.vb +++ b/root/programs/VB/Samples/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/My Project/Application.Designer.vb @@ -1,10 +1,10 @@ '------------------------------------------------------------------------------ ' -' This code was generated by a tool. -' Runtime Version:4.0.30319.42000 +' このコードはツールによって生成されました。 +' ランタイム バージョン:4.0.30319.42000 ' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. +' このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 +' コードが再生成されるときに損失したりします。 ' '------------------------------------------------------------------------------ @@ -14,10 +14,10 @@ Option Explicit On Namespace My - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. + 'メモ:このファイルは自動生成されました。直接変更しないでください。変更したり、 + ' ビルド エラーが発生した場合は、プロジェクト デザイナー へ移動し (プロジェクト + ' プロパティに移動するか、またはソリューション エクスプローラーのマイ プロジェクト + ' ノード上でダブルクリック)、アプリケーション タブ上で変更を行います。 ' Partial Friend Class MyApplication diff --git a/root/programs/VB/Samples/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/WindowsFormsApplication.vbproj b/root/programs/VB/Samples/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/WindowsFormsApplication.vbproj index cf79c9cb4..f22ddd623 100644 --- a/root/programs/VB/Samples/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/WindowsFormsApplication.vbproj +++ b/root/programs/VB/Samples/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/WindowsFormsApplication.vbproj @@ -12,7 +12,7 @@ WindowsFormsApplication 512 WindowsForms - v4.6 + v4.8 On Binary Off @@ -93,6 +93,7 @@ True Application.myapp + True diff --git a/root/programs/VB/Samples/2CS_sample/AsyncEvent_sample/WpfApplication/WpfApplication.vbproj b/root/programs/VB/Samples/2CS_sample/AsyncEvent_sample/WpfApplication/WpfApplication.vbproj index 280d0b601..7e1ea0189 100644 --- a/root/programs/VB/Samples/2CS_sample/AsyncEvent_sample/WpfApplication/WpfApplication.vbproj +++ b/root/programs/VB/Samples/2CS_sample/AsyncEvent_sample/WpfApplication/WpfApplication.vbproj @@ -8,7 +8,7 @@ WinExe WpfApplication WpfApplication - v4.6 + v4.8 Custom On Binary diff --git a/root/programs/VB/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln b/root/programs/VB/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln index 70451a471..880f5dee1 100644 --- a/root/programs/VB/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln +++ b/root/programs/VB/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "CustCtrl_sample", "CustCtrl_sample.vbproj", "{43441376-87E2-4668-8722-8A094AE5C179}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {384F91E4-5E70-45FC-94E8-9DFA76C9AA58} + EndGlobalSection EndGlobal diff --git a/root/programs/VB/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.vbproj b/root/programs/VB/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.vbproj index 2929ef9cd..370c9324b 100644 --- a/root/programs/VB/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.vbproj +++ b/root/programs/VB/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.vbproj @@ -12,7 +12,7 @@ CustCtrl_sample 512 WindowsForms - v4.6 + v4.8 On Binary Off @@ -93,6 +93,7 @@ True Application.myapp + True diff --git a/root/programs/VB/Samples/2CS_sample/CustCtrl_sample/My Project/Application.Designer.vb b/root/programs/VB/Samples/2CS_sample/CustCtrl_sample/My Project/Application.Designer.vb index 18ff2a614..cc2516049 100644 --- a/root/programs/VB/Samples/2CS_sample/CustCtrl_sample/My Project/Application.Designer.vb +++ b/root/programs/VB/Samples/2CS_sample/CustCtrl_sample/My Project/Application.Designer.vb @@ -1,10 +1,10 @@ '------------------------------------------------------------------------------ ' -' This code was generated by a tool. -' Runtime Version:4.0.30319.42000 +' このコードはツールによって生成されました。 +' ランタイム バージョン:4.0.30319.42000 ' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. +' このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 +' コードが再生成されるときに損失したりします。 ' '------------------------------------------------------------------------------ @@ -14,10 +14,10 @@ Option Explicit On Namespace My - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. + 'メモ:このファイルは自動生成されました。直接変更しないでください。変更したり、 + ' ビルド エラーが発生した場合は、プロジェクト デザイナー へ移動し (プロジェクト + ' プロパティに移動するか、またはソリューション エクスプローラーのマイ プロジェクト + ' ノード上でダブルクリック)、アプリケーション タブ上で変更を行います。 ' Partial Friend Class MyApplication diff --git a/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln b/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln index 5132ed4a5..b36045efd 100644 --- a/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln +++ b/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "GenDaoAndBatUpd_sample", "GenDaoAndBatUpd_sample.vbproj", "{BEE90CB9-1CDA-4914-BF07-786242CF425B}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {64062F27-5143-460E-8B94-C235029694E1} + EndGlobalSection EndGlobal diff --git a/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.vbproj b/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.vbproj index d07d78898..3664edb53 100644 --- a/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.vbproj +++ b/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.vbproj @@ -11,7 +11,7 @@ GenDaoAndBatUpd_sample GenDaoAndBatUpd_sample WindowsForms - v4.6 + v4.8 2.0 @@ -110,6 +110,7 @@ True Application.myapp + True diff --git a/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/My Project/Application.Designer.vb b/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/My Project/Application.Designer.vb index 196f365f0..b0394f7bd 100644 --- a/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/My Project/Application.Designer.vb +++ b/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/My Project/Application.Designer.vb @@ -1,10 +1,10 @@ '------------------------------------------------------------------------------ ' -' This code was generated by a tool. -' Runtime Version:4.0.30319.42000 +' このコードはツールによって生成されました。 +' ランタイム バージョン:4.0.30319.42000 ' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. +' このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 +' コードが再生成されるときに損失したりします。 ' '------------------------------------------------------------------------------ @@ -14,10 +14,10 @@ Option Explicit On Namespace My - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. + 'メモ:このファイルは自動生成されました。直接変更しないでください。変更したり、 + ' ビルド エラーが発生した場合は、プロジェクト デザイナー へ移動し (プロジェクト + ' プロパティに移動するか、またはソリューション エクスプローラーのマイ プロジェクト + ' ノード上でダブルクリック)、アプリケーション タブ上で変更を行います。 ' Partial Friend Class MyApplication diff --git a/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/app.config b/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/app.config index 635cd04c1..2f92a6ebc 100644 --- a/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/app.config +++ b/root/programs/VB/Samples/2CS_sample/GenDaoAndBatUpd_sample/app.config @@ -37,4 +37,4 @@ - + diff --git a/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/My Project/Application.Designer.vb b/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/My Project/Application.Designer.vb index 5a0bfe533..41061a993 100644 --- a/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/My Project/Application.Designer.vb +++ b/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/My Project/Application.Designer.vb @@ -1,10 +1,10 @@ '------------------------------------------------------------------------------ ' -' This code was generated by a tool. -' Runtime Version:4.0.30319.42000 +' このコードはツールによって生成されました。 +' ランタイム バージョン:4.0.30319.42000 ' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. +' このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 +' コードが再生成されるときに損失したりします。 ' '------------------------------------------------------------------------------ @@ -14,10 +14,10 @@ Option Explicit On Namespace My - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. + 'メモ:このファイルは自動生成されました。直接変更しないでください。変更したり、 + ' ビルド エラーが発生した場合は、プロジェクト デザイナー へ移動し (プロジェクト + ' プロパティに移動するか、またはソリューション エクスプローラーのマイ プロジェクト + ' ノード上でダブルクリック)、アプリケーション タブ上で変更を行います。 ' Partial Friend Class MyApplication diff --git a/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln b/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln index 8dee300b6..299ca2036 100644 --- a/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln +++ b/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "TimeStamp_sample", "TimeStamp_sample.vbproj", "{6FEA6EAD-BE15-46A0-A978-D2BA436C7EA6}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F2B6C80D-C886-4074-AB38-427F4A15AA55} + EndGlobalSection EndGlobal diff --git a/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.vbproj b/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.vbproj index e6d40218e..05ac693f6 100644 --- a/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.vbproj +++ b/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.vbproj @@ -11,7 +11,7 @@ _TimeStamp_sample TimeStamp_sample WindowsForms - v4.6 + v4.8 2.0 @@ -100,6 +100,7 @@ True Application.myapp + True diff --git a/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/app.config b/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/app.config index e143d016f..9131839ab 100644 --- a/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/app.config +++ b/root/programs/VB/Samples/2CS_sample/TimeStamp_sample/app.config @@ -30,4 +30,4 @@ - + diff --git a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln index 2c57ef890..3934a3017 100644 --- a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln +++ b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "RerunnableBatch_sample", "RerunnableBatch_sample.vbproj", "{22C1AE38-FC51-41A6-870B-8B180B73CE67}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {9BDF3CEB-DE9F-4D42-A7C1-E9DF933CBBF6} + EndGlobalSection EndGlobal diff --git a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.vbproj b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.vbproj index 0249471e8..d1b76eecb 100644 --- a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.vbproj +++ b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.vbproj @@ -10,7 +10,7 @@ Properties RerunnableBatch_sample RerunnableBatch_sample - v4.6 + v4.8 diff --git a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/app.config b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/app.config index 34ea09e91..5631bf1f5 100644 --- a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/app.config +++ b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample/app.config @@ -61,4 +61,4 @@ - + diff --git a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln index 2da351b6c..40291fca1 100644 --- a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln +++ b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "RerunnableBatch_sample2", "RerunnableBatch_sample2.vbproj", "{22C1AE38-FC51-41A6-870B-8B180B73CE67}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {CF7F4091-B295-4122-AF8C-3E8A86A00215} + EndGlobalSection EndGlobal diff --git a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.vbproj b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.vbproj index ae6bf5b9a..20071ed3c 100644 --- a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.vbproj +++ b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.vbproj @@ -25,7 +25,7 @@ false false true - v4.6 + v4.8 diff --git a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/app.config b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/app.config index 2717f7840..085f0c2da 100644 --- a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/app.config +++ b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample2/app.config @@ -61,4 +61,4 @@ - + diff --git a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln index 14b19779a..4d7dfeda7 100644 --- a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln +++ b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "RerunnableBatch_sample3", "RerunnableBatch_sample3.vbproj", "{22C1AE38-FC51-41A6-870B-8B180B73CE67}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {B3991629-48D6-4C92-A2F0-7F1A4DFC17EB} + EndGlobalSection EndGlobal diff --git a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.vbproj b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.vbproj index 55dab0114..dbcbada0e 100644 --- a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.vbproj +++ b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.vbproj @@ -25,7 +25,7 @@ false false true - v4.6 + v4.8 diff --git a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/app.config b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/app.config index 2a4b84d98..6121445c5 100644 --- a/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/app.config +++ b/root/programs/VB/Samples/Bat_sample/RerunnableBatch_sample3/app.config @@ -61,4 +61,4 @@ - + diff --git a/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/My Project/Application.Designer.vb b/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/My Project/Application.Designer.vb index 88dd01c78..8effad9c4 100644 --- a/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/My Project/Application.Designer.vb +++ b/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/My Project/Application.Designer.vb @@ -1,10 +1,10 @@ '------------------------------------------------------------------------------ ' -' This code was generated by a tool. -' Runtime Version:4.0.30319.42000 +' このコードはツールによって生成されました。 +' ランタイム バージョン:4.0.30319.42000 ' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. +' このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 +' コードが再生成されるときに損失したりします。 ' '------------------------------------------------------------------------------ diff --git a/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln b/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln index 56241cddd..40e593416 100644 --- a/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln +++ b/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "SimpleBatch_sample", "SimpleBatch_sample.vbproj", "{AC32DA05-D3CA-4AD3-BC48-0746B457712D}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {9D69667A-2E88-442F-BB1C-960CBCC7B3C7} + EndGlobalSection EndGlobal diff --git a/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.vbproj b/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.vbproj index 2d33ea87e..e2ed8198f 100644 --- a/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.vbproj +++ b/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.vbproj @@ -11,7 +11,7 @@ SimpleBatch_sample SimpleBatch_sample Console - v4.6 + v4.8 2.0 @@ -89,6 +89,7 @@ True Application.myapp + True diff --git a/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/app.config b/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/app.config index b90c83aa9..4928f4ecb 100644 --- a/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/app.config +++ b/root/programs/VB/Samples/Bat_sample/SimpleBatch_sample/app.config @@ -61,4 +61,4 @@ - + diff --git a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln index 0cc89faf0..6ab9deef1 100644 --- a/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln +++ b/root/programs/VB/Samples/CLI_sample/Simple_CLI/Simple_CLI.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30717.126 +# Visual Studio 15 +VisualStudioVersion = 15.0.28307.1209 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Simple_CLI", "Simple_CLI\Simple_CLI.vbproj", "{816EC424-CAA7-4877-BEED-D71F5715EF26}" EndProject diff --git a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln index 07922466e..773f0a3bd 100644 --- a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln +++ b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "WSClientWPF_sample", "WSClientWPF_sample.vbproj", "{5B5899DA-98C9-47B7-8832-A21768D788B0}" EndProject @@ -57,4 +57,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {AE6C1D4E-7736-4241-A806-54E26D3473E0} + EndGlobalSection EndGlobal diff --git a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.vbproj b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.vbproj index 41973b950..194b1a17b 100644 --- a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.vbproj +++ b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.vbproj @@ -8,7 +8,7 @@ WinExe WSClientWPF_sample WSClientWPF_sample - v4.6 + v4.8 Custom @@ -132,7 +132,7 @@ Always - + Always diff --git a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/app.config b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/app.config index b0b57716f..09f470d15 100644 --- a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/app.config +++ b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/app.config @@ -86,20 +86,20 @@ - + - - + + - - + + - - + + @@ -107,19 +107,19 @@ - + - + - - + + - + diff --git a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/My Project/Application.Designer.vb b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/My Project/Application.Designer.vb index 88dd01c78..8effad9c4 100644 --- a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/My Project/Application.Designer.vb +++ b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/My Project/Application.Designer.vb @@ -1,10 +1,10 @@ '------------------------------------------------------------------------------ ' -' This code was generated by a tool. -' Runtime Version:4.0.30319.42000 +' このコードはツールによって生成されました。 +' ランタイム バージョン:4.0.30319.42000 ' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. +' このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 +' コードが再生成されるときに損失したりします。 ' '------------------------------------------------------------------------------ diff --git a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln index 09d64096b..0ab460e90 100644 --- a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln +++ b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "WSClientWin2_sample", "WSClientWin2_sample.vbproj", "{FBA01A43-1A3F-4C92-ABD1-59C51005A084}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {87FF1D65-2414-4D80-A081-58EAD7FB484C} + EndGlobalSection EndGlobal diff --git a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.vbproj b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.vbproj index 6856d7cac..10a99b448 100644 --- a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.vbproj +++ b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.vbproj @@ -11,7 +11,7 @@ WSClientWin2_sample WSClientWin2_sample WindowsFormsWithCustomSubMain - v4.6 + v4.8 2.0 @@ -133,6 +133,7 @@ True Application.myapp + True Splash.vb diff --git a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/app.config b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/app.config index 6734fd9de..7f9024809 100644 --- a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/app.config +++ b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/app.config @@ -1,4 +1,4 @@ - + @@ -25,7 +25,7 @@ - + @@ -42,9 +42,9 @@ - - + + - + diff --git a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/My Project/Application.Designer.vb b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/My Project/Application.Designer.vb index 88dd01c78..8effad9c4 100644 --- a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/My Project/Application.Designer.vb +++ b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/My Project/Application.Designer.vb @@ -1,10 +1,10 @@ '------------------------------------------------------------------------------ ' -' This code was generated by a tool. -' Runtime Version:4.0.30319.42000 +' このコードはツールによって生成されました。 +' ランタイム バージョン:4.0.30319.42000 ' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. +' このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 +' コードが再生成されるときに損失したりします。 ' '------------------------------------------------------------------------------ diff --git a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln index 078cb6a57..a998b2910 100644 --- a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln +++ b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "WSClientWin_sample", "WSClientWin_sample.vbproj", "{FBA01A43-1A3F-4C92-ABD1-59C51005A084}" EndProject @@ -45,4 +45,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A1A55A74-0329-4E74-B2A2-D5649FB70C73} + EndGlobalSection EndGlobal diff --git a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.vbproj b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.vbproj index e0bc1d153..3c1d1d89f 100644 --- a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.vbproj +++ b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.vbproj @@ -11,7 +11,7 @@ WSClientWin_sample WSClientWin_sample WindowsFormsWithCustomSubMain - v4.6 + v4.8 2.0 @@ -127,6 +127,7 @@ True Application.myapp + True Splash.vb diff --git a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/app.config b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/app.config index 60433d9de..baa77b2b8 100644 --- a/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/app.config +++ b/root/programs/VB/Samples/WS_sample/WSClient_sample/WSClientWin_sample/app.config @@ -1,4 +1,4 @@ - + @@ -11,13 +11,13 @@ - - - - - + + + + + - + @@ -25,10 +25,10 @@ - - - - + + + + @@ -47,31 +47,31 @@ - + - + - + - + - + - - - + + + - + - + @@ -80,40 +80,40 @@ - + - + - + - + - + - + - + - + - + - - + + - - + + - - + + @@ -121,27 +121,27 @@ - + - + - - + + - - + + - - + + - + diff --git a/root/programs/VB/Samples/WS_sample/WSIFType_sample/My Project/Application.Designer.vb b/root/programs/VB/Samples/WS_sample/WSIFType_sample/My Project/Application.Designer.vb index 88dd01c78..8effad9c4 100644 --- a/root/programs/VB/Samples/WS_sample/WSIFType_sample/My Project/Application.Designer.vb +++ b/root/programs/VB/Samples/WS_sample/WSIFType_sample/My Project/Application.Designer.vb @@ -1,10 +1,10 @@ '------------------------------------------------------------------------------ ' -' This code was generated by a tool. -' Runtime Version:4.0.30319.42000 +' このコードはツールによって生成されました。 +' ランタイム バージョン:4.0.30319.42000 ' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. +' このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 +' コードが再生成されるときに損失したりします。 ' '------------------------------------------------------------------------------ diff --git a/root/programs/VB/Samples/WS_sample/WSIFType_sample/WSIFType_sample.vbproj b/root/programs/VB/Samples/WS_sample/WSIFType_sample/WSIFType_sample.vbproj index 81d8f0490..9ac844e79 100644 --- a/root/programs/VB/Samples/WS_sample/WSIFType_sample/WSIFType_sample.vbproj +++ b/root/programs/VB/Samples/WS_sample/WSIFType_sample/WSIFType_sample.vbproj @@ -11,7 +11,7 @@ WSIFType_sample Windows - v4.6 + v4.8 2.0 @@ -78,6 +78,7 @@ True Application.myapp + True diff --git a/root/programs/VB/Samples/WS_sample/WSServer_sample/My Project/Application.Designer.vb b/root/programs/VB/Samples/WS_sample/WSServer_sample/My Project/Application.Designer.vb index 88dd01c78..8effad9c4 100644 --- a/root/programs/VB/Samples/WS_sample/WSServer_sample/My Project/Application.Designer.vb +++ b/root/programs/VB/Samples/WS_sample/WSServer_sample/My Project/Application.Designer.vb @@ -1,10 +1,10 @@ '------------------------------------------------------------------------------ ' -' This code was generated by a tool. -' Runtime Version:4.0.30319.42000 +' このコードはツールによって生成されました。 +' ランタイム バージョン:4.0.30319.42000 ' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. +' このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 +' コードが再生成されるときに損失したりします。 ' '------------------------------------------------------------------------------ diff --git a/root/programs/VB/Samples/WS_sample/WSServer_sample/WSServer_sample.sln b/root/programs/VB/Samples/WS_sample/WSServer_sample/WSServer_sample.sln index cf570e7f6..a096765e1 100644 --- a/root/programs/VB/Samples/WS_sample/WSServer_sample/WSServer_sample.sln +++ b/root/programs/VB/Samples/WS_sample/WSServer_sample/WSServer_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "WSServer_sample", "WSServer_sample.vbproj", "{15F78DB3-7AB0-4ADF-ADCA-48AFBD54C31E}" EndProject @@ -25,6 +25,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A1EDF313-0C1F-4EE6-8515-FC092C26C63B} + EndGlobalSection GlobalSection(DPCodeReviewSolutionGUID) = preSolution DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} EndGlobalSection diff --git a/root/programs/VB/Samples/WS_sample/WSServer_sample/WSServer_sample.vbproj b/root/programs/VB/Samples/WS_sample/WSServer_sample/WSServer_sample.vbproj index 17a6da118..cbcd3c891 100644 --- a/root/programs/VB/Samples/WS_sample/WSServer_sample/WSServer_sample.vbproj +++ b/root/programs/VB/Samples/WS_sample/WSServer_sample/WSServer_sample.vbproj @@ -11,7 +11,7 @@ WSServer_sample Windows - v4.6 + v4.8 2.0 @@ -86,6 +86,7 @@ True Application.myapp + True diff --git a/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample.sln b/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample.sln index 19c3aa1a5..62b6a464e 100644 --- a/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample.sln +++ b/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "MVC_Sample", "MVC_Sample\MVC_Sample.vbproj", "{4427474C-E9AD-451F-BF2C-4EE737D59A60}" EndProject diff --git a/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample/MVC_Sample.vbproj b/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample/MVC_Sample.vbproj index a10724d85..5e9061b4f 100644 --- a/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample/MVC_Sample.vbproj +++ b/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample/MVC_Sample.vbproj @@ -13,7 +13,7 @@ Library MVC_Sample MVC_Sample - v4.6 + v4.8 On Binary Off @@ -29,6 +29,7 @@ ..\ true 3.0 + true @@ -273,6 +274,10 @@ ..\packages\System.Security.Cryptography.X509Certificates.4.3.2\lib\net46\System.Security.Cryptography.X509Certificates.dll + + + + ..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.Helpers.dll @@ -303,6 +308,7 @@ ..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Razor.dll + ..\packages\WebGrease.1.6.0\lib\WebGrease.dll True diff --git a/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Web.config b/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Web.config index a3babfe9e..a2bec2c0d 100644 --- a/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Web.config +++ b/root/programs/VB/Samples/WebApp_sample/MVC_Sample/MVC_Sample/Web.config @@ -1,4 +1,4 @@ - + - + - + - + - + - + - + - + - + - + + - + - + - - - - - - - + + + + + + + - + - + - + - + - + - - + + + + + + + - - - + + + + + + + + + + + + + + + - + - - - - + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + \ No newline at end of file diff --git a/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample.sln b/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample.sln index 73755e309..736043781 100644 --- a/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample.sln +++ b/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "WebForms_Sample", "WebForms_Sample\WebForms_Sample.vbproj", "{758EB140-49AB-4FD1-9A6C-CCC68CC0C56B}" EndProject @@ -19,4 +19,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {E2AE3CBB-F59D-4873-AE86-401D58F70DA1} + EndGlobalSection EndGlobal diff --git a/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/WebForms_Sample.vbproj b/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/WebForms_Sample.vbproj index 517dd1cdb..63d7c61b3 100644 --- a/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/WebForms_Sample.vbproj +++ b/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/WebForms_Sample.vbproj @@ -14,7 +14,7 @@ Library WebForms_Sample WebForms_Sample - v4.6 + v4.8 true 44333 @@ -23,6 +23,7 @@ 3.0 + true @@ -759,17 +760,22 @@ + + + + ..\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\System.Web.Optimization.dll True + ..\packages\WebGrease.1.6.0\lib\WebGrease.dll diff --git a/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/web.config b/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/web.config index 48ef5af20..e57920da9 100644 --- a/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/web.config +++ b/root/programs/VB/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample/web.config @@ -1,4 +1,4 @@ - + - + - + - + - + - + - + - + - + - + + - + - + - + - - + - + - + - + - + - - - + + + + + + + - - + + + + + + + - + - - + + - + - + - - + - - + + - - + + - - + + @@ -257,43 +272,43 @@ - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + \ No newline at end of file diff --git a/root/programs/VB/z_Common.bat b/root/programs/VB/z_Common.bat index 316b1b414..fa944d38b 100644 --- a/root/programs/VB/z_Common.bat +++ b/root/programs/VB/z_Common.bat @@ -17,22 +17,32 @@ if exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild ) if exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" ( - set BUILDFILEPATH15="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" + set BUILDFILEPATH16="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" ) if exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\MSBuild.exe" ( - set BUILDFILEPATH15="C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\MSBuild.exe" + set BUILDFILEPATH16="C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\MSBuild.exe" ) if exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" ( - set BUILDFILEPATH15="C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" + set BUILDFILEPATH16="C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" ) -set BUILDFILEPATH=%BUILDFILEPATH15% +if exist "C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe" ( + set BUILDFILEPATH17="C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe" +) +if exist "C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe" ( + set BUILDFILEPATH17="C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe" +) +if exist "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe" ( + set BUILDFILEPATH17="C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe" +) + +set BUILDFILEPATH=%BUILDFILEPATH17% @echo -------------------------------------------------- @echo The choice of build configuration (Debug / Release). @echo -------------------------------------------------- set BUILD_CONFIG=Debug -set VisualStudioVersion=14.0 +set VisualStudioVersion=17.0 @echo -------------------------------------------------- @echo Creating a build command. diff --git a/root/programs/VB/z_Common2.bat b/root/programs/VB/z_Common2.bat index 5c83cd5f1..a7c6d4661 100644 --- a/root/programs/VB/z_Common2.bat +++ b/root/programs/VB/z_Common2.bat @@ -18,8 +18,9 @@ set BUILDFILEPATH4.5.1="%PROGRAM_FILES%\Microsoft Visual Studio 12.0\Common7\IDE set BUILDFILEPATH4.6="%PROGRAM_FILES%\Microsoft Visual Studio 14.0\Common7\IDE\devenv.com" set BUILDFILEPATH4.7="%PROGRAM_FILES%\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe" set BUILDFILEPATH4.8="%PROGRAM_FILES%\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe" +set BUILDFILEPATH6.0="%PROGRAM_FILES%\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe" -set BUILDFILEPATH=BUILDFILEPATH4.8 +set BUILDFILEPATH=BUILDFILEPATH6.0 @echo -------------------------------------------------- @echo The choice of build configuration (Debug / Release). From ee8077892566f87e7e9932a15d95e035e280194d Mon Sep 17 00:00:00 2001 From: daisuke nishino Date: Wed, 30 Mar 2022 15:30:42 +0900 Subject: [PATCH 50/59] Update Readme.ja.md --- root/Readme.ja.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/root/Readme.ja.md b/root/Readme.ja.md index 4caa4e8c5..ac55b6e03 100644 --- a/root/Readme.ja.md +++ b/root/Readme.ja.md @@ -179,6 +179,20 @@ Open 棟梁のプログラムをビルドするときは、**初回のみ、MSBu - +10 +2_Build_NuGet_nettcore50.bat +.NET 5 をターゲットとする NuGet パッケージの作成用に、フレームワーク (ベースクラス1, ライブラリ部分) をビルドする。 +○*1, *3 +- + + +10 +2_Build_NuGet_nettcore60.bat +.NET 6 をターゲットとする NuGet パッケージの作成用に、フレームワーク (ベースクラス1, ライブラリ部分) をビルドする。 +○*1, *3 +- + + 11 3_Build_Business_net45.bat .NET Framework 4.5.2 をターゲットとする Business名前空間のフレームワーク (ベースクラス2, ライブラリ部分) をビルドする。 @@ -241,6 +255,20 @@ Open 棟梁のプログラムをビルドするときは、**初回のみ、MSBu - +20 +3_Build_Business_netcore50.bat +.NET 5 をターゲットとする Business名前空間のフレームワーク (ベースクラス2, ライブラリ部分) をビルドする。 +○*3 +- + + +20 +3_Build_Business_netcore60.bat +.NET 6 をターゲットとする Business名前空間のフレームワーク (ベースクラス2, ライブラリ部分) をビルドする。 +○*3 +- + + 21 3_Build_BusinessRichClient_netcore30.bat .NET Core 3.0 をターゲットとする Business名前空間のリッチクライアント用フレームワーク (ベースクラス2, ライブラリ部分) をビルドする。 @@ -248,6 +276,20 @@ Open 棟梁のプログラムをビルドするときは、**初回のみ、MSBu - +21 +3_Build_BusinessRichClient_netcore50.bat +.NET 5 をターゲットとする Business名前空間のリッチクライアント用フレームワーク (ベースクラス2, ライブラリ部分) をビルドする。 +○*2, *3 +- + + +21 +3_Build_BusinessRichClient_netcore60.bat +.NET 6 をターゲットとする Business名前空間のリッチクライアント用フレームワーク (ベースクラス2, ライブラリ部分) をビルドする。 +○*2, *3 +- + + 22 4_Build_CopyAssemblies.bat 上記ビルドのプライマリ出力を参照先フォルダにコピーする。 From 3a3a20a55714e76534cda4b02a968cc396359395 Mon Sep 17 00:00:00 2001 From: daisuke nishino Date: Wed, 30 Mar 2022 15:34:32 +0900 Subject: [PATCH 51/59] Update README.md --- root/README.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/root/README.md b/root/README.md index 7e338aaf9..fa33cc129 100644 --- a/root/README.md +++ b/root/README.md @@ -188,6 +188,20 @@ By executing `0_ExecAllBat.bat`, you can execute necessary batch files together. - +10 +2_Build_NuGet_nettcore50.bat +Build the framework (Base class 1 and library part) to make NuGet package that targets .NET 5. +○*1, *3 +- + + +10 +2_Build_NuGet_nettcore60.bat +Build the framework (Base class 1 and library part) to make NuGet package that targets .NET 6. +○*1, *3 +- + + 11 3_Build_Business_net45.bat Build a framework (base class 2, library part) of Business namespace that targets .NET Framework 4.5.2. @@ -250,6 +264,20 @@ By executing `0_ExecAllBat.bat`, you can execute necessary batch files together. - +20 +3_Build_Business_netcore50.bat +Build a framework (base class 2, library part) of Business namespace that targets .NET 5. +○*3 +- + + +20 +3_Build_Business_netcore60.bat +Build a framework (base class 2, library part) of Business namespace that targets .NET 6. +○*3 +- + + 21 3_Build_BusinessRichClient_netcore30.bat Build a framework for rich client application (base class 2, library part) of Business namespace that targets .NET Core 3.0. @@ -257,6 +285,20 @@ By executing `0_ExecAllBat.bat`, you can execute necessary batch files together. - +21 +3_Build_BusinessRichClient_netcore50.bat +Build a framework for rich client application (base class 2, library part) of Business namespace that targets .NET 5. +○*2, *3 +- + + +21 +3_Build_BusinessRichClient_netcore60.bat +Build a framework for rich client application (base class 2, library part) of Business namespace that targets .NET 6. +○*2, *3 +- + + 22 4_Build_CopyAssemblies.bat Copy the primary output of the above build to the reference folder. From 921e2683eacbdf82d8a1b8e31273800b8c139a52 Mon Sep 17 00:00:00 2001 From: daisuke nishino Date: Wed, 30 Mar 2022 15:35:32 +0900 Subject: [PATCH 52/59] Update Readme.ja.md --- Readme.ja.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Readme.ja.md b/Readme.ja.md index e45c7f300..601a59486 100644 --- a/Readme.ja.md +++ b/Readme.ja.md @@ -10,6 +10,7 @@ - Visual Studio 2015 - Visual Studio 2017 - Visual Studio 2019 + - Visual Studio 2022 - targetFramework(実行環境) - .NET Framework 4.5.2 (net452) - .NET Framework 4.6 (net46) @@ -18,6 +19,7 @@ - .NET Core 2.0 (netcoreapp2.0) - .NET Core 3.0 (netcoreapp3.0) - .NET 5.0 (net5.0) + - .NET 6.0 (net6.0) - .NET Standard 2.0 (netstandard2.0) - .NET Standard 2.1 (netstandard2.1) From ed38ec0aa2a4acfc9d101dad83dd906ab428b3dc Mon Sep 17 00:00:00 2001 From: daisuke nishino Date: Wed, 30 Mar 2022 15:36:20 +0900 Subject: [PATCH 53/59] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 13141c13d..9f1d139cf 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ The programs in this repository are developed in the following IDE/targetFramewo - Visual Studio 2015 - Visual Studio 2017 - Visual Studio 2019 + - Visual Studio 2022 - targetFramework (Run-time environment) - .NET Framework 4.5.2 (net452) - .NET Framework 4.6 (net46) @@ -18,6 +19,7 @@ The programs in this repository are developed in the following IDE/targetFramewo - .NET Core 2.0 (netcoreapp2.0) - .NET Core 3.0 (netcoreapp3.0) - .NET 5.0 (net5.0) + - .NET 6.0 (net6.0) - .NET Standard 2.0 (netstandard2.0) - .NET Standard 2.1 (netstandard2.1) From e25f9ad9c5c4983920397b4a477c0e4eaeee0fd7 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Wed, 30 Mar 2022 17:54:50 +0900 Subject: [PATCH 54/59] NuGet. --- .../CS/NuGet/Symbol_DamManagedOdp.nuspec | 14 ++++---- root/programs/CS/NuGet/Symbol_DamMySQL.nuspec | 14 ++++---- .../programs/CS/NuGet/Symbol_DamPstGrS.nuspec | 14 ++++---- .../NuGet/Symbol_Framework.RichClient.nuspec | 34 ++++++++++++------- .../programs/CS/NuGet/Symbol_Framework.nuspec | 14 ++++---- .../CS/NuGet/Symbol_Public.Security.nuspec | 14 ++++---- root/programs/CS/NuGet/Symbol_Public.nuspec | 2 +- root/programs/CS/NuGet/_NuGetPack.bat | 2 ++ ...l\343\202\222\351\205\215\347\275\256.txt" | 0 ...l\343\202\222\351\205\215\347\275\256.txt" | 0 10 files changed, 59 insertions(+), 49 deletions(-) create mode 100644 "root/programs/CS/NuGet/in/net6.0-windows/net6.0-windows\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" create mode 100644 "root/programs/CS/NuGet/in/net6.0/net6.0\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" diff --git a/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec b/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec index 717ba5a25..fe6e68c5d 100644 --- a/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec +++ b/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Public.Db.DamManagedOdp OpenTouryo.DamManagedOdp - 2.7.0 + 3.0.0-preview1 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 @@ -17,27 +17,27 @@ OpenTouryo Open棟梁 - + - + - + - + - + - + diff --git a/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec b/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec index 3aefba085..1a5a7a477 100644 --- a/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec +++ b/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Public.Db.DamMySQL OpenTouryo.DamMySQL - 2.7.0 + 3.0.0-preview1 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 @@ -17,31 +17,31 @@ OpenTouryo Open棟梁 - + - + - + - + - + - + diff --git a/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec b/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec index f51620cba..7c0d5b138 100644 --- a/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec +++ b/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Public.Db.DamPstGrS OpenTouryo.DamPstGrS - 2.7.0 + 3.0.0-preview1 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 @@ -17,39 +17,39 @@ OpenTouryo Open棟梁 - + - + - + - + - + - + diff --git a/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec b/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec index 2f94ce25d..9a2a2cb23 100644 --- a/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec +++ b/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Framework.RichClient OpenTouryo.Framework.RichClient - 2.7.0 + 3.0.0-preview1 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 @@ -17,28 +17,32 @@ OpenTouryo Open棟梁 - - + + - - + + - - + + - - + + - - + + - - + + + + + + @@ -68,6 +72,10 @@ + + + + diff --git a/root/programs/CS/NuGet/Symbol_Framework.nuspec b/root/programs/CS/NuGet/Symbol_Framework.nuspec index 308786471..e75fd4f8d 100644 --- a/root/programs/CS/NuGet/Symbol_Framework.nuspec +++ b/root/programs/CS/NuGet/Symbol_Framework.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Framework OpenTouryo.Framework - 2.7.0 + 3.0.0-preview1 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 @@ -17,7 +17,7 @@ OpenTouryo Open棟梁 - + @@ -27,7 +27,7 @@ - + @@ -37,7 +37,7 @@ - + @@ -47,7 +47,7 @@ - + @@ -57,7 +57,7 @@ - + @@ -67,7 +67,7 @@ - + diff --git a/root/programs/CS/NuGet/Symbol_Public.Security.nuspec b/root/programs/CS/NuGet/Symbol_Public.Security.nuspec index fe50acf35..6e7274772 100644 --- a/root/programs/CS/NuGet/Symbol_Public.Security.nuspec +++ b/root/programs/CS/NuGet/Symbol_Public.Security.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Public.Security OpenTouryo.Public.Security - 2.7.0 + 3.0.0-preview1 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 @@ -17,31 +17,31 @@ OpenTouryo Open棟梁 - + - + - + - + - + @@ -50,7 +50,7 @@ - + diff --git a/root/programs/CS/NuGet/Symbol_Public.nuspec b/root/programs/CS/NuGet/Symbol_Public.nuspec index fc8dc2622..abbb8ebde 100644 --- a/root/programs/CS/NuGet/Symbol_Public.nuspec +++ b/root/programs/CS/NuGet/Symbol_Public.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Public OpenTouryo.Public - 2.7.0 + 3.0.0-preview1 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 diff --git a/root/programs/CS/NuGet/_NuGetPack.bat b/root/programs/CS/NuGet/_NuGetPack.bat index b0943094f..6427584bd 100644 --- a/root/programs/CS/NuGet/_NuGetPack.bat +++ b/root/programs/CS/NuGet/_NuGetPack.bat @@ -10,6 +10,8 @@ xcopy /E /Y "..\Frameworks\Infrastructure\Build_netstd21\netstandard2.1" "in\net xcopy /E /Y "..\Frameworks\Infrastructure\Build_netcore30\netcoreapp3.0" "in\netcoreapp3.0" xcopy /E /Y "..\Frameworks\Infrastructure\Build_netcore50\net5.0" "in\net5.0" xcopy /E /Y "..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows" "in\net5.0-windows" +xcopy /E /Y "..\Frameworks\Infrastructure\Build_netcore60\net6.0" "in\net6.0" +xcopy /E /Y "..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows" "in\net6.0-windows" "..\..\nuget.exe" pack Symbol_Public.nuspec -OutputDirectory "out\sp" -Symbols -SymbolPackageFormat snupkg "..\..\nuget.exe" pack Symbol_Public.Security.nuspec -OutputDirectory "out\sp" -Symbols -SymbolPackageFormat snupkg diff --git "a/root/programs/CS/NuGet/in/net6.0-windows/net6.0-windows\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" "b/root/programs/CS/NuGet/in/net6.0-windows/net6.0-windows\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" new file mode 100644 index 000000000..e69de29bb diff --git "a/root/programs/CS/NuGet/in/net6.0/net6.0\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" "b/root/programs/CS/NuGet/in/net6.0/net6.0\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" new file mode 100644 index 000000000..e69de29bb From 4d73d50e51634be75dec511c5797d9f8f62982b9 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Wed, 30 Mar 2022 20:23:07 +0900 Subject: [PATCH 55/59] NuGet. --- root/programs/CS/0_Release4Nuget.bat | 1 + .../Framework/Framework_netstd20.csproj | 2 +- .../Framework/Framework_netstd21.csproj | 2 +- .../Framework/Properties/AssemblyInfo.cs | 2 +- .../Framework.RichClient_netcore30.csproj | 2 +- .../Framework.RichClient_netcore50.csproj | 2 +- .../Framework.RichClient_netcore60.csproj | 2 +- .../RichClient/Properties/AssemblyInfo.cs | 2 +- .../DamManagedOdp_netstd20.csproj | 2 +- .../DamManagedOdp_netstd21.csproj | 2 +- .../DamManagedOdp/Properties/AssemblyInfo.cs | 2 +- .../Db/DamMySQL/DamMySQL_netstd20.csproj | 2 +- .../Db/DamMySQL/DamMySQL_netstd21.csproj | 2 +- .../Db/DamMySQL/Properties/AssemblyInfo.cs | 2 +- .../Db/DamPstGrS/DamPstGrS_netstd20.csproj | 2 +- .../Db/DamPstGrS/DamPstGrS_netstd21.csproj | 2 +- .../Db/DamPstGrS/Properties/AssemblyInfo.cs | 2 +- .../Public/Properties/AssemblyInfo.cs | 2 +- .../Public/Public_netstd20.csproj | 2 +- .../Public/Public_netstd21.csproj | 2 +- .../Security/Properties/AssemblyInfo.cs | 2 +- .../Security/Public.Security_netstd20.csproj | 2 +- .../Security/Public.Security_netstd21.csproj | 2 +- .../CS/NuGet/Symbol_DamManagedOdp.nuspec | 14 ++++----- root/programs/CS/NuGet/Symbol_DamMySQL.nuspec | 14 ++++----- .../programs/CS/NuGet/Symbol_DamPstGrS.nuspec | 14 ++++----- .../NuGet/Symbol_Framework.RichClient.nuspec | 30 +++++++++---------- .../programs/CS/NuGet/Symbol_Framework.nuspec | 14 ++++----- .../CS/NuGet/Symbol_Public.Security.nuspec | 14 ++++----- root/programs/CS/NuGet/Symbol_Public.nuspec | 2 +- 30 files changed, 74 insertions(+), 73 deletions(-) diff --git a/root/programs/CS/0_Release4Nuget.bat b/root/programs/CS/0_Release4Nuget.bat index 7b6f3932f..d4503b553 100644 --- a/root/programs/CS/0_Release4Nuget.bat +++ b/root/programs/CS/0_Release4Nuget.bat @@ -12,6 +12,7 @@ echo | call 2_Build_NuGet_netstd20.bat echo | call 2_Build_NuGet_netstd21.bat echo | call 2_Build_NuGet_nettcore30.bat echo | call 2_Build_NuGet_nettcore50.bat +echo | call 2_Build_NuGet_nettcore60.bat echo | call 4_Build_CopyAssemblies.bat diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netstd20.csproj b/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netstd20.csproj index 80ef5e3ef..8a24501ff 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netstd20.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netstd20.csproj @@ -4,7 +4,7 @@ netstandard2.0 Touryo.Infrastructure.Framework OpenTouryo.Framework - 2.7.0.0 + 3.0.0.0 Hitachi Solutions diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netstd21.csproj b/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netstd21.csproj index 9e1cbae46..d33455549 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netstd21.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netstd21.csproj @@ -4,7 +4,7 @@ netstandard2.1 Touryo.Infrastructure.Framework OpenTouryo.Framework - 2.7.0.0 + 3.0.0.0 Hitachi Solutions diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Properties/AssemblyInfo.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Properties/AssemblyInfo.cs index af1282930..d58ba6c76 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Properties/AssemblyInfo.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Properties/AssemblyInfo.cs @@ -62,4 +62,4 @@ // // すべての値を指定するか、下のように '*' を使ってリビジョンおよびビルド番号を // 既定値にすることができます: -[assembly: AssemblyVersion("2.7.0.0")] +[assembly: AssemblyVersion("3.0.0.0")] diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore30.csproj b/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore30.csproj index 92ddf5c85..8aa95ca58 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore30.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore30.csproj @@ -9,7 +9,7 @@ Touryo.Infrastructure.Framework.RichClient OpenTouryo.Framework.RichClient - 2.7.0.0 + 3.0.0.0 diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore50.csproj b/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore50.csproj index e1b710492..21fa561a3 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore50.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore50.csproj @@ -9,7 +9,7 @@ Touryo.Infrastructure.Framework.RichClient OpenTouryo.Framework.RichClient - 2.7.0.0 + 3.0.0.0 diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore60.csproj b/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore60.csproj index 18db19572..46b13d100 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore60.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore60.csproj @@ -9,7 +9,7 @@ Touryo.Infrastructure.Framework.RichClient OpenTouryo.Framework.RichClient - 2.7.0.0 + 3.0.0.0 diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Properties/AssemblyInfo.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Properties/AssemblyInfo.cs index 3ca401c92..010376904 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Properties/AssemblyInfo.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Properties/AssemblyInfo.cs @@ -63,4 +63,4 @@ // すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を // 既定値にすることができます: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.7.0.0")] +[assembly: AssemblyVersion("3.0.0.0")] diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netstd20.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netstd20.csproj index 59e6e60f0..45fa0d9c4 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netstd20.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netstd20.csproj @@ -3,7 +3,7 @@ netstandard2.0 OpenTouryo.DamManagedOdp Touryo.Infrastructure.Public.Db - 2.7.0.0 + 3.0.0.0 Hitachi Solutions diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netstd21.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netstd21.csproj index 5e5c74368..74ec29a60 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netstd21.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netstd21.csproj @@ -3,7 +3,7 @@ netstandard2.1 OpenTouryo.DamManagedOdp Touryo.Infrastructure.Public.Db - 2.7.0.0 + 3.0.0.0 Hitachi Solutions diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/Properties/AssemblyInfo.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/Properties/AssemblyInfo.cs index c1bbdc31b..90adb995a 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/Properties/AssemblyInfo.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/Properties/AssemblyInfo.cs @@ -62,4 +62,4 @@ // // すべての値を指定するか、下のように '*' を使ってリビジョンおよびビルド番号を // 既定値にすることができます: -[assembly: AssemblyVersion("2.7.0.0")] +[assembly: AssemblyVersion("3.0.0.0")] diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netstd20.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netstd20.csproj index 8c39b5589..135b1b0d9 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netstd20.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netstd20.csproj @@ -3,7 +3,7 @@ netstandard2.0 OpenTouryo.DamMySQL Touryo.Infrastructure.Public.Db - 2.7.0.0 + 3.0.0.0 Hitachi Solutions diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netstd21.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netstd21.csproj index 2c73193ab..687425842 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netstd21.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netstd21.csproj @@ -3,7 +3,7 @@ netstandard2.1 OpenTouryo.DamMySQL Touryo.Infrastructure.Public.Db - 2.7.0.0 + 3.0.0.0 Hitachi Solutions diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/Properties/AssemblyInfo.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/Properties/AssemblyInfo.cs index 755d6694e..406e470f4 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/Properties/AssemblyInfo.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/Properties/AssemblyInfo.cs @@ -62,4 +62,4 @@ // // すべての値を指定するか、下のように '*' を使ってリビジョンおよびビルド番号を // 既定値にすることができます: -[assembly: AssemblyVersion("2.7.0.0")] \ No newline at end of file +[assembly: AssemblyVersion("3.0.0.0")] \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netstd20.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netstd20.csproj index 3d84b77d4..4751b01c4 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netstd20.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netstd20.csproj @@ -3,7 +3,7 @@ netstandard2.0 OpenTouryo.DamPstGrS Touryo.Infrastructure.Public.Db - 2.7.0.0 + 3.0.0.0 Hitachi Solutions diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netstd21.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netstd21.csproj index cd2c676b4..d7fb616e6 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netstd21.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netstd21.csproj @@ -3,7 +3,7 @@ netstandard2.1 OpenTouryo.DamPstGrS Touryo.Infrastructure.Public.Db - 2.7.0.0 + 3.0.0.0 Hitachi Solutions diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/Properties/AssemblyInfo.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/Properties/AssemblyInfo.cs index db0280a01..d83cf3a25 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/Properties/AssemblyInfo.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/Properties/AssemblyInfo.cs @@ -62,4 +62,4 @@ // // すべての値を指定するか、下のように '*' を使ってリビジョンおよびビルド番号を // 既定値にすることができます: -[assembly: AssemblyVersion("2.7.0.0")] \ No newline at end of file +[assembly: AssemblyVersion("3.0.0.0")] \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Properties/AssemblyInfo.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Properties/AssemblyInfo.cs index cca2954e0..f728b20bc 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Properties/AssemblyInfo.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Properties/AssemblyInfo.cs @@ -62,4 +62,4 @@ // // すべての値を指定するか、下のように '*' を使ってリビジョンおよびビルド番号を // 既定値にすることができます: -[assembly: AssemblyVersion("2.7.0.0")] \ No newline at end of file +[assembly: AssemblyVersion("3.0.0.0")] \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Public_netstd20.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Public_netstd20.csproj index d11cd12c1..132dc3c10 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Public_netstd20.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Public_netstd20.csproj @@ -4,7 +4,7 @@ netstandard2.0 OpenTouryo.Public Touryo.Infrastructure.Public - 2.7.0.0 + 3.0.0.0 Hitachi Solutions diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Public_netstd21.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Public_netstd21.csproj index 3669aeaaf..fed7336af 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Public_netstd21.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Public_netstd21.csproj @@ -4,7 +4,7 @@ netstandard2.1 OpenTouryo.Public Touryo.Infrastructure.Public - 2.7.0.0 + 3.0.0.0 Hitachi Solutions diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Properties/AssemblyInfo.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Properties/AssemblyInfo.cs index 28600e2e5..0f116f94d 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Properties/AssemblyInfo.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Properties/AssemblyInfo.cs @@ -62,4 +62,4 @@ // // すべての値を指定するか、下のように '*' を使ってリビジョンおよびビルド番号を // 既定値にすることができます: -[assembly: AssemblyVersion("2.7.0.0")] \ No newline at end of file +[assembly: AssemblyVersion("3.0.0.0")] \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netstd20.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netstd20.csproj index 6100528cd..129c41e99 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netstd20.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netstd20.csproj @@ -4,7 +4,7 @@ netstandard2.0 OpenTouryo.Public.Security Touryo.Infrastructure.Public.Security - 2.7.0.0 + 3.0.0.0 Hitachi Solutions diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netstd21.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netstd21.csproj index b4a513ce5..9b87bbcbe 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netstd21.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netstd21.csproj @@ -4,7 +4,7 @@ netstandard2.1 OpenTouryo.Public.Security Touryo.Infrastructure.Public.Security - 2.7.0.0 + 3.0.0.0 Hitachi Solutions diff --git a/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec b/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec index fe6e68c5d..f7a8bb4d3 100644 --- a/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec +++ b/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Public.Db.DamManagedOdp OpenTouryo.DamManagedOdp - 3.0.0-preview1 + 3.0.0-preview2 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 @@ -17,27 +17,27 @@ OpenTouryo Open棟梁 - + - + - + - + - + - + diff --git a/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec b/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec index 1a5a7a477..d7ef4b75e 100644 --- a/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec +++ b/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Public.Db.DamMySQL OpenTouryo.DamMySQL - 3.0.0-preview1 + 3.0.0-preview2 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 @@ -17,31 +17,31 @@ OpenTouryo Open棟梁 - + - + - + - + - + - + diff --git a/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec b/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec index 7c0d5b138..d2f3f528e 100644 --- a/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec +++ b/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Public.Db.DamPstGrS OpenTouryo.DamPstGrS - 3.0.0-preview1 + 3.0.0-preview2 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 @@ -17,39 +17,39 @@ OpenTouryo Open棟梁 - + - + - + - + - + - + diff --git a/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec b/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec index 9a2a2cb23..f9be627ee 100644 --- a/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec +++ b/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Framework.RichClient OpenTouryo.Framework.RichClient - 3.0.0-preview1 + 3.0.0-preview2 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 @@ -17,32 +17,32 @@ OpenTouryo Open棟梁 - - + + - - + + - - + + - - + + - - + + - - + + - - + + diff --git a/root/programs/CS/NuGet/Symbol_Framework.nuspec b/root/programs/CS/NuGet/Symbol_Framework.nuspec index e75fd4f8d..a8501c0ba 100644 --- a/root/programs/CS/NuGet/Symbol_Framework.nuspec +++ b/root/programs/CS/NuGet/Symbol_Framework.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Framework OpenTouryo.Framework - 3.0.0-preview1 + 3.0.0-preview2 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 @@ -17,7 +17,7 @@ OpenTouryo Open棟梁 - + @@ -27,7 +27,7 @@ - + @@ -37,7 +37,7 @@ - + @@ -47,7 +47,7 @@ - + @@ -57,7 +57,7 @@ - + @@ -67,7 +67,7 @@ - + diff --git a/root/programs/CS/NuGet/Symbol_Public.Security.nuspec b/root/programs/CS/NuGet/Symbol_Public.Security.nuspec index 6e7274772..01b3dc9b0 100644 --- a/root/programs/CS/NuGet/Symbol_Public.Security.nuspec +++ b/root/programs/CS/NuGet/Symbol_Public.Security.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Public.Security OpenTouryo.Public.Security - 3.0.0-preview1 + 3.0.0-preview2 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 @@ -17,31 +17,31 @@ OpenTouryo Open棟梁 - + - + - + - + - + @@ -50,7 +50,7 @@ - + diff --git a/root/programs/CS/NuGet/Symbol_Public.nuspec b/root/programs/CS/NuGet/Symbol_Public.nuspec index abbb8ebde..956bcebfa 100644 --- a/root/programs/CS/NuGet/Symbol_Public.nuspec +++ b/root/programs/CS/NuGet/Symbol_Public.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Public OpenTouryo.Public - 3.0.0-preview1 + 3.0.0-preview2 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 From 2fd3defdae4abc4e471cc43ab138c3a9dd796255 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Mon, 4 Apr 2022 16:00:39 +0900 Subject: [PATCH 56/59] Tweak. --- .../Infrastructure/Business/packages.config | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/root/programs/VB/Frameworks/Infrastructure/Business/packages.config b/root/programs/VB/Frameworks/Infrastructure/Business/packages.config index baadb696d..146e9779b 100644 --- a/root/programs/VB/Frameworks/Infrastructure/Business/packages.config +++ b/root/programs/VB/Frameworks/Infrastructure/Business/packages.config @@ -1,12 +1,12 @@  - - - - - - - - - + + + + + + + + + \ No newline at end of file From a7548b19afb3d8b36bc1f88bac75cf44534e1918 Mon Sep 17 00:00:00 2001 From: daisukenishino2 Date: Mon, 4 Apr 2022 16:42:37 +0900 Subject: [PATCH 57/59] NuGet. --- .../CS/NuGet/Symbol_DamManagedOdp.nuspec | 14 ++++----- root/programs/CS/NuGet/Symbol_DamMySQL.nuspec | 14 ++++----- .../programs/CS/NuGet/Symbol_DamPstGrS.nuspec | 14 ++++----- .../NuGet/Symbol_Framework.RichClient.nuspec | 30 +++++++++---------- .../programs/CS/NuGet/Symbol_Framework.nuspec | 14 ++++----- .../CS/NuGet/Symbol_Public.Security.nuspec | 14 ++++----- root/programs/CS/NuGet/Symbol_Public.nuspec | 2 +- 7 files changed, 51 insertions(+), 51 deletions(-) diff --git a/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec b/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec index f7a8bb4d3..3baae3512 100644 --- a/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec +++ b/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Public.Db.DamManagedOdp OpenTouryo.DamManagedOdp - 3.0.0-preview2 + 3.0.0 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 @@ -17,27 +17,27 @@ OpenTouryo Open棟梁 - + - + - + - + - + - + diff --git a/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec b/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec index d7ef4b75e..82fa28c4b 100644 --- a/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec +++ b/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Public.Db.DamMySQL OpenTouryo.DamMySQL - 3.0.0-preview2 + 3.0.0 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 @@ -17,31 +17,31 @@ OpenTouryo Open棟梁 - + - + - + - + - + - + diff --git a/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec b/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec index d2f3f528e..7e46f346e 100644 --- a/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec +++ b/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Public.Db.DamPstGrS OpenTouryo.DamPstGrS - 3.0.0-preview2 + 3.0.0 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 @@ -17,39 +17,39 @@ OpenTouryo Open棟梁 - + - + - + - + - + - + diff --git a/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec b/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec index f9be627ee..a3357be56 100644 --- a/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec +++ b/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Framework.RichClient OpenTouryo.Framework.RichClient - 3.0.0-preview2 + 3.0.0 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 @@ -17,32 +17,32 @@ OpenTouryo Open棟梁 - - + + - - + + - - + + - - + + - - + + - - + + - - + + diff --git a/root/programs/CS/NuGet/Symbol_Framework.nuspec b/root/programs/CS/NuGet/Symbol_Framework.nuspec index a8501c0ba..aadaa155d 100644 --- a/root/programs/CS/NuGet/Symbol_Framework.nuspec +++ b/root/programs/CS/NuGet/Symbol_Framework.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Framework OpenTouryo.Framework - 3.0.0-preview2 + 3.0.0 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 @@ -17,7 +17,7 @@ OpenTouryo Open棟梁 - + @@ -27,7 +27,7 @@ - + @@ -37,7 +37,7 @@ - + @@ -47,7 +47,7 @@ - + @@ -57,7 +57,7 @@ - + @@ -67,7 +67,7 @@ - + diff --git a/root/programs/CS/NuGet/Symbol_Public.Security.nuspec b/root/programs/CS/NuGet/Symbol_Public.Security.nuspec index 01b3dc9b0..0e8ba11b8 100644 --- a/root/programs/CS/NuGet/Symbol_Public.Security.nuspec +++ b/root/programs/CS/NuGet/Symbol_Public.Security.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Public.Security OpenTouryo.Public.Security - 3.0.0-preview2 + 3.0.0 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 @@ -17,31 +17,31 @@ OpenTouryo Open棟梁 - + - + - + - + - + @@ -50,7 +50,7 @@ - + diff --git a/root/programs/CS/NuGet/Symbol_Public.nuspec b/root/programs/CS/NuGet/Symbol_Public.nuspec index 956bcebfa..dfad125c5 100644 --- a/root/programs/CS/NuGet/Symbol_Public.nuspec +++ b/root/programs/CS/NuGet/Symbol_Public.nuspec @@ -3,7 +3,7 @@ Touryo.Infrastructure.Public OpenTouryo.Public - 3.0.0-preview2 + 3.0.0 OSS Consortium .net subcommittee daisukenishino77 Apache-2.0 From dc77e597c8e4c75854704d2bef70bc1ea6bcb84d Mon Sep 17 00:00:00 2001 From: daisuke nishino Date: Mon, 4 Apr 2022 21:55:55 +0900 Subject: [PATCH 58/59] Update Readme.ja.md --- Readme.ja.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Readme.ja.md b/Readme.ja.md index 601a59486..5bda9539f 100644 --- a/Readme.ja.md +++ b/Readme.ja.md @@ -6,23 +6,19 @@ ## 開発 / 動作環境 このリポジトリのプログラムは、以下のIDE/targetFramework を前提に開発しています。 -- IDE(統合開発環境) - - Visual Studio 2015 - - Visual Studio 2017 - - Visual Studio 2019 - - Visual Studio 2022 +- IDE(統合開発環境) + Visual Studio 2022 - targetFramework(実行環境) - .NET Framework 4.5.2 (net452) - .NET Framework 4.6 (net46) - .NET Framework 4.7 (net47) - .NET Framework 4.8 (net48) + - .NET Standard 2.0 (netstandard2.0) + - .NET Standard 2.1 (netstandard2.1) - .NET Core 2.0 (netcoreapp2.0) - .NET Core 3.0 (netcoreapp3.0) - .NET 5.0 (net5.0) - .NET 6.0 (net6.0) - - .NET Standard 2.0 (netstandard2.0) - - .NET Standard 2.1 (netstandard2.1) - プロジェクトやソリューションの名前には、targetFrameworkが含まれます。 たとえば、net47(.NET Framework 4.7) を対象としたプロジェクト・ソリューションは、"{identifier}_net47.{ext}" と命名しています。 From 4d06a8c14842f9801f63c706abcb7e8fc42d015c Mon Sep 17 00:00:00 2001 From: daisuke nishino Date: Mon, 4 Apr 2022 21:56:43 +0900 Subject: [PATCH 59/59] Update README.md --- README.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 9f1d139cf..f2144d91e 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,24 @@ # OpenTouryo -*Open Touryo* is an application framework for .NET Framework which was developed using the accumulated know-how with a longstanding application development results. +*Open Touryo* is an application framework for .NET which was developed using the accumulated know-how with a longstanding application development results. Click [here](Readme.ja.md) for Japanese version of this file. ## Develop/Run-time environment The programs in this repository are developed in the following IDE/targetFramework: -- IDE (Integrated Development Environment) - - Visual Studio 2015 - - Visual Studio 2017 - - Visual Studio 2019 - - Visual Studio 2022 +- IDE (Integrated Development Environment) + Visual Studio 2022 - targetFramework (Run-time environment) - .NET Framework 4.5.2 (net452) - .NET Framework 4.6 (net46) - .NET Framework 4.7 (net47) - .NET Framework 4.8 (net48) + - .NET Standard 2.0 (netstandard2.0) + - .NET Standard 2.1 (netstandard2.1) - .NET Core 2.0 (netcoreapp2.0) - .NET Core 3.0 (netcoreapp3.0) - .NET 5.0 (net5.0) - .NET 6.0 (net6.0) - - .NET Standard 2.0 (netstandard2.0) - - .NET Standard 2.1 (netstandard2.1) The name of projects and solutions include the targetFramework. For example, the projects and solutions for net47(.NET Framework 4.7) are named {identifier}_net47.{ext}.