Skip to content

Commit

Permalink
Set dotnet default dependency back to 2.x
Browse files Browse the repository at this point in the history
- Update override test to use later version of dotnet
- Add .csproj file to console fixture to fix unclear override test

[#155961413]

Signed-off-by: Jackson Feeny <[email protected]>
  • Loading branch information
Tyler Phelan authored and jfeeny committed Mar 19, 2018
1 parent c1d8e91 commit 5d413c3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
26 changes: 26 additions & 0 deletions fixtures/console_app/console.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<DebugType>portable</DebugType>
<AssemblyName>console</AssemblyName>
<OutputType>Exe</OutputType>
<RuntimeFrameworkVersion>2.0.0</RuntimeFrameworkVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration">
<Version>*</Version>
</PackageReference>
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel">
<Version>*</Version>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine">
<Version>*</Version>
</PackageReference>
</ItemGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion fixtures/overrideyml_bp/override.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dotnet-core:
dependencies:
- name: dotnet
version: 2.1.99
version: 2.1.9999
uri: https://buildpacks.cloudfoundry.org/dependencies/dotnet/dotnet.2.0.99-linux-x64-062d906c.tgz
file: BUILDPACK_DIR/dotnet.tgz
sha256: 062d906c87839d03b243e2821e10653c89b4c92878bfe2bf995dec231e117bfc
Expand Down
2 changes: 1 addition & 1 deletion manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
language: dotnet-core
default_versions:
- name: dotnet
version: 2.1.101
version: 2.x
url_to_dependency_map: []
dependency_deprecation_dates:
- match: 6\.\d+\.\d+
Expand Down

0 comments on commit 5d413c3

Please sign in to comment.