Skip to content

Commit

Permalink
Merge pull request #93 from TheAngryByrd/latest-sdk-and-targets
Browse files Browse the repository at this point in the history
latest dotnet sdk and targets, remove netstandard 1.6
  • Loading branch information
TheAngryByrd authored Jul 10, 2018
2 parents 70410a1 + 07bdd90 commit a8b6cd7
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ language: csharp
sudo: required
dist: trusty

dotnet: 2.1.101
dotnet: 2.1.301
mono:
- 5.8.0
- 5.12.0
- latest # => "stable release"
- alpha
- beta
Expand Down
9 changes: 6 additions & 3 deletions Content/.paket/Paket.Restore.targets
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@
<PaketRestoreRequired Condition=" '$(PaketRestoreLockFileHash)' == '$(PaketRestoreCachedHash)' ">false</PaketRestoreRequired>
<PaketRestoreRequired Condition=" '$(PaketRestoreLockFileHash)' == '' ">true</PaketRestoreRequired>
</PropertyGroup>


<PropertyGroup Condition="'$(PaketPropsVersion)' != '5.174.2' ">
<PaketRestoreRequired>true</PaketRestoreRequired>
</PropertyGroup>

<!-- Do a global restore if required -->
<Exec Command='$(PaketBootStrapperCommand)' Condition="Exists('$(PaketBootStrapperExePath)') AND !(Exists('$(PaketExePath)'))" ContinueOnError="false" />
Expand Down Expand Up @@ -132,11 +135,11 @@
<Error Condition=" '$(DoAllResolvedFilesExist)' != 'true' AND '$(ResolveNuGetPackages)' != 'False' " Text="One Paket file '@(PaketResolvedFilePaths)' is missing while restoring $(MSBuildProjectFile). Please delete 'paket-files/paket.restore.cached' and call 'paket restore'." />

<!-- Step 4 forward all msbuild properties (PackageReference, DotNetCliToolReference) to msbuild -->
<ReadLinesFromFile Condition="'@(PaketResolvedFilePaths)' != ''" File="%(PaketResolvedFilePaths.Identity)" ><!--Condition="Exists('%(PaketResolvedFilePaths.Identity)')"-->
<ReadLinesFromFile Condition="($(DesignTimeBuild) != true OR '$(PaketPropsLoaded)' != 'true') AND '@(PaketResolvedFilePaths)' != ''" File="%(PaketResolvedFilePaths.Identity)" >
<Output TaskParameter="Lines" ItemName="PaketReferencesFileLines"/>
</ReadLinesFromFile>

<ItemGroup Condition=" '@(PaketReferencesFileLines)' != '' " >
<ItemGroup Condition="($(DesignTimeBuild) != true OR '$(PaketPropsLoaded)' != 'true') AND '@(PaketReferencesFileLines)' != '' " >
<PaketReferencesFileLinesInfo Include="@(PaketReferencesFileLines)" >
<PackageName>$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[0])</PackageName>
<PackageVersion>$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[1])</PackageVersion>
Expand Down
4 changes: 2 additions & 2 deletions Content/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ language: csharp
sudo: required
dist: trusty

dotnet: 2.1.101
dotnet: 2.1.301
mono:
- 5.8.0
- 5.12.0
- latest # => "stable release"
- alpha
- beta
Expand Down
2 changes: 1 addition & 1 deletion Content/src/MyLib.1/MyLib.1.fsproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6;net461</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion Content/tests/MyLib.1.Tests/MyLib.1.Tests.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp2.0;net461</TargetFrameworks>
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0;net461</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.fs" />
Expand Down
2 changes: 1 addition & 1 deletion MiniScaffold.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>F# Template for creating and publishing libraries targeting .NET Full (net461) and Core (netstandard1.6, netstandard2.0)</Description>
<Description>F# Template for creating and publishing libraries targeting .NET Full (net461) and Core (netstandard2.0)</Description>
<Authors>Jimmy Byrd</Authors>
<PackageProjectUrl>https://github.com/TheAngryByrd/MiniScaffold</PackageProjectUrl>
<PackageLicenseUrl>https://github.com/TheAngryByrd/MiniScaffold/blob/master/LICENSE.md</PackageLicenseUrl>
Expand Down
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MiniScaffold
F# Template for creating and publishing libraries targeting .NET Full (net461) and Core (netstandard1.6,netstandard2.0)
F# Template for creating and publishing libraries targeting .NET Full (net461) and Core (netstandard2.0)

## Builds

Expand Down Expand Up @@ -99,10 +99,6 @@ src/MyCoolNewLib/bin/Release/
│   ├── FSharp.Core.dll
│   ├── MyLib.dll
│   ├── MyLib.pdb
├── netstandard1.6
│   ├── MyLib.deps.json
│   ├── MyLib.dll
│   └── MyLib.pdb
└── netstandard2.0
├── MyLib.deps.json
├── MyLib.dll
Expand Down

0 comments on commit a8b6cd7

Please sign in to comment.