-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackages.targets
76 lines (72 loc) · 4.4 KB
/
Packages.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<Project>
<!-- External dependencies, will be marked as requirements (equal or higher) in the NuGet packages. Should target lowest possible major versions -->
<ItemGroup>
<!-- All -->
<PackageReference Update="FSharp.Core" Version="4.7.0" />
<!-- Fabulous.CodeGen -->
<PackageReference Update="Microsoft.FSharpLu.Json" Version="0.11.6" />
<PackageReference Update="Mono.Cecil" Version="0.11.2" />
<!-- Fabulous.LiveUpdate -->
<PackageReference Update="Newtonsoft.Json" Version="12.0.1" />
<!-- Fabulous.XamarinForms -->
<PackageReference Update="Xamarin.Forms" Version="5.0.0.1874" />
<PackageReference Update="System.Buffers" Version="4.5.1" />
<!-- Fabulous.XamarinForms Extensions -->
<PackageReference Update="Xamarin.Forms.Maps" Version="5.0.0.1874" />
<PackageReference Update="OxyPlot.Xamarin.Forms" Version="1.0.0" />
<PackageReference Update="SkiaSharp.Views.Forms" Version="1.68.1" />
<PackageReference Update="Plugin.MediaManager.Forms" Version="1.0.0" />
<PackageReference Update="Xamarin.FFImageLoading.Forms" Version="2.4.11.982" />
</ItemGroup>
<!-- Internal dependencies, can be updated without impacting users -->
<ItemGroup>
<!-- Shared dependencies -->
<PackageReference Update="Microsoft.SourceLink.Github" Version="1.0.0" PrivateAssets="All" />
<!-- Fabulous.Cli -->
<PackageReference Update="Dotnet.ProjInfo" Version="0.9.0" /> <!-- Locked to 0.9.0 for FSharp.Compiler.PortaCode -->
<PackageReference Update="FSharp.Compiler.Service" Version="25.0.1" /> <!-- Locked to 25.0.1 for FSharp.Compiler.PortaCode -->
<!-- Fabulous.XamarinForms.Generator -->
<PackageReference Update="CommandLineParser.FSharp" Version="2.7.82" />
<!-- Unit tests -->
<PackageReference Update="FsUnit" Version="3.8.0" />
<PackageReference Update="Microsoft.CSharp" Version="4.5.0" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.5.0" />
<PackageReference Update="NUnit3TestAdapter" Version="3.16.1" />
<PackageReference Update="System.Reflection.Emit.ILGeneration" Version="4.7.0" />
<PackageReference Update="System.Reflection.Emit.Lightweight" Version="4.7.0" />
<PackageReference Update="NETStandard.Library" Version="2.0.3" />
</ItemGroup>
<!-- Tools and samples -->
<ItemGroup Condition=" '$(IsPackable)' == 'false' ">
<PackageReference Update="FSharp.Core" Version="5.0.0" />
<PackageReference Update="Xamarin.Forms.PancakeView" Version="2.3.0.759" />
<PackageReference Update="FSharp.Data" Version="3.3.3" />
<PackageReference Update="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.2.10" />
<PackageReference Update="SkiaSharp.Views.Forms.WPF" Version="1.68.1.1" />
<PackageReference Update="Xamarin.Essentials" Version="1.5.1" />
<PackageReference Update="Xamarin.Forms.Platform.WPF" Version="5.0.0.1874" />
<PackageReference Update="Xamarin.Forms.Maps.WPF" Version="5.0.0.1874" />
</ItemGroup>
<!--
Replace the versions of all ProjectReferences nodes during dotnet pack with a pre-computed bound (see build.fsx)
Currently, the ProjectReference nodes don't support setting an upper bound for the version, which results in a `>= X.Y.Z` constraint in the NuGet package.
To ensure only binary compatible packages are used together, this little hack replaces the default version value of ProjectReference with a proper bound.
-->
<Target Name="_BoundedProjectReferencesVersion" AfterTargets="_GetProjectReferenceVersions" Condition=" '$(IsPacking)' == 'true' ">
<ItemGroup>
<_ProjectReferencesWithBounds Include="@(_ProjectReferencesWithVersions)">
<ProjectVersion>$(VersionBounds)</ProjectVersion>
</_ProjectReferencesWithBounds>
</ItemGroup>
<ItemGroup>
<_ProjectReferencesWithVersions Remove="@(_ProjectReferencesWithVersions)" />
<_ProjectReferencesWithVersions Include="@(_ProjectReferencesWithBounds)" />
</ItemGroup>
</Target>
<PropertyGroup>
<RestoreSources>
$(RestoreSources);
https://api.nuget.org/v3/index.json;
</RestoreSources>
</PropertyGroup>
</Project>