修訂 | ec6bcc41947f18a1b32fa7d6820d2b37eccecd83 (tree) |
---|---|
時間 | 2022-05-18 14:13:28 |
作者 | yoshy <yoshy.org.bitbucket@gz.j...> |
Commiter | yoshy |
[MOD] .Net48プロジェクトのpackage.configをPackageReferenceにアップグレード
@@ -1,6 +1,5 @@ | ||
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | - <Import Project="..\JVUpdater\packages\EntityFramework.6.4.4\build\EntityFramework.props" Condition="Exists('..\JVUpdater\packages\EntityFramework.6.4.4\build\EntityFramework.props')" /> | |
4 | 3 | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
5 | 4 | <PropertyGroup> |
6 | 5 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
@@ -34,105 +33,18 @@ | ||
34 | 33 | <WarningLevel>4</WarningLevel> |
35 | 34 | </PropertyGroup> |
36 | 35 | <ItemGroup> |
37 | - <Reference Include="BouncyCastle.Crypto, Version=1.8.9.0, Culture=neutral, PublicKeyToken=0e99375e54769942"> | |
38 | - <HintPath>..\JVUpdater\packages\BouncyCastle.1.8.9\lib\BouncyCastle.Crypto.dll</HintPath> | |
39 | - </Reference> | |
40 | - <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> | |
41 | - <HintPath>..\JVUpdater\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.dll</HintPath> | |
42 | - </Reference> | |
43 | - <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> | |
44 | - <HintPath>..\JVUpdater\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.SqlServer.dll</HintPath> | |
45 | - </Reference> | |
46 | - <Reference Include="Google.Protobuf, Version=3.20.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> | |
47 | - <HintPath>..\JVUpdater\packages\Google.Protobuf.3.20.1\lib\net45\Google.Protobuf.dll</HintPath> | |
48 | - </Reference> | |
49 | - <Reference Include="K4os.Compression.LZ4, Version=1.2.16.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL"> | |
50 | - <HintPath>..\JVUpdater\packages\K4os.Compression.LZ4.1.2.16\lib\net46\K4os.Compression.LZ4.dll</HintPath> | |
51 | - </Reference> | |
52 | - <Reference Include="K4os.Compression.LZ4.Streams, Version=1.2.16.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL"> | |
53 | - <HintPath>..\JVUpdater\packages\K4os.Compression.LZ4.Streams.1.2.16\lib\net46\K4os.Compression.LZ4.Streams.dll</HintPath> | |
54 | - </Reference> | |
55 | - <Reference Include="K4os.Hash.xxHash, Version=1.0.7.0, Culture=neutral, PublicKeyToken=32cd54395057cec3, processorArchitecture=MSIL"> | |
56 | - <HintPath>..\JVUpdater\packages\K4os.Hash.xxHash.1.0.7\lib\net46\K4os.Hash.xxHash.dll</HintPath> | |
57 | - </Reference> | |
58 | - <Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> | |
59 | - <HintPath>..\JVUpdater\packages\Microsoft.Bcl.AsyncInterfaces.6.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath> | |
60 | - </Reference> | |
61 | - <Reference Include="Microsoft.Bcl.HashCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> | |
62 | - <HintPath>..\JVUpdater\packages\Microsoft.Bcl.HashCode.1.1.1\lib\net461\Microsoft.Bcl.HashCode.dll</HintPath> | |
63 | - </Reference> | |
64 | - <Reference Include="MySql.Data, Version=8.0.29.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL"> | |
65 | - <HintPath>..\JVUpdater\packages\MySql.Data.8.0.29\lib\net48\MySql.Data.dll</HintPath> | |
66 | - </Reference> | |
67 | - <Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL"> | |
68 | - <HintPath>..\JVUpdater\packages\NLog.5.0.0\lib\net46\NLog.dll</HintPath> | |
69 | - </Reference> | |
70 | - <Reference Include="Npgsql, Version=6.0.4.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7, processorArchitecture=MSIL"> | |
71 | - <HintPath>..\JVUpdater\packages\Npgsql.6.0.4\lib\netstandard2.0\Npgsql.dll</HintPath> | |
72 | - </Reference> | |
73 | - <Reference Include="NPoco, Version=5.3.2.0, Culture=neutral, processorArchitecture=MSIL"> | |
74 | - <HintPath>..\JVUpdater\packages\NPoco.5.3.2\lib\net461\NPoco.dll</HintPath> | |
75 | - </Reference> | |
76 | - <Reference Include="SimpleInjector, Version=5.0.0.0, Culture=neutral, PublicKeyToken=984cb50dea722e99, processorArchitecture=MSIL"> | |
77 | - <HintPath>..\JVUpdater\packages\SimpleInjector.5.3.3\lib\net461\SimpleInjector.dll</HintPath> | |
78 | - </Reference> | |
79 | 36 | <Reference Include="System" /> |
80 | - <Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> | |
81 | - <HintPath>..\JVUpdater\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath> | |
82 | - </Reference> | |
83 | - <Reference Include="System.Collections.Immutable, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | |
84 | - <HintPath>..\JVUpdater\packages\System.Collections.Immutable.6.0.0\lib\net461\System.Collections.Immutable.dll</HintPath> | |
85 | - </Reference> | |
86 | 37 | <Reference Include="System.ComponentModel" /> |
87 | 38 | <Reference Include="System.ComponentModel.DataAnnotations" /> |
88 | 39 | <Reference Include="System.Configuration" /> |
89 | 40 | <Reference Include="System.Configuration.Install" /> |
90 | 41 | <Reference Include="System.Core" /> |
91 | - <Reference Include="System.Data.SQLite, Version=1.0.115.5, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL"> | |
92 | - <HintPath>..\JVUpdater\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.115.5\lib\net46\System.Data.SQLite.dll</HintPath> | |
93 | - </Reference> | |
94 | - <Reference Include="System.Data.SQLite.EF6, Version=1.0.115.5, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL"> | |
95 | - <HintPath>..\JVUpdater\packages\System.Data.SQLite.EF6.1.0.115.5\lib\net46\System.Data.SQLite.EF6.dll</HintPath> | |
96 | - </Reference> | |
97 | - <Reference Include="System.Data.SQLite.Linq, Version=1.0.115.5, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL"> | |
98 | - <HintPath>..\JVUpdater\packages\System.Data.SQLite.Linq.1.0.115.5\lib\net46\System.Data.SQLite.Linq.dll</HintPath> | |
99 | - </Reference> | |
100 | - <Reference Include="System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> | |
101 | - <HintPath>..\JVUpdater\packages\System.Diagnostics.DiagnosticSource.6.0.0\lib\net461\System.Diagnostics.DiagnosticSource.dll</HintPath> | |
102 | - </Reference> | |
103 | 42 | <Reference Include="System.IO.Compression" /> |
104 | - <Reference Include="System.Linq.Async, Version=6.0.0.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263, processorArchitecture=MSIL"> | |
105 | - <HintPath>..\JVUpdater\packages\System.Linq.Async.6.0.1\lib\net48\System.Linq.Async.dll</HintPath> | |
106 | - </Reference> | |
107 | 43 | <Reference Include="System.Management" /> |
108 | - <Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> | |
109 | - <HintPath>..\JVUpdater\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath> | |
110 | - </Reference> | |
111 | 44 | <Reference Include="System.Numerics" /> |
112 | - <Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | |
113 | - <HintPath>..\JVUpdater\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath> | |
114 | - </Reference> | |
115 | - <Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | |
116 | - <HintPath>..\JVUpdater\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath> | |
117 | - </Reference> | |
118 | 45 | <Reference Include="System.Runtime.Serialization" /> |
119 | 46 | <Reference Include="System.ServiceModel" /> |
120 | - <Reference Include="System.Text.Encodings.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> | |
121 | - <HintPath>..\JVUpdater\packages\System.Text.Encodings.Web.6.0.0\lib\net461\System.Text.Encodings.Web.dll</HintPath> | |
122 | - </Reference> | |
123 | - <Reference Include="System.Text.Json, Version=6.0.0.4, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> | |
124 | - <HintPath>..\JVUpdater\packages\System.Text.Json.6.0.4\lib\net461\System.Text.Json.dll</HintPath> | |
125 | - </Reference> | |
126 | - <Reference Include="System.Threading.Channels, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> | |
127 | - <HintPath>..\JVUpdater\packages\System.Threading.Channels.6.0.0\lib\net461\System.Threading.Channels.dll</HintPath> | |
128 | - </Reference> | |
129 | - <Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> | |
130 | - <HintPath>..\JVUpdater\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath> | |
131 | - </Reference> | |
132 | 47 | <Reference Include="System.Transactions" /> |
133 | - <Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> | |
134 | - <HintPath>..\JVUpdater\packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll</HintPath> | |
135 | - </Reference> | |
136 | 48 | <Reference Include="System.Windows.Forms" /> |
137 | 49 | <Reference Include="System.Xml.Linq" /> |
138 | 50 | <Reference Include="System.Data.DataSetExtensions" /> |
@@ -140,12 +52,6 @@ | ||
140 | 52 | <Reference Include="System.Data" /> |
141 | 53 | <Reference Include="System.Net.Http" /> |
142 | 54 | <Reference Include="System.Xml" /> |
143 | - <Reference Include="Ubiety.Dns.Core, Version=2.2.1.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL"> | |
144 | - <HintPath>..\JVUpdater\packages\MySql.Data.8.0.29\lib\net48\Ubiety.Dns.Core.dll</HintPath> | |
145 | - </Reference> | |
146 | - <Reference Include="ZstdNet, Version=1.4.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL"> | |
147 | - <HintPath>..\JVUpdater\packages\MySql.Data.8.0.29\lib\net48\ZstdNet.dll</HintPath> | |
148 | - </Reference> | |
149 | 55 | </ItemGroup> |
150 | 56 | <ItemGroup> |
151 | 57 | <Compile Include="Adaptor\Boundary\Controller\Handler\IAsyncRequestHandler.cs" /> |
@@ -218,19 +124,26 @@ | ||
218 | 124 | </ItemGroup> |
219 | 125 | <ItemGroup> |
220 | 126 | <None Include="app.config" /> |
221 | - <None Include="packages.config" /> | |
127 | + </ItemGroup> | |
128 | + <ItemGroup> | |
129 | + <PackageReference Include="MySql.Data"> | |
130 | + <Version>8.0.29</Version> | |
131 | + </PackageReference> | |
132 | + <PackageReference Include="NLog"> | |
133 | + <Version>5.0.0</Version> | |
134 | + </PackageReference> | |
135 | + <PackageReference Include="Npgsql"> | |
136 | + <Version>6.0.4</Version> | |
137 | + </PackageReference> | |
138 | + <PackageReference Include="NPoco"> | |
139 | + <Version>5.3.2</Version> | |
140 | + </PackageReference> | |
141 | + <PackageReference Include="SimpleInjector"> | |
142 | + <Version>5.3.3</Version> | |
143 | + </PackageReference> | |
144 | + <PackageReference Include="System.Data.SQLite"> | |
145 | + <Version>1.0.115.5</Version> | |
146 | + </PackageReference> | |
222 | 147 | </ItemGroup> |
223 | 148 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
224 | - <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | |
225 | - <PropertyGroup> | |
226 | - <ErrorText>このプロジェクトは、このコンピューター上にない NuGet パッケージを参照しています。それらのパッケージをダウンロードするには、[NuGet パッケージの復元] を使用します。詳細については、http://go.microsoft.com/fwlink/?LinkID=322105 を参照してください。見つからないファイルは {0} です。</ErrorText> | |
227 | - </PropertyGroup> | |
228 | - <Error Condition="!Exists('..\JVUpdater\packages\EntityFramework.6.4.4\build\EntityFramework.props')" Text="$([System.String]::Format('$(ErrorText)', '..\JVUpdater\packages\EntityFramework.6.4.4\build\EntityFramework.props'))" /> | |
229 | - <Error Condition="!Exists('..\JVUpdater\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\JVUpdater\packages\EntityFramework.6.4.4\build\EntityFramework.targets'))" /> | |
230 | - <Error Condition="!Exists('..\JVUpdater\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.115.5\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\JVUpdater\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.115.5\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets'))" /> | |
231 | - <Error Condition="!Exists('..\JVUpdater\packages\System.Text.Json.6.0.4\build\System.Text.Json.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\JVUpdater\packages\System.Text.Json.6.0.4\build\System.Text.Json.targets'))" /> | |
232 | - </Target> | |
233 | - <Import Project="..\JVUpdater\packages\EntityFramework.6.4.4\build\EntityFramework.targets" Condition="Exists('..\JVUpdater\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" /> | |
234 | - <Import Project="..\JVUpdater\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.115.5\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets" Condition="Exists('..\JVUpdater\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.115.5\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets')" /> | |
235 | - <Import Project="..\JVUpdater\packages\System.Text.Json.6.0.4\build\System.Text.Json.targets" Condition="Exists('..\JVUpdater\packages\System.Text.Json.6.0.4\build\System.Text.Json.targets')" /> | |
236 | 149 | </Project> |
\ No newline at end of file |
@@ -1,9 +1,10 @@ | ||
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <configuration> |
3 | 3 | <configSections> |
4 | - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> | |
4 | + | |
5 | 5 | <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> |
6 | 6 | </configSections> |
7 | + <!-- | |
7 | 8 | <runtime> |
8 | 9 | <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> |
9 | 10 | <dependentAssembly> |
@@ -44,16 +45,12 @@ | ||
44 | 45 | </dependentAssembly> |
45 | 46 | </assemblyBinding> |
46 | 47 | </runtime> |
48 | + --> | |
47 | 49 | <entityFramework> |
48 | 50 | <providers> |
49 | 51 | <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> |
50 | 52 | <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" /> |
51 | 53 | </providers> |
52 | 54 | </entityFramework> |
53 | - <system.data> | |
54 | - <DbProviderFactories> | |
55 | - <remove invariant="System.Data.SQLite.EF6" /> | |
56 | - <add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" /> | |
57 | - <remove invariant="System.Data.SQLite" /><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /></DbProviderFactories> | |
58 | - </system.data> | |
55 | + | |
59 | 56 | </configuration> |
\ No newline at end of file |
@@ -1,34 +0,0 @@ | ||
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<packages> | |
3 | - <package id="BouncyCastle" version="1.8.9" targetFramework="net48" /> | |
4 | - <package id="EntityFramework" version="6.4.4" targetFramework="net48" /> | |
5 | - <package id="Google.Protobuf" version="3.20.1" targetFramework="net48" /> | |
6 | - <package id="K4os.Compression.LZ4" version="1.2.16" targetFramework="net48" /> | |
7 | - <package id="K4os.Compression.LZ4.Streams" version="1.2.16" targetFramework="net48" /> | |
8 | - <package id="K4os.Hash.xxHash" version="1.0.7" targetFramework="net48" /> | |
9 | - <package id="Microsoft.Bcl.AsyncInterfaces" version="6.0.0" targetFramework="net48" /> | |
10 | - <package id="Microsoft.Bcl.HashCode" version="1.1.1" targetFramework="net48" /> | |
11 | - <package id="MySql.Data" version="8.0.29" targetFramework="net48" /> | |
12 | - <package id="NLog" version="5.0.0" targetFramework="net48" /> | |
13 | - <package id="Npgsql" version="6.0.4" targetFramework="net48" /> | |
14 | - <package id="NPoco" version="5.3.2" targetFramework="net48" /> | |
15 | - <package id="SimpleInjector" version="5.3.3" targetFramework="net48" /> | |
16 | - <package id="Stub.System.Data.SQLite.Core.NetFramework" version="1.0.115.5" targetFramework="net48" /> | |
17 | - <package id="System.Buffers" version="4.5.1" targetFramework="net48" /> | |
18 | - <package id="System.Collections.Immutable" version="6.0.0" targetFramework="net48" /> | |
19 | - <package id="System.Data.SQLite" version="1.0.115.5" targetFramework="net48" /> | |
20 | - <package id="System.Data.SQLite.Core" version="1.0.115.5" targetFramework="net48" /> | |
21 | - <package id="System.Data.SQLite.EF6" version="1.0.115.5" targetFramework="net48" /> | |
22 | - <package id="System.Data.SQLite.Linq" version="1.0.115.5" targetFramework="net48" /> | |
23 | - <package id="System.Diagnostics.DiagnosticSource" version="6.0.0" targetFramework="net48" /> | |
24 | - <package id="System.Linq.Async" version="6.0.1" targetFramework="net48" /> | |
25 | - <package id="System.Memory" version="4.5.4" targetFramework="net48" /> | |
26 | - <package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net48" /> | |
27 | - <package id="System.Reflection.Emit.Lightweight" version="4.7.0" targetFramework="net48" /> | |
28 | - <package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" targetFramework="net48" /> | |
29 | - <package id="System.Text.Encodings.Web" version="6.0.0" targetFramework="net48" /> | |
30 | - <package id="System.Text.Json" version="6.0.4" targetFramework="net48" /> | |
31 | - <package id="System.Threading.Channels" version="6.0.0" targetFramework="net48" /> | |
32 | - <package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net48" /> | |
33 | - <package id="System.ValueTuple" version="4.5.0" targetFramework="net48" /> | |
34 | -</packages> | |
\ No newline at end of file |