This closes #61
This commit is contained in:
parent
235d1f6bf1
commit
8aa329bbd0
4
.gitattributes
vendored
Normal file
4
.gitattributes
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Set default behavior to automatically normalize line endings.
|
||||||
|
###############################################################################
|
||||||
|
* text=auto
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -4,3 +4,7 @@ packages
|
|||||||
*.suo
|
*.suo
|
||||||
*.nupkg
|
*.nupkg
|
||||||
*.DotSettings.user
|
*.DotSettings.user
|
||||||
|
*.xproj.user
|
||||||
|
.vs
|
||||||
|
*.lock.json
|
||||||
|
*.log
|
@ -2,7 +2,7 @@
|
|||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>Flurl.Http</id>
|
<id>Flurl.Http</id>
|
||||||
<version>0.7.0</version>
|
<version>0.8.0</version>
|
||||||
<title>Flurl.Http</title>
|
<title>Flurl.Http</title>
|
||||||
<authors>Todd Menier</authors>
|
<authors>Todd Menier</authors>
|
||||||
<projectUrl>http://tmenier.github.io/Flurl</projectUrl>
|
<projectUrl>http://tmenier.github.io/Flurl</projectUrl>
|
||||||
@ -13,6 +13,7 @@
|
|||||||
A fluent, portable, testable HTTP client library that extends Flurl's URL builder chain.
|
A fluent, portable, testable HTTP client library that extends Flurl's URL builder chain.
|
||||||
</description>
|
</description>
|
||||||
<releaseNotes>
|
<releaseNotes>
|
||||||
|
0.8.0 - Support for the NETCore (github #61)
|
||||||
0.7.0 - BREAKING CHANGES: https://github.com/tmenier/Flurl/wiki/Release-Notes
|
0.7.0 - BREAKING CHANGES: https://github.com/tmenier/Flurl/wiki/Release-Notes
|
||||||
0.6.4 - nuspec fix for Xamarin/non-PCL, AllowHttpStatus overloads with HttpStatusCode enum.
|
0.6.4 - nuspec fix for Xamarin/non-PCL, AllowHttpStatus overloads with HttpStatusCode enum.
|
||||||
0.6.3 - Updated Flurl dependency to 1.0.9.
|
0.6.3 - Updated Flurl dependency to 1.0.9.
|
||||||
@ -34,24 +35,34 @@
|
|||||||
0.2.1 - Added support for getting streams and byte arrays.
|
0.2.1 - Added support for getting streams and byte arrays.
|
||||||
0.2.0 - Added .NET 4.5 specific version with fewer dependencies.
|
0.2.0 - Added .NET 4.5 specific version with fewer dependencies.
|
||||||
0.1.3 - Added support for HEAD requests via HeadAsync (thanks to @benb1n).
|
0.1.3 - Added support for HEAD requests via HeadAsync (thanks to @benb1n).
|
||||||
</releaseNotes>
|
</releaseNotes>
|
||||||
<tags>httpclient rest json http fluent portable url uri tdd assert async</tags>
|
<tags>httpclient rest json http fluent portable url uri tdd assert async</tags>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<group targetFramework="net45">
|
<group targetFramework="net45">
|
||||||
<dependency id="Newtonsoft.Json" version="6.0.3" />
|
<dependency id="Newtonsoft.Json" version="6.0.3" />
|
||||||
<dependency id="Flurl" version="1.0.10" />
|
<dependency id="Flurl" version="1.1.0" />
|
||||||
</group>
|
</group>
|
||||||
<group targetFramework="portable-net45+sl50+win+wpa81+wp80">
|
<group targetFramework="portable-net45+sl50+win+wpa81+wp80">
|
||||||
<dependency id="Microsoft.Bcl.Async" version="1.0.168" />
|
<dependency id="Microsoft.Bcl.Async" version="1.0.168" />
|
||||||
<dependency id="Microsoft.Net.Http" version="2.2.22" />
|
<dependency id="Microsoft.Net.Http" version="2.2.22" />
|
||||||
<dependency id="PCLStorage" version="0.9.6" />
|
<dependency id="PCLStorage" version="0.9.6" />
|
||||||
<dependency id="Newtonsoft.Json" version="6.0.3" />
|
<dependency id="Newtonsoft.Json" version="6.0.3" />
|
||||||
<dependency id="Flurl" version="1.0.10" />
|
<dependency id="Flurl" version="1.1.0" />
|
||||||
|
</group>
|
||||||
|
<group targetFramework=".NETPlatform5.4">
|
||||||
|
<dependency id="Flurl" version="1.1.0" />
|
||||||
|
<dependency id="Newtonsoft.Json" version="8.0.3" />
|
||||||
|
<dependency id="System.Dynamic.Runtime" version="4.0.10" />
|
||||||
|
<dependency id="System.IO.FileSystem" version="4.0.0" />
|
||||||
|
<dependency id="System.Net.Http" version="4.0.0" />
|
||||||
|
<dependency id="System.Text.RegularExpressions" version="4.0.10" />
|
||||||
|
<dependency id="System.Threading" version="4.0.10" />
|
||||||
</group>
|
</group>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</metadata>
|
</metadata>
|
||||||
<files>
|
<files>
|
||||||
<file src="..\Flurl.Http.NET45\bin\Release\Flurl.Http.*" target="lib\net45" />
|
<file src="..\Flurl.Http.NET45\bin\Release\Flurl.Http.*" target="lib\net45" />
|
||||||
<file src="..\Flurl.Http.PCL\bin\Release\Flurl.Http.*" target="lib\portable-net45+sl50+win+wpa81+wp80" />
|
<file src="..\Flurl.Http.PCL\bin\Release\Flurl.Http.*" target="lib\portable-net45+sl50+win+wpa81+wp80" />
|
||||||
|
<file src="..\artifacts\bin\Flurl.Http.NETCore\Release\dotnet5.4\Flurl.Http.*" target="lib\dotnet5.4" />
|
||||||
</files>
|
</files>
|
||||||
</package>
|
</package>
|
@ -2,7 +2,7 @@
|
|||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>Flurl</id>
|
<id>Flurl</id>
|
||||||
<version>1.0.10</version>
|
<version>1.1.0</version>
|
||||||
<title>Flurl</title>
|
<title>Flurl</title>
|
||||||
<authors>Todd Menier</authors>
|
<authors>Todd Menier</authors>
|
||||||
<projectUrl>http://tmenier.github.io/Flurl</projectUrl>
|
<projectUrl>http://tmenier.github.io/Flurl</projectUrl>
|
||||||
@ -13,6 +13,7 @@
|
|||||||
A fluent, portable URL builder. To make HTTP calls off the fluent chain, check out Flurl.Http.
|
A fluent, portable URL builder. To make HTTP calls off the fluent chain, check out Flurl.Http.
|
||||||
</description>
|
</description>
|
||||||
<releaseNotes>
|
<releaseNotes>
|
||||||
|
1.1.0 - Support for the NETCore (github #61)
|
||||||
1.0.10 - More flexible kv parsing (github pr #16)
|
1.0.10 - More flexible kv parsing (github pr #16)
|
||||||
1.0.9 - Decode + as space, optionally encode space as + (github #41)
|
1.0.9 - Decode + as space, optionally encode space as + (github #41)
|
||||||
1.0.8 - Don't trim trailing slash (github #37)
|
1.0.8 - Don't trim trailing slash (github #37)
|
||||||
@ -29,8 +30,15 @@
|
|||||||
0.2.0 - Added PCL support.
|
0.2.0 - Added PCL support.
|
||||||
</releaseNotes>
|
</releaseNotes>
|
||||||
<tags>fluent portable url uri querystring builder</tags>
|
<tags>fluent portable url uri querystring builder</tags>
|
||||||
|
<dependencies>
|
||||||
|
<group targetFramework=".NETPlatform5.4">
|
||||||
|
<dependency id="System.Linq" version="4.0.0" />
|
||||||
|
<dependency id="System.Reflection.TypeExtensions" version="4.0.0" />
|
||||||
|
</group>
|
||||||
|
</dependencies>
|
||||||
</metadata>
|
</metadata>
|
||||||
<files>
|
<files>
|
||||||
<file src="..\Flurl\bin\Release\Flurl.*" target="lib\portable-net40+sl50+win+wpa81+wp80+MonoAndroid10+MonoTouch10" />
|
<file src="..\Flurl\bin\Release\Flurl.*" target="lib\portable-net40+sl50+win+wpa81+wp80+MonoAndroid10+MonoTouch10" />
|
||||||
|
<file src="..\artifacts\bin\Flurl.NETCore\Release\dotnet5.4\Flurl.*" target="lib\dotnet5.4" />
|
||||||
</files>
|
</files>
|
||||||
</package>
|
</package>
|
BIN
Build/NuGet.exe
BIN
Build/NuGet.exe
Binary file not shown.
9
Build/Publish.cmd
Normal file
9
Build/Publish.cmd
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
set workDir=%1
|
||||||
|
set publishSpec=%2
|
||||||
|
set publishDir=%3
|
||||||
|
|
||||||
|
cd %workDir%
|
||||||
|
if not exist "%publishDir%" mkdir "%publishDir%"
|
||||||
|
call NuGet.exe pack %publishSpec% -OutputDirectory %publishDir%
|
22
Flurl.Http.NETCore/Flurl.Http.NETCore.xproj
Normal file
22
Flurl.Http.NETCore/Flurl.Http.NETCore.xproj
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
|
||||||
|
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>52c8c00d-9bd2-4642-b103-f0a8c564fe05</ProjectGuid>
|
||||||
|
<RootNamespace>Flurl.Http.NETCore</RootNamespace>
|
||||||
|
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
|
||||||
|
<OutputPath Condition="'$(OutputPath)'=='' ">..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
|
<TypeScriptCompileBlocked>True</TypeScriptCompileBlocked>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||||
|
<ProduceOutputsOnBuild>True</ProduceOutputsOnBuild>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||||
|
</Project>
|
31
Flurl.Http.NETCore/project.json
Normal file
31
Flurl.Http.NETCore/project.json
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"title": "Flurl.Http.NETCore",
|
||||||
|
|
||||||
|
"dependencies": {
|
||||||
|
"Flurl": "1.1.0",
|
||||||
|
"Newtonsoft.Json": "8.0.3"
|
||||||
|
},
|
||||||
|
|
||||||
|
"compile": [ "../Flurl.Http.Shared/**/*.cs", "../Flurl.Http.NET45/**/*.cs" ],
|
||||||
|
"compileExclude": [ "../**/AssemblyInfo.cs" ],
|
||||||
|
|
||||||
|
"configurations": {
|
||||||
|
"Release": {
|
||||||
|
"compilationOptions": {
|
||||||
|
"optimize": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"frameworks": {
|
||||||
|
"dotnet54": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Dynamic.Runtime": "4.0.10",
|
||||||
|
"System.IO.FileSystem": "4.0.0",
|
||||||
|
"System.Net.Http": "4.0.0",
|
||||||
|
"System.Text.RegularExpressions": "4.0.10",
|
||||||
|
"System.Threading": "4.0.10"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -101,7 +101,7 @@
|
|||||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PostBuildEvent>if $(ConfigurationName) == Release (
|
<PostBuildEvent>if $(ConfigurationName) == Release (
|
||||||
"$(SolutionDir)Build\nuget.exe" pack "$(SolutionDir)Build\Flurl.Http.nuspec" -o "$(SolutionDir)Publish" -IncludeReferencedProjects
|
call $(SolutionDir)Build\publish.cmd $(SolutionDir)Build\ Flurl.Http.nuspec $(SolutionDir)Publish >> $(SolutionDir)Build\publish.log
|
||||||
)</PostBuildEvent>
|
)</PostBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
|
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
|
||||||
|
22
Flurl.NETCore/Flurl.NETCore.xproj
Normal file
22
Flurl.NETCore/Flurl.NETCore.xproj
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
|
||||||
|
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>52ce5e08-8f02-4f75-8b64-8e00e3262a0f</ProjectGuid>
|
||||||
|
<RootNamespace>Flurl.NETCore</RootNamespace>
|
||||||
|
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
|
||||||
|
<OutputPath Condition="'$(OutputPath)'=='' ">..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
|
<TypeScriptCompileBlocked>True</TypeScriptCompileBlocked>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||||
|
<ProduceOutputsOnBuild>True</ProduceOutputsOnBuild>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||||
|
</Project>
|
77
Flurl.NETCore/Util/CommonExtensions.cs
Normal file
77
Flurl.NETCore/Util/CommonExtensions.cs
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Globalization;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
namespace Flurl.Util
|
||||||
|
{
|
||||||
|
public static class CommonExtensions
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Converts an object's public properties to a collection of string-based key-value pairs. If the object happens
|
||||||
|
/// to be an IDictionary, the IDictionary's keys and values converted to strings and returned.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="obj">The object to parse into key-value pairs</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static IEnumerable<KeyValuePair<string, object>> ToKeyValuePairs(this object obj)
|
||||||
|
{
|
||||||
|
if (obj == null)
|
||||||
|
throw new ArgumentNullException(nameof(obj));
|
||||||
|
|
||||||
|
return
|
||||||
|
(obj is string) ? QueryParamCollection.Parse((string)obj) :
|
||||||
|
(obj is IEnumerable) ? CollectionToKV((IEnumerable)obj) :
|
||||||
|
ObjectToKV(obj);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns a string that represents the current object, using CultureInfo.InvariantCulture where possible.
|
||||||
|
/// </summary>
|
||||||
|
public static string ToInvariantString(this object obj)
|
||||||
|
{
|
||||||
|
// inspired by: http://stackoverflow.com/a/19570016/62600
|
||||||
|
|
||||||
|
var c = obj as IConvertible;
|
||||||
|
if (c != null)
|
||||||
|
return c.ToString(CultureInfo.InvariantCulture);
|
||||||
|
|
||||||
|
var f = obj as IFormattable;
|
||||||
|
return f?.ToString(null, CultureInfo.InvariantCulture) ?? obj.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static IEnumerable<KeyValuePair<string, object>> ObjectToKV(object obj)
|
||||||
|
{
|
||||||
|
return from prop in obj.GetType().GetProperties()
|
||||||
|
let val = prop.GetValue(obj, null)
|
||||||
|
select new KeyValuePair<string, object>(prop.Name, val);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static IEnumerable<KeyValuePair<string, object>> CollectionToKV(IEnumerable col)
|
||||||
|
{
|
||||||
|
// Accepts KeyValuePairs or any aribitray types that contain a property called "Key" or "Name" and a property called "Value".
|
||||||
|
foreach (var item in col)
|
||||||
|
{
|
||||||
|
if (item == null)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
var type = item.GetType();
|
||||||
|
var keyProp = type.GetProperty("Key") ?? type.GetProperty("key") ?? type.GetProperty("Name") ?? type.GetProperty("name");
|
||||||
|
if (keyProp == null)
|
||||||
|
throw new ArgumentException("Cannot parse " + type.Name + " to key-value pair. Type must contain a property called 'Key' or 'Name'.");
|
||||||
|
|
||||||
|
var valProp = type.GetProperty("Value") ?? type.GetProperty("value");
|
||||||
|
if (valProp == null)
|
||||||
|
throw new ArgumentException("Cannot parse " + type.Name + " to key-value pair. Type must contain a property called 'Value'.");
|
||||||
|
|
||||||
|
var key = keyProp.GetValue(item, null);
|
||||||
|
if (key == null)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
var val = valProp.GetValue(item, null);
|
||||||
|
yield return new KeyValuePair<string, object>(key.ToInvariantString(), val);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
23
Flurl.NETCore/project.json
Normal file
23
Flurl.NETCore/project.json
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"title": "Flurl.NETCore",
|
||||||
|
|
||||||
|
"compile": [ "../Flurl/**/*.cs" ],
|
||||||
|
"compileExclude": [ "../**/AssemblyInfo.cs", "../Flurl/Util/CommonExtensions.cs" ],
|
||||||
|
|
||||||
|
"configurations": {
|
||||||
|
"Release": {
|
||||||
|
"compilationOptions": {
|
||||||
|
"optimize": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"frameworks": {
|
||||||
|
"dotnet54": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Linq": "4.0.0",
|
||||||
|
"System.Reflection.TypeExtensions": "4.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
81
Flurl.sln
81
Flurl.sln
@ -1,12 +1,13 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio 2013
|
# Visual Studio 14
|
||||||
VisualStudioVersion = 12.0.31101.0
|
VisualStudioVersion = 14.0.24720.0
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{EB46FFA3-B1A5-4137-8B5F-8CC9F7422A12}"
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{EB46FFA3-B1A5-4137-8B5F-8CC9F7422A12}"
|
||||||
ProjectSection(SolutionItems) = preProject
|
ProjectSection(SolutionItems) = preProject
|
||||||
Build\Flurl.Http.nuspec = Build\Flurl.Http.nuspec
|
Build\Flurl.Http.nuspec = Build\Flurl.Http.nuspec
|
||||||
Build\Flurl.nuspec = Build\Flurl.nuspec
|
Build\Flurl.nuspec = Build\Flurl.nuspec
|
||||||
|
global.json = global.json
|
||||||
README.md = README.md
|
README.md = README.md
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
@ -20,9 +21,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Flurl.Http.NET45", "Flurl.H
|
|||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Flurl", "Flurl\Flurl.csproj", "{70A34167-759E-4902-82E0-E6A84C2CE46F}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Flurl", "Flurl\Flurl.csproj", "{70A34167-759E-4902-82E0-E6A84C2CE46F}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F} = {52CE5E08-8F02-4F75-8B64-8E00E3262A0F}
|
||||||
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Flurl.Http.PCL", "Flurl.Http.PCL\Flurl.Http.PCL.csproj", "{4C163DD1-318A-42C0-ACF2-9E0D766D8900}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Flurl.Http.PCL", "Flurl.Http.PCL\Flurl.Http.PCL.csproj", "{4C163DD1-318A-42C0-ACF2-9E0D766D8900}"
|
||||||
ProjectSection(ProjectDependencies) = postProject
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05} = {52C8C00D-9BD2-4642-B103-F0A8C564FE05}
|
||||||
|
{E7001E27-E952-4E1A-A391-B14ADAE2A1A9} = {E7001E27-E952-4E1A-A391-B14ADAE2A1A9}
|
||||||
{0571F8FF-1649-433C-97F3-7341942AC886} = {0571F8FF-1649-433C-97F3-7341942AC886}
|
{0571F8FF-1649-433C-97F3-7341942AC886} = {0571F8FF-1649-433C-97F3-7341942AC886}
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
@ -38,6 +44,13 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PackageTester.PCL", "Packag
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Flurl.Http.CodeGen", "Flurl.Http.CodeGen\Flurl.Http.CodeGen.csproj", "{0571F8FF-1649-433C-97F3-7341942AC886}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Flurl.Http.CodeGen", "Flurl.Http.CodeGen\Flurl.Http.CodeGen.csproj", "{0571F8FF-1649-433C-97F3-7341942AC886}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Flurl.Http.NETCore", "Flurl.Http.NETCore\Flurl.Http.NETCore.xproj", "{52C8C00D-9BD2-4642-B103-F0A8C564FE05}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{70A34167-759E-4902-82E0-E6A84C2CE46F} = {70A34167-759E-4902-82E0-E6A84C2CE46F}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Flurl.NETCore", "Flurl.NETCore\Flurl.NETCore.xproj", "{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
||||||
Test\Flurl.Test.Shared\Flurl.Test.Shared.projitems*{4c7c0861-84f6-436e-8fa6-4c318b336a7b}*SharedItemsImports = 13
|
Test\Flurl.Test.Shared\Flurl.Test.Shared.projitems*{4c7c0861-84f6-436e-8fa6-4c318b336a7b}*SharedItemsImports = 13
|
||||||
@ -258,6 +271,70 @@ Global
|
|||||||
{0571F8FF-1649-433C-97F3-7341942AC886}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
{0571F8FF-1649-433C-97F3-7341942AC886}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
||||||
{0571F8FF-1649-433C-97F3-7341942AC886}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
{0571F8FF-1649-433C-97F3-7341942AC886}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||||
{0571F8FF-1649-433C-97F3-7341942AC886}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
{0571F8FF-1649-433C-97F3-7341942AC886}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Ad-Hoc|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Ad-Hoc|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.AppStore|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.AppStore|iPhone.ActiveCfg = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.AppStore|iPhone.Build.0 = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.AppStore|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.AppStore|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Debug|iPhone.ActiveCfg = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Debug|iPhone.Build.0 = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Release|iPhone.ActiveCfg = Release|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Release|iPhone.Build.0 = Release|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||||
|
{52C8C00D-9BD2-4642-B103-F0A8C564FE05}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Ad-Hoc|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Ad-Hoc|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.AppStore|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.AppStore|iPhone.ActiveCfg = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.AppStore|iPhone.Build.0 = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.AppStore|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.AppStore|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Debug|iPhone.ActiveCfg = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Debug|iPhone.Build.0 = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Release|iPhone.ActiveCfg = Release|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Release|iPhone.Build.0 = Release|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||||
|
{52CE5E08-8F02-4F75-8B64-8E00E3262A0F}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PostBuildEvent>if $(ConfigurationName) == Release (
|
<PostBuildEvent>if $(ConfigurationName) == Release (
|
||||||
"$(SolutionDir)Build\nuget.exe" pack "$(SolutionDir)Build\Flurl.nuspec" -o "$(SolutionDir)Publish" -IncludeReferencedProjects
|
call $(SolutionDir)Build\publish.cmd $(SolutionDir)Build\ Flurl.nuspec $(SolutionDir)Publish >> $(SolutionDir)Build\publish.log
|
||||||
)</PostBuildEvent>
|
)</PostBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
[assembly: AssemblyTitle("Flurl")]
|
[assembly: AssemblyTitle("Flurl")]
|
||||||
[assembly: AssemblyDescription("A fluent, portable URL builder.")]
|
[assembly: AssemblyDescription("A fluent, portable URL builder.")]
|
||||||
[assembly: AssemblyCopyright("Copyright © Todd Menier 2015")]
|
[assembly: AssemblyCopyright("Copyright © Todd Menier 2015")]
|
||||||
[assembly: AssemblyVersion("1.0.10")]
|
[assembly: AssemblyVersion("1.1.0")]
|
6
global.json
Normal file
6
global.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"projects": [ ".", "test" ],
|
||||||
|
"sdk": {
|
||||||
|
"version": "1.0.0-rc1-update1"
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user