Skip to content

Commit 66c43c9

Browse files
committed
Updating sample projects to reference Nuget packages and testing the build.
1 parent cc5cd5e commit 66c43c9

File tree

6 files changed

+15
-8
lines changed

6 files changed

+15
-8
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<Authors>BlaiseD</Authors>
44
<LangVersion>latest</LangVersion>
5-
<VersionPrefix>1.0.0-preview06</VersionPrefix>
5+
<VersionPrefix>1.0.0-preview07</VersionPrefix>
66
<WarningsAsErrors>true</WarningsAsErrors>
77
<NoWarn>$(NoWarn);1701;1702;1591</NoWarn>
88
</PropertyGroup>

WebAPI.AspNet.OData.EF6/WebAPI.AspNet.OData.EF6.csproj

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,11 @@
4646
<Reference Include="AutoMapper, Version=9.0.0.0, Culture=neutral, PublicKeyToken=be96cd2c38ef1005, processorArchitecture=MSIL">
4747
<HintPath>..\packages\AutoMapper.9.0.0\lib\net461\AutoMapper.dll</HintPath>
4848
</Reference>
49+
<Reference Include="AutoMapper.AspNet.OData.EF6, Version=1.0.0.0, Culture=neutral, PublicKeyToken=be96cd2c38ef1005, processorArchitecture=MSIL">
50+
<HintPath>..\packages\AutoMapper.AspNet.OData.EF6.1.0.0-preview06\lib\net461\AutoMapper.AspNet.OData.EF6.dll</HintPath>
51+
</Reference>
4952
<Reference Include="AutoMapper.Extensions.ExpressionMapping, Version=3.0.2.0, Culture=neutral, PublicKeyToken=be96cd2c38ef1005, processorArchitecture=MSIL">
50-
<HintPath>..\packages\AutoMapper.Extensions.ExpressionMapping.3.0.2-preview02\lib\net461\AutoMapper.Extensions.ExpressionMapping.dll</HintPath>
53+
<HintPath>..\packages\AutoMapper.Extensions.ExpressionMapping.3.0.2\lib\net461\AutoMapper.Extensions.ExpressionMapping.dll</HintPath>
5154
</Reference>
5255
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
5356
<HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath>
@@ -172,10 +175,6 @@
172175
<Folder Include="Models\" />
173176
</ItemGroup>
174177
<ItemGroup>
175-
<ProjectReference Include="..\AutoMapper.AspNet.OData.EF6\AutoMapper.AspNet.OData.EF6.csproj">
176-
<Project>{4073c9f5-5226-4cf3-91d2-9f695d922268}</Project>
177-
<Name>AutoMapper.AspNet.OData.EF6</Name>
178-
</ProjectReference>
179178
<ProjectReference Include="..\DAL\DAL.csproj">
180179
<Project>{d926a5ac-b4dc-47a3-b302-b3df2a38e5d1}</Project>
181180
<Name>DAL</Name>

WebAPI.AspNet.OData.EF6/packages.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="AutoMapper" version="9.0.0" targetFramework="net472" />
4+
<package id="AutoMapper.AspNet.OData.EF6" version="1.0.0-preview06" targetFramework="net472" />
45
<package id="AutoMapper.Extensions.ExpressionMapping" version="3.0.2" targetFramework="net472" />
56
<package id="EntityFramework" version="6.2.0" targetFramework="net472" />
67
<package id="Microsoft.AspNet.OData" version="7.2.1" targetFramework="net472" />

WebAPI.AspNetCore.OData.EF6/WebAPI.AspNetCore.OData.EF6.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
<ItemGroup>
88
<PackageReference Include="AutoMapper" Version="9.0.0" />
9+
<PackageReference Include="AutoMapper.AspNetCore.OData.EF6" Version="1.0.0-preview06" />
910
<PackageReference Include="AutoMapper.Extensions.ExpressionMapping" Version="3.0.2" />
1011
<PackageReference Include="EntityFramework" Version="6.2.0" />
1112
<PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" />
@@ -27,7 +28,6 @@
2728
</ItemGroup>
2829

2930
<ItemGroup>
30-
<ProjectReference Include="..\AutoMapper.AspNetCore.OData.EF6\AutoMapper.AspNetCore.OData.EF6.csproj" />
3131
<ProjectReference Include="..\DAL\DAL.csproj" />
3232
<ProjectReference Include="..\Domain.OData\Domain.OData.csproj" />
3333
</ItemGroup>

WebAPI.OData.EFCore/WebAPI.OData.EFCore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9+
<PackageReference Include="AutoMapper.AspNetCore.OData.EFCore" Version="1.0.0-preview06" />
910
<PackageReference Include="AutoMapper.Extensions.ExpressionMapping" Version="3.0.2" />
1011
<PackageReference Include="Microsoft.AspNetCore.App" />
1112
<PackageReference Include="Microsoft.AspNetCore.OData" Version="7.2.1" />
@@ -15,7 +16,6 @@
1516
</ItemGroup>
1617

1718
<ItemGroup>
18-
<ProjectReference Include="..\AutoMapper.AspNetCore.OData.EFCore\AutoMapper.AspNetCore.OData.EFCore.csproj" />
1919
<ProjectReference Include="..\DAL.EFCore\DAL.EFCore.csproj" />
2020
<ProjectReference Include="..\Domain.OData\Domain.OData.csproj" />
2121
</ItemGroup>

appveyor.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,10 @@ deploy:
2727
skip_symbols: true
2828
on:
2929
branch: master
30+
- provider: NuGet
31+
name: production
32+
skip_symbols: true
33+
api_key:
34+
secure: t3blEIQiDIYjjWhOSTTtrcAnzJkmSi+0zYPxC1v4RDzm6oI/gIpD6ZtrOGsYu2jE
35+
on:
36+
appveyor_repo_tag: true

0 commit comments

Comments
 (0)