Skip to content

Commit 56902a5

Browse files
committed
[WIP] Projects & Dockerfile migrated to 2.0
Lots of things to address yet, because nuget packages are still on 1.1
1 parent 514142a commit 56902a5

30 files changed

Lines changed: 41 additions & 46 deletions

File tree

cli-windows/build-bits.ps1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ $projectPaths =
1414
@{Path="$rootPath\src\Services\Identity\Identity.API";Prj="Identity.API.csproj"},
1515
@{Path="$rootPath\src\Services\Catalog\Catalog.API";Prj="Catalog.API.csproj"},
1616
@{Path="$rootPath\src\Services\Ordering\Ordering.API";Prj="Ordering.API.csproj"},
17-
@{Path="$rootPath\src\Services\Basket\Basket.API";Prj="Basket.API.csproj"}
17+
@{Path="$rootPath\src\Services\GracePeriod\GracePeriodManager";Prj="GracePeriodManager.csproj"},
18+
@{Path="$rootPath\src\Services\Basket\Basket.API";Prj="Basket.API.csproj"},
19+
@{Path="$rootPath\src\Services\Identity\Identity.API";Prj="Identity.API.csproj"},
20+
@{Path="$rootPath\src\Services\Location\Location.API";Prj="Locations.API.csproj"},
21+
@{Path="$rootPath\src\Services\Marketing\Marketing.API";Prj="Marketing.API.csproj"},
22+
@{Path="$rootPath\src\Services\Payment\Payment.API";Prj="Payment.API.csproj"},
1823
@{Path="$rootPath\src\Web\WebStatus";Prj="WebStatus.csproj"}
1924

2025
$projectPaths | foreach {

src/BuildingBlocks/DataProtection/DataProtection/DataProtection.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp1.1</TargetFramework>
4+
<TargetFramework>netstandard1.5</TargetFramework>
55
<RootNamespace>Microsoft.eShopOnContainers.BuildingBlocks</RootNamespace>
66
</PropertyGroup>
77

src/BuildingBlocks/EventBus/EventBus.Tests/EventBus.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp1.1</TargetFramework>
4+
<TargetFramework>netstandard1.5</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

src/BuildingBlocks/EventBus/EventBus/EventBus.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp1.1</TargetFramework>
4+
<TargetFramework>netstandard1.5</TargetFramework>
55
<RootNamespace>Microsoft.eShopOnContainers.BuildingBlocks.EventBus</RootNamespace>
66
</PropertyGroup>
77

src/BuildingBlocks/EventBus/EventBusRabbitMQ/EventBusRabbitMQ.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp1.1</TargetFramework>
4+
<TargetFramework>netstandard1.5</TargetFramework>
55
<RootNamespace>Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ</RootNamespace>
66
</PropertyGroup>
77

src/Services/Basket/Basket.API/Basket.API.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp1.1</TargetFramework>
4+
<TargetFramework>netcoreapp2.0</TargetFramework>
55
<RuntimeFrameworkVersion>1.1.2</RuntimeFrameworkVersion>
66
<OutputType>Exe</OutputType>
77
<PackageTargetFallback>$(PackageTargetFallback);netstandard1.6.1;dnxcore50;portable-net451+win8</PackageTargetFallback>

src/Services/Basket/Basket.API/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM microsoft/aspnetcore:1.1.2
1+
FROM microsoft/aspnetcore:2.0
22
ARG source
33
WORKDIR /app
44
EXPOSE 80

src/Services/Catalog/Catalog.API/Catalog.API.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp1.1</TargetFramework>
4+
<TargetFramework>netcoreapp2.0</TargetFramework>
55
<DebugType>portable</DebugType>
66
<PreserveCompilationContext>true</PreserveCompilationContext>
77
<AssemblyName>Catalog.API</AssemblyName>

src/Services/Catalog/Catalog.API/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM microsoft/aspnetcore:1.1.2
1+
FROM microsoft/aspnetcore:2.0
22
ARG source
33
WORKDIR /app
44
EXPOSE 80

src/Services/GracePeriod/GracePeriodManager/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM microsoft/aspnetcore:1.1.2
1+
FROM microsoft/aspnetcore:2.0
22
ARG source
33
WORKDIR /app
44
COPY ${source:-obj/Docker/publish} .

0 commit comments

Comments
 (0)