Skip to content

Commit

Permalink
Fix references and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewvk committed Aug 21, 2017
1 parent 3a41e51 commit a7b6226
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 13 deletions.
10 changes: 7 additions & 3 deletions Blocks/nuget/CodeJam.Blocks.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,12 @@
<file src="..\src\bin\Release.4.6\CodeJam.Blocks.pdb" target="lib\net46" />
<file src="..\src\bin\Release.4.6\CodeJam.Blocks.xml" target="lib\net46" />

<file src="..\src\bin\Release.4.6\CodeJam.Blocks.dll" target="lib\net47" />
<file src="..\src\bin\Release.4.6\CodeJam.Blocks.pdb" target="lib\net47" />
<file src="..\src\bin\Release.4.6\CodeJam.Blocks.xml" target="lib\net47" />
<file src="..\src\bin\Release.4.6.1\CodeJam.Blocks.dll" target="lib\net461" />
<file src="..\src\bin\Release.4.6.1\CodeJam.Blocks.pdb" target="lib\net461" />
<file src="..\src\bin\Release.4.6.1\CodeJam.Blocks.xml" target="lib\net461" />

<file src="..\src\bin\Release.4.7\CodeJam.Blocks.dll" target="lib\net47" />
<file src="..\src\bin\Release.4.7\CodeJam.Blocks.pdb" target="lib\net47" />
<file src="..\src\bin\Release.4.7\CodeJam.Blocks.xml" target="lib\net47" />
</files>
</package>
18 changes: 14 additions & 4 deletions Blocks/src/CodeJam.Blocks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@
</ItemGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.ValueTuple, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.ValueTuple.4.4.0\lib\netstandard1.0\System.ValueTuple.dll</HintPath>
</Reference>
<Reference Include="System.XML" />
<Reference Include="System.Xml.Linq" />
</ItemGroup>
Expand All @@ -108,7 +105,20 @@
</When>
</Choose>
<Choose>
<When Condition="!$(DefineConstants.Contains('FW40')) AND $(DefineConstants.Contains('FW462'))" />
<When Condition="!$(DefineConstants.Contains('FW40')) AND $(DefineConstants.Contains('FW46'))">
<ItemGroup>
<Reference Include="System.ValueTuple, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.ValueTuple.4.3.1\lib\netstandard1.0\System.ValueTuple.dll</HintPath>
</Reference>
</ItemGroup>
</When>
<When Condition="!$(DefineConstants.Contains('FW46')) AND $(DefineConstants.Contains('FW462'))">
<ItemGroup>
<Reference Include="System.ValueTuple, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.ValueTuple.4.4.0\lib\netstandard1.0\System.ValueTuple.dll</HintPath>
</Reference>
</ItemGroup>
</When>
</Choose>
<ItemGroup>
<None Include="Compile.cmd">
Expand Down
2 changes: 1 addition & 1 deletion Blocks/src/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="System.ValueTuple" version="4.4.0" targetFramework="net452" />
<package id="System.ValueTuple" version="4.4.0" targetFramework="net461" />
</packages>
7 changes: 7 additions & 0 deletions Main/nuget/CodeJam.Main.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
<group targetFramework="net40">
</group>
<group targetFramework="net45">
<dependency id="System.ValueTuple" version="4.3.1" />
</group>
<group targetFramework="net461">
<dependency id="System.ValueTuple" version="4.4.0" />
</group>
<group targetFramework="net47">
Expand All @@ -44,6 +47,10 @@
<file src="..\src\bin\Release.4.6\CodeJam.pdb" target="lib\net46" />
<file src="..\src\bin\Release.4.6\CodeJam.xml" target="lib\net46" />

<file src="..\src\bin\Release.4.6.1\CodeJam.dll" target="lib\net461" />
<file src="..\src\bin\Release.4.6.1\CodeJam.pdb" target="lib\net461" />
<file src="..\src\bin\Release.4.6.1\CodeJam.xml" target="lib\net461" />

<file src="..\src\bin\Release.4.7\CodeJam.dll" target="lib\net47" />
<file src="..\src\bin\Release.4.7\CodeJam.pdb" target="lib\net47" />
<file src="..\src\bin\Release.4.7\CodeJam.xml" target="lib\net47" />
Expand Down
18 changes: 14 additions & 4 deletions Main/src/CodeJam.Main.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@
<Reference Include="System" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Core" />
<Reference Include="System.ValueTuple, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.ValueTuple.4.4.0\lib\netstandard1.0\System.ValueTuple.dll</HintPath>
</Reference>
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" />
</ItemGroup>
Expand All @@ -61,7 +58,20 @@
</When>
</Choose>
<Choose>
<When Condition="!$(DefineConstants.Contains('FW40')) AND $(DefineConstants.Contains('FW462'))" />
<When Condition="!$(DefineConstants.Contains('FW40')) AND $(DefineConstants.Contains('FW46'))">
<ItemGroup>
<Reference Include="System.ValueTuple, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.ValueTuple.4.3.1\lib\netstandard1.0\System.ValueTuple.dll</HintPath>
</Reference>
</ItemGroup>
</When>
<When Condition="!$(DefineConstants.Contains('FW46')) AND $(DefineConstants.Contains('FW462'))">
<ItemGroup>
<Reference Include="System.ValueTuple, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.ValueTuple.4.4.0\lib\netstandard1.0\System.ValueTuple.dll</HintPath>
</Reference>
</ItemGroup>
</When>
</Choose>
<ItemGroup>
<Compile Include="..\..\Jetbrains.Annotations.cs">
Expand Down
2 changes: 1 addition & 1 deletion Main/src/Strings/StringExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ public static unsafe string ToHexString([NotNull] this byte[] data, [CanBeNull]
/// </returns>
[NotNull]
[Pure]
public static string Unquote([NotNull] this string arg) => Unquote(arg, out _);
public static string Unquote([NotNull] this string arg) => Unquote(arg, out var _);

/// <summary>
/// Remove one set of leading and trailing double quote characters, if both are present.
Expand Down

0 comments on commit a7b6226

Please sign in to comment.