Migrate projects to use PackageReferences. (#147)

This makes it easier to update package versions when need be, since the
version isn't embedded in a path in the csproj.
This commit is contained in:
Rolf Bjarne Kvinge 2023-01-25 10:36:10 +01:00 коммит произвёл GitHub
Родитель 888d27ed96
Коммит aa700e5418
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
15 изменённых файлов: 20 добавлений и 101 удалений

Просмотреть файл

@ -57,21 +57,11 @@
<Reference Include="System.Core" />
<Reference Include="Xamarin.Mac" />
<Reference Include="System.Net.Http" />
<Reference Include="Newtonsoft.Json">
<HintPath>..\packages\Newtonsoft.Json.7.0.1\lib\portable-net40+sl5+wp80+win8+wpa81\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http.Primitives">
<HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\portable-net45+win8\System.Net.Http.Primitives.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http.Extensions">
<HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\portable-net45+win8\System.Net.Http.Extensions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.WindowsAzure.Mobile">
<HintPath>..\packages\Microsoft.Azure.Mobile.Client.3.0.3\lib\net45\Microsoft.WindowsAzure.Mobile.dll</HintPath>
</Reference>
<Reference Include="Microsoft.WindowsAzure.Mobile.Ext">
<HintPath>..\packages\Microsoft.Azure.Mobile.Client.3.0.3\lib\net45\Microsoft.WindowsAzure.Mobile.Ext.dll</HintPath>
</Reference>
<PackageReference Include="Microsoft.Azure.Mobile.Client" Version="3.0.3" />
<PackageReference Include="Microsoft.Bcl" Version="1.1.10" />
<PackageReference Include="Microsoft.Bcl.Build" Version="1.0.21" />
<PackageReference Include="Microsoft.Net.Http" Version="2.2.29" />
<PackageReference Include="Newtonsoft.Json" Version="7.0.1" />
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />

Просмотреть файл

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Azure.Mobile.Client" version="3.0.3" targetFramework="xamarinmac20" />
<package id="Microsoft.Bcl" version="1.1.10" targetFramework="xamarinmac20" />
<package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="xamarinmac20" />
<package id="Microsoft.Net.Http" version="2.2.29" targetFramework="xamarinmac20" />
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="xamarinmac20" />
</packages>

Просмотреть файл

@ -34,13 +34,8 @@
<Reference Include="System.Core" />
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
<Reference Include="nunit.framework">
<HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="Mono.Addins">
<HintPath>..\packages\Mono.Addins.1.3.8\lib\net45\Mono.Addins.dll</HintPath>
<Private>False</Private>
</Reference>
<PackageReference Include="nunit.framework" Version="2.6.4" />
<PackageReference Include="Mono.Addins" Version="1.3.8" Private="false" />
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />

Просмотреть файл

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Mono.Addins" version="1.3.8" targetFramework="net45" />
</packages>

Просмотреть файл

@ -35,12 +35,8 @@
<Reference Include="System.Core" />
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
<Reference Include="nunit.framework">
<HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="Mono.Addins">
<HintPath>..\packages\Mono.Addins.1.3.8\lib\net45\Mono.Addins.dll</HintPath>
</Reference>
<PackageReference Include="nunit.framework" Version="2.6.4" />
<PackageReference Include="Mono.Addins" Version="1.3.8" />
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />

Просмотреть файл

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Mono.Addins" version="1.3.8" targetFramework="net45" />
<package id="NUnit" version="2.6.4" targetFramework="net45" />
</packages>

Просмотреть файл

@ -75,10 +75,7 @@
<Reference Include="System.Core" />
<Reference Include="Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065" />
<Reference Include="System.Net.Http" />
<Reference Include="Mono.Addins">
<HintPath>packages\Mono.Addins.1.3.8\lib\net45\Mono.Addins.dll</HintPath>
<Private>False</Private>
</Reference>
<PackageReference Include="Mono.Addins" Version="1.3.8" Private="false" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Mono.Addins" version="1.3.8" targetFramework="net45" />
</packages>

Просмотреть файл

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="sqlite-net" version="1.0.8" targetFramework="xamarinmac20" />
</packages>

Просмотреть файл

@ -54,24 +54,14 @@
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="Xamarin.Mac" />
<Reference Include="System.Reactive.Interfaces">
<HintPath>..\packages\Rx-Interfaces.2.2.5\lib\portable-windows8+net45+wp8\System.Reactive.Interfaces.dll</HintPath>
</Reference>
<Reference Include="System.Reactive.Core">
<HintPath>..\packages\Rx-Core.2.2.5\lib\portable-windows8+net45+wp8\System.Reactive.Core.dll</HintPath>
</Reference>
<Reference Include="System.Reactive.Linq">
<HintPath>..\packages\Rx-Linq.2.2.5\lib\portable-windows8+net45+wp8\System.Reactive.Linq.dll</HintPath>
</Reference>
<Reference Include="System.Reactive.PlatformServices">
<HintPath>..\packages\Rx-PlatformServices.2.2.5\lib\portable-windows8+net45+wp8\System.Reactive.PlatformServices.dll</HintPath>
</Reference>
<Reference Include="ReactiveUI">
<HintPath>..\packages\reactiveui-core.6.5.0\lib\Xamarin.Mac10\ReactiveUI.dll</HintPath>
</Reference>
<Reference Include="Splat">
<HintPath>..\packages\Splat.1.6.2\lib\Xamarin.Mac10\Splat.dll</HintPath>
</Reference>
<PackageReference Include="reactiveui" Version="6.5.0" />
<PackageReference Include="reactiveui-core" Version="6.5.0" />
<PackageReference Include="Rx-Core" Version="2.2.5" />
<PackageReference Include="Rx-Interfaces" Version="2.2.5" />
<PackageReference Include="Rx-Linq" Version="2.2.5" />
<PackageReference Include="Rx-Main" Version="2.2.5" />
<PackageReference Include="Rx-PlatformServices" Version="2.2.5" />
<PackageReference Include="Splat" Version="1.6.2" />
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />

Просмотреть файл

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="reactiveui" version="6.5.0" targetFramework="xamarinmac20" />
<package id="reactiveui-core" version="6.5.0" targetFramework="xamarinmac20" />
<package id="Rx-Core" version="2.2.5" targetFramework="xamarinmac20" />
<package id="Rx-Interfaces" version="2.2.5" targetFramework="xamarinmac20" />
<package id="Rx-Linq" version="2.2.5" targetFramework="xamarinmac20" />
<package id="Rx-Main" version="2.2.5" targetFramework="xamarinmac20" />
<package id="Rx-PlatformServices" version="2.2.5" targetFramework="xamarinmac20" />
<package id="Splat" version="1.6.2" targetFramework="xamarinmac20" />
</packages>

Просмотреть файл

@ -74,10 +74,7 @@
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="Xamarin.Mac" />
<Reference Include="Newtonsoft.Json">
<HintPath>..\packages\Newtonsoft.Json.8.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>False</Private>
</Reference>
<PackageReference Include="Newtonsoft.Json" Version="8.0.2" Private="false" />
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />

Просмотреть файл

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="8.0.2" targetFramework="net45" />
</packages>

Просмотреть файл

@ -73,9 +73,7 @@
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="Xamarin.Mac" />
<Reference Include="Newtonsoft">
<HintPath>..\packages\Newtonsoft.Json.6.0.6\lib\portable-net40+sl5+wp80+win8+wpa81\Newtonsoft.Json.dll</HintPath>
</Reference>
<PackageReference Include="Newtonsoft.Json" Version="6.0.6" />
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />

Просмотреть файл

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="6.0.6" targetFramework="xamarinmac20" />
</packages>