Skip to content

Commit e5c3e49

Browse files
authored
Merge pull request #87 from AutoMapper/WebTestsForODataSettings
Web tests referencing latest
2 parents 1c7c66e + 7da0d1f commit e5c3e49

File tree

10 files changed

+75
-148
lines changed

10 files changed

+75
-148
lines changed

AutoMapper.AspNet.OData.EF6/AutoMapper.AspNet.OData.EF6.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</ItemGroup>
4242

4343
<ItemGroup>
44-
<PackageReference Include="AutoMapper.Extensions.ExpressionMapping" Version="[4.1.0,5.0.0)" />
44+
<PackageReference Include="AutoMapper.Extensions.ExpressionMapping" Version="4.1.1-preview.1.3" />
4545
<PackageReference Include="EntityFramework" Version="6.2.0" />
4646
<PackageReference Include="LogicBuilder.Expressions.Utils" Version="4.0.2" />
4747
<PackageReference Include="Microsoft.AspNet.OData" Version="7.4.1" />

AutoMapper.AspNetCore.OData.EF6/AutoMapper.AspNetCore.OData.EF6.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</ItemGroup>
4242

4343
<ItemGroup>
44-
<PackageReference Include="AutoMapper.Extensions.ExpressionMapping" Version="[4.1.0,5.0.0)" />
44+
<PackageReference Include="AutoMapper.Extensions.ExpressionMapping" Version="4.1.1-preview.1.3" />
4545
<PackageReference Include="EntityFramework" Version="6.3.0" />
4646
<PackageReference Include="LogicBuilder.Expressions.Utils" Version="4.0.2" />
4747
<PackageReference Include="Microsoft.AspNetCore.OData" Version="7.4.1" />

AutoMapper.AspNetCore.OData.EF6/QueryableExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public static async Task<ICollection<TModel>> GetAsync<TModel, TData>(this IQuer
183183
query = includes.Aggregate(query, (q, next) => q.Include(next));
184184

185185
//Call the store
186-
ICollection<TData> result = mappedQueryFunc != null ? mappedQueryFunc(query).ToList() : query.ToList();
186+
ICollection<TData> result = mappedQueryFunc != null ? await mappedQueryFunc(query).ToListAsync() : await query.ToListAsync();
187187

188188
//Map and return the data
189189
return mapper.Map<IEnumerable<TData>, IEnumerable<TModel>>(result).ToList();

AutoMapper.AspNetCore.OData.EFCore/AutoMapper.AspNetCore.OData.EFCore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</PropertyGroup>
1919

2020
<ItemGroup>
21-
<PackageReference Include="AutoMapper.Extensions.ExpressionMapping" Version="[4.1.0,5.0.0)" />
21+
<PackageReference Include="AutoMapper.Extensions.ExpressionMapping" Version="4.1.1-preview.1.3" />
2222
<PackageReference Include="LogicBuilder.Expressions.Utils" Version="4.0.2" />
2323
<PackageReference Include="Microsoft.AspNetCore.OData" Version="7.4.1" />
2424
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.0" />

AutoMapper.Extensions.OData.sln

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoMapper.AspNetCore.OData
2121
EndProject
2222
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutoMapper.AspNet.OData.EF6", "AutoMapper.AspNet.OData.EF6\AutoMapper.AspNet.OData.EF6.csproj", "{4073C9F5-5226-4CF3-91D2-9F695D922268}"
2323
EndProject
24-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebAPI.AspNet.OData.EF6", "WebAPI.AspNet.OData.EF6\WebAPI.AspNet.OData.EF6.csproj", "{B4405E32-B6A5-4947-90D8-8EFF15CDDA39}"
24+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebAPI.AspNet.OData.EF6", "WebAPI.AspNet.OData.EF6\WebAPI.AspNet.OData.EF6.csproj", "{7C796B6B-86B5-4C57-ADAA-12CF1FECDA71}"
2525
EndProject
2626
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebAPI.OData.EFCore", "WebAPI.OData.EFCore\WebAPI.OData.EFCore.csproj", "{5D285685-62D1-4B1E-B469-18C1715471FF}"
2727
EndProject
@@ -85,8 +85,8 @@ Global
8585
{4073C9F5-5226-4CF3-91D2-9F695D922268}.Debug|Any CPU.Build.0 = Debug|Any CPU
8686
{4073C9F5-5226-4CF3-91D2-9F695D922268}.Release|Any CPU.ActiveCfg = Release|Any CPU
8787
{4073C9F5-5226-4CF3-91D2-9F695D922268}.Release|Any CPU.Build.0 = Release|Any CPU
88-
{B4405E32-B6A5-4947-90D8-8EFF15CDDA39}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
89-
{B4405E32-B6A5-4947-90D8-8EFF15CDDA39}.Release|Any CPU.ActiveCfg = Release|Any CPU
88+
{7C796B6B-86B5-4C57-ADAA-12CF1FECDA71}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
89+
{7C796B6B-86B5-4C57-ADAA-12CF1FECDA71}.Release|Any CPU.ActiveCfg = Release|Any CPU
9090
{5D285685-62D1-4B1E-B469-18C1715471FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
9191
{5D285685-62D1-4B1E-B469-18C1715471FF}.Release|Any CPU.ActiveCfg = Release|Any CPU
9292
{019FDE90-72D1-4445-B88E-15754623E4E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
@@ -129,7 +129,7 @@ Global
129129
{D5EC56A8-21AB-464D-BCA5-38F672560207} = {D2A273B8-0229-4121-8189-175960E7749D}
130130
{7836C0FC-B1FD-44FF-9643-AC0104419A80} = {0574DFF6-39C8-43E6-8E91-92D03699BF35}
131131
{4073C9F5-5226-4CF3-91D2-9F695D922268} = {0574DFF6-39C8-43E6-8E91-92D03699BF35}
132-
{B4405E32-B6A5-4947-90D8-8EFF15CDDA39} = {D2A273B8-0229-4121-8189-175960E7749D}
132+
{7C796B6B-86B5-4C57-ADAA-12CF1FECDA71} = {D2A273B8-0229-4121-8189-175960E7749D}
133133
{5D285685-62D1-4B1E-B469-18C1715471FF} = {D2A273B8-0229-4121-8189-175960E7749D}
134134
{019FDE90-72D1-4445-B88E-15754623E4E7} = {D2A273B8-0229-4121-8189-175960E7749D}
135135
{98A5BD88-7FCB-4295-B203-51E7FD77CE4F} = {3E35C7A6-722E-46FE-AFE0-2EFDF668DB44}

Web.Tests/Web.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>netcoreapp2.2</TargetFramework>
4+
<TargetFramework>netcoreapp3.1</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77
</PropertyGroup>

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

Lines changed: 63 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2-
<Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" />
32
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
43
<PropertyGroup>
54
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
65
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
76
<ProductVersion>
87
</ProductVersion>
98
<SchemaVersion>2.0</SchemaVersion>
10-
<ProjectGuid>{B4405E32-B6A5-4947-90D8-8EFF15CDDA39}</ProjectGuid>
9+
<ProjectGuid>{7C796B6B-86B5-4C57-ADAA-12CF1FECDA71}</ProjectGuid>
1110
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
1211
<OutputType>Library</OutputType>
1312
<AppDesignerFolder>Properties</AppDesignerFolder>
@@ -43,85 +42,8 @@
4342
<WarningLevel>4</WarningLevel>
4443
</PropertyGroup>
4544
<ItemGroup>
46-
<Reference Include="AutoMapper, Version=10.0.0.0, Culture=neutral, PublicKeyToken=be96cd2c38ef1005, processorArchitecture=MSIL">
47-
<HintPath>..\packages\AutoMapper.10.1.1\lib\net461\AutoMapper.dll</HintPath>
48-
</Reference>
49-
<Reference Include="AutoMapper.AspNet.OData.EF6, Version=2.0.0.0, Culture=neutral, PublicKeyToken=be96cd2c38ef1005, processorArchitecture=MSIL">
50-
<HintPath>..\packages\AutoMapper.AspNet.OData.EF6.2.1.0\lib\net461\AutoMapper.AspNet.OData.EF6.dll</HintPath>
51-
</Reference>
52-
<Reference Include="AutoMapper.Extensions.ExpressionMapping, Version=4.0.0.0, Culture=neutral, PublicKeyToken=be96cd2c38ef1005, processorArchitecture=MSIL">
53-
<HintPath>..\packages\AutoMapper.Extensions.ExpressionMapping.4.1.0\lib\net461\AutoMapper.Extensions.ExpressionMapping.dll</HintPath>
54-
</Reference>
55-
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
56-
<HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath>
57-
</Reference>
58-
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
59-
<HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath>
60-
</Reference>
61-
<Reference Include="LogicBuilder.Expressions.Utils, Version=4.0.0.0, Culture=neutral, PublicKeyToken=646893bec0268535, processorArchitecture=MSIL">
62-
<HintPath>..\packages\LogicBuilder.Expressions.Utils.4.0.2\lib\netstandard2.0\LogicBuilder.Expressions.Utils.dll</HintPath>
63-
</Reference>
64-
<Reference Include="LogicBuilder.Structures, Version=4.0.0.0, Culture=neutral, PublicKeyToken=646893bec0268535, processorArchitecture=MSIL">
65-
<HintPath>..\packages\LogicBuilder.Structures.4.0.2\lib\netstandard2.0\LogicBuilder.Structures.dll</HintPath>
66-
</Reference>
67-
<Reference Include="Microsoft.AspNet.OData, Version=7.4.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
68-
<HintPath>..\packages\Microsoft.AspNet.OData.7.4.1\lib\net45\Microsoft.AspNet.OData.dll</HintPath>
69-
</Reference>
70-
<Reference Include="Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
71-
<HintPath>..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll</HintPath>
72-
</Reference>
7345
<Reference Include="Microsoft.CSharp" />
74-
<Reference Include="Microsoft.Extensions.DependencyInjection, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
75-
<HintPath>..\packages\Microsoft.Extensions.DependencyInjection.2.2.0\lib\net461\Microsoft.Extensions.DependencyInjection.dll</HintPath>
76-
</Reference>
77-
<Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
78-
<HintPath>..\packages\Microsoft.Extensions.DependencyInjection.Abstractions.2.2.0\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll</HintPath>
79-
</Reference>
80-
<Reference Include="Microsoft.OData.Core, Version=7.6.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
81-
<HintPath>..\packages\Microsoft.OData.Core.7.6.1\lib\portable-net45+win8+wpa81\Microsoft.OData.Core.dll</HintPath>
82-
</Reference>
83-
<Reference Include="Microsoft.OData.Edm, Version=7.6.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
84-
<HintPath>..\packages\Microsoft.OData.Edm.7.6.1\lib\portable-net45+win8+wpa81\Microsoft.OData.Edm.dll</HintPath>
85-
</Reference>
86-
<Reference Include="Microsoft.Spatial, Version=7.6.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
87-
<HintPath>..\packages\Microsoft.Spatial.7.6.1\lib\portable-net45+win8+wpa81\Microsoft.Spatial.dll</HintPath>
88-
</Reference>
89-
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
90-
<HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
91-
</Reference>
92-
<Reference Include="System.Linq, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
93-
<HintPath>..\packages\System.Linq.4.3.0\lib\net463\System.Linq.dll</HintPath>
94-
<Private>True</Private>
95-
<Private>True</Private>
96-
</Reference>
97-
<Reference Include="System.Linq.Dynamic.Core, Version=1.0.18.0, Culture=neutral, PublicKeyToken=0f07ec44de6ac832, processorArchitecture=MSIL">
98-
<HintPath>..\packages\System.Linq.Dynamic.Core.1.0.18\lib\net46\System.Linq.Dynamic.Core.dll</HintPath>
99-
</Reference>
100-
<Reference Include="System.Linq.Expressions, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
101-
<HintPath>..\packages\System.Linq.Expressions.4.3.0\lib\net463\System.Linq.Expressions.dll</HintPath>
102-
<Private>True</Private>
103-
<Private>True</Private>
104-
</Reference>
10546
<Reference Include="System.Net.Http" />
106-
<Reference Include="System.Net.Http.Formatting, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
107-
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.5.2.7\lib\net45\System.Net.Http.Formatting.dll</HintPath>
108-
</Reference>
109-
<Reference Include="System.Reflection, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
110-
<HintPath>..\packages\System.Reflection.4.3.0\lib\net462\System.Reflection.dll</HintPath>
111-
<Private>True</Private>
112-
<Private>True</Private>
113-
</Reference>
114-
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
115-
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.2\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
116-
</Reference>
117-
<Reference Include="System.Runtime.Extensions, Version=4.1.1.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
118-
<HintPath>..\packages\System.Runtime.Extensions.4.3.1\lib\net462\System.Runtime.Extensions.dll</HintPath>
119-
<Private>True</Private>
120-
<Private>True</Private>
121-
</Reference>
122-
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
123-
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll</HintPath>
124-
</Reference>
12547
<Reference Include="System.Web.DynamicData" />
12648
<Reference Include="System.Web.Entity" />
12749
<Reference Include="System.Web.ApplicationServices" />
@@ -131,25 +53,13 @@
13153
<Reference Include="System.Core" />
13254
<Reference Include="System.Data.DataSetExtensions" />
13355
<Reference Include="System.Web.Extensions" />
134-
<Reference Include="System.Web.Http, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
135-
<HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.2.7\lib\net45\System.Web.Http.dll</HintPath>
136-
</Reference>
137-
<Reference Include="System.Web.Http.WebHost, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
138-
<HintPath>..\packages\Microsoft.AspNet.WebApi.WebHost.5.2.7\lib\net45\System.Web.Http.WebHost.dll</HintPath>
139-
</Reference>
14056
<Reference Include="System.Xml.Linq" />
14157
<Reference Include="System.Drawing" />
14258
<Reference Include="System.Web" />
14359
<Reference Include="System.Xml" />
14460
<Reference Include="System.Configuration" />
14561
<Reference Include="System.Web.Services" />
14662
<Reference Include="System.EnterpriseServices" />
147-
<Reference Include="Unity.Abstractions, Version=5.11.1.0, Culture=neutral, PublicKeyToken=489b6accfaf20ef0, processorArchitecture=MSIL">
148-
<HintPath>..\packages\Unity.5.11.1\lib\net47\Unity.Abstractions.dll</HintPath>
149-
</Reference>
150-
<Reference Include="Unity.Container, Version=5.11.1.0, Culture=neutral, PublicKeyToken=489b6accfaf20ef0, processorArchitecture=MSIL">
151-
<HintPath>..\packages\Unity.5.11.1\lib\net47\Unity.Container.dll</HintPath>
152-
</Reference>
15363
</ItemGroup>
15464
<ItemGroup>
15565
<Reference Include="Microsoft.CSharp" />
@@ -189,7 +99,6 @@
18999
<Compile Include="UnityResolver.cs" />
190100
</ItemGroup>
191101
<ItemGroup>
192-
<None Include="packages.config" />
193102
<None Include="Web.Debug.config">
194103
<DependentUpon>Web.config</DependentUpon>
195104
</None>
@@ -211,6 +120,68 @@
211120
<Name>Domain</Name>
212121
</ProjectReference>
213122
</ItemGroup>
123+
<ItemGroup>
124+
<PackageReference Include="AutoMapper.AspNet.OData.EF6">
125+
<Version>2.1.1-alpha.0.2</Version>
126+
</PackageReference>
127+
<PackageReference Include="AutoMapper.Extensions.ExpressionMapping">
128+
<Version>4.1.1-preview.1.3</Version>
129+
</PackageReference>
130+
<PackageReference Include="Microsoft.AspNet.WebApi">
131+
<Version>5.2.7</Version>
132+
</PackageReference>
133+
<PackageReference Include="Microsoft.CodeDom.Providers.DotNetCompilerPlatform">
134+
<Version>2.0.1</Version>
135+
</PackageReference>
136+
<PackageReference Include="Microsoft.Extensions.DependencyInjection">
137+
<Version>2.2.0</Version>
138+
</PackageReference>
139+
<PackageReference Include="Newtonsoft.Json">
140+
<Version>12.0.3</Version>
141+
</PackageReference>
142+
<PackageReference Include="System.Collections">
143+
<Version>4.3.0</Version>
144+
</PackageReference>
145+
<PackageReference Include="System.Collections.Concurrent">
146+
<Version>4.3.0</Version>
147+
</PackageReference>
148+
<PackageReference Include="System.ComponentModel">
149+
<Version>4.3.0</Version>
150+
</PackageReference>
151+
<PackageReference Include="System.Diagnostics.Debug">
152+
<Version>4.3.0</Version>
153+
</PackageReference>
154+
<PackageReference Include="System.Globalization">
155+
<Version>4.3.0</Version>
156+
</PackageReference>
157+
<PackageReference Include="System.Linq">
158+
<Version>4.3.0</Version>
159+
</PackageReference>
160+
<PackageReference Include="System.Linq.Expressions">
161+
<Version>4.3.0</Version>
162+
</PackageReference>
163+
<PackageReference Include="System.Reflection">
164+
<Version>4.3.0</Version>
165+
</PackageReference>
166+
<PackageReference Include="System.Resources.ResourceManager">
167+
<Version>4.3.0</Version>
168+
</PackageReference>
169+
<PackageReference Include="System.Runtime.Extensions">
170+
<Version>4.3.1</Version>
171+
</PackageReference>
172+
<PackageReference Include="System.Threading">
173+
<Version>4.3.0</Version>
174+
</PackageReference>
175+
<PackageReference Include="System.Threading.Tasks">
176+
<Version>4.3.0</Version>
177+
</PackageReference>
178+
<PackageReference Include="System.ValueTuple">
179+
<Version>4.5.0</Version>
180+
</PackageReference>
181+
<PackageReference Include="Unity">
182+
<Version>5.11.1</Version>
183+
</PackageReference>
184+
</ItemGroup>
214185
<PropertyGroup>
215186
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
216187
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
@@ -236,12 +207,6 @@
236207
</FlavorProperties>
237208
</VisualStudio>
238209
</ProjectExtensions>
239-
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
240-
<PropertyGroup>
241-
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
242-
</PropertyGroup>
243-
<Error Condition="!Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props'))" />
244-
</Target>
245210
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
246211
Other similar extension points exist, see Microsoft.Common.targets.
247212
<Target Name="BeforeBuild">

0 commit comments

Comments
 (0)