Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 900bc66

Browse files
authored
Add net461 to TargetFrameworks (#242)
1 parent d25a358 commit 900bc66

File tree

69 files changed

+960
-63
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+960
-63
lines changed

Entropy.sln

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Owin.HelloWorld", "samples\
3636
EndProject
3737
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Owin.OwinWebSockets", "samples\Owin.OwinWebSockets\Owin.OwinWebSockets.csproj", "{7333FA5C-D9B2-4151-A19D-41DAADA19266}"
3838
EndProject
39+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Owin.Nowin.HelloWorld", "samples\Owin.Nowin.HelloWorld\Owin.Nowin.HelloWorld.csproj", "{6989F059-B43A-4F7B-8A37-CEF6CB5D8B0B}"
40+
EndProject
41+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Owin.Nowin.WebSockets", "samples\Owin.Nowin.WebSockets\Owin.Nowin.WebSockets.csproj", "{0233F61B-1458-4BFB-81CE-D47F1557015F}"
42+
EndProject
3943
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Builder.Filtering.Web", "samples\Builder.Filtering.Web\Builder.Filtering.Web.csproj", "{1CFEC7E8-736E-4986-B0C4-9EBB5D449387}"
4044
EndProject
4145
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Builder.HelloWorld.Web", "samples\Builder.HelloWorld.Web\Builder.HelloWorld.Web.csproj", "{53F1AB0E-3C08-4D90-92D8-17E4E13BD2F3}"
@@ -54,6 +58,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Data.SqlServer", "samples\D
5458
EndProject
5559
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mvc.CustomRoutingConvention", "samples\Mvc.CustomRoutingConvention\Mvc.CustomRoutingConvention.csproj", "{FAC6DC00-3824-4708-819A-DE8702017E39}"
5660
EndProject
61+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Owin.IAppBuilderBridge", "samples\Owin.IAppBuilderBridge\Owin.IAppBuilderBridge.csproj", "{600A7AA4-EF5E-4181-B6E9-8354ECEE581B}"
62+
EndProject
5763
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Logging.Elm", "samples\Logging.Elm\Logging.Elm.csproj", "{98EEC3E1-D447-42E1-B533-3BD1E24C1733}"
5864
EndProject
5965
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Content.Upload.Multipart", "samples\Content.Upload.Multipart\Content.Upload.Multipart.csproj", "{1B9F52B7-F3B7-4C62-99FD-6ABA65D70C2F}"
@@ -66,6 +72,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Diagnostics.StatusCodes.Mvc
6672
EndProject
6773
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MusicStore.Spa", "samples\MusicStore.Spa\MusicStore.Spa.csproj", "{83C88F80-BD05-4314-ACD3-0834EB385695}"
6874
EndProject
75+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Owin.ConsoleApp.HelloWorld", "samples\Owin.ConsoleApp.HelloWorld\Owin.ConsoleApp.HelloWorld.csproj", "{2CB93CF9-D432-4356-874F-3F897C2F291E}"
76+
EndProject
6977
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Localization.StarterWeb", "samples\Localization.StarterWeb\Localization.StarterWeb.csproj", "{09963892-0801-4FDD-8DEC-02F61E7C6D63}"
7078
EndProject
7179
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Mvc.TagHelpers.Localization", "samples\Microsoft.AspNetCore.Mvc.TagHelpers.Localization\Microsoft.AspNetCore.Mvc.TagHelpers.Localization.csproj", "{DC951DD7-8F0C-4830-ACCD-43C4ED941C0E}"
@@ -170,6 +178,30 @@ Global
170178
{7333FA5C-D9B2-4151-A19D-41DAADA19266}.Release|x64.Build.0 = Release|Any CPU
171179
{7333FA5C-D9B2-4151-A19D-41DAADA19266}.Release|x86.ActiveCfg = Release|Any CPU
172180
{7333FA5C-D9B2-4151-A19D-41DAADA19266}.Release|x86.Build.0 = Release|Any CPU
181+
{6989F059-B43A-4F7B-8A37-CEF6CB5D8B0B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
182+
{6989F059-B43A-4F7B-8A37-CEF6CB5D8B0B}.Debug|Any CPU.Build.0 = Debug|Any CPU
183+
{6989F059-B43A-4F7B-8A37-CEF6CB5D8B0B}.Debug|x64.ActiveCfg = Debug|Any CPU
184+
{6989F059-B43A-4F7B-8A37-CEF6CB5D8B0B}.Debug|x64.Build.0 = Debug|Any CPU
185+
{6989F059-B43A-4F7B-8A37-CEF6CB5D8B0B}.Debug|x86.ActiveCfg = Debug|Any CPU
186+
{6989F059-B43A-4F7B-8A37-CEF6CB5D8B0B}.Debug|x86.Build.0 = Debug|Any CPU
187+
{6989F059-B43A-4F7B-8A37-CEF6CB5D8B0B}.Release|Any CPU.ActiveCfg = Release|Any CPU
188+
{6989F059-B43A-4F7B-8A37-CEF6CB5D8B0B}.Release|Any CPU.Build.0 = Release|Any CPU
189+
{6989F059-B43A-4F7B-8A37-CEF6CB5D8B0B}.Release|x64.ActiveCfg = Release|Any CPU
190+
{6989F059-B43A-4F7B-8A37-CEF6CB5D8B0B}.Release|x64.Build.0 = Release|Any CPU
191+
{6989F059-B43A-4F7B-8A37-CEF6CB5D8B0B}.Release|x86.ActiveCfg = Release|Any CPU
192+
{6989F059-B43A-4F7B-8A37-CEF6CB5D8B0B}.Release|x86.Build.0 = Release|Any CPU
193+
{0233F61B-1458-4BFB-81CE-D47F1557015F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
194+
{0233F61B-1458-4BFB-81CE-D47F1557015F}.Debug|Any CPU.Build.0 = Debug|Any CPU
195+
{0233F61B-1458-4BFB-81CE-D47F1557015F}.Debug|x64.ActiveCfg = Debug|Any CPU
196+
{0233F61B-1458-4BFB-81CE-D47F1557015F}.Debug|x64.Build.0 = Debug|Any CPU
197+
{0233F61B-1458-4BFB-81CE-D47F1557015F}.Debug|x86.ActiveCfg = Debug|Any CPU
198+
{0233F61B-1458-4BFB-81CE-D47F1557015F}.Debug|x86.Build.0 = Debug|Any CPU
199+
{0233F61B-1458-4BFB-81CE-D47F1557015F}.Release|Any CPU.ActiveCfg = Release|Any CPU
200+
{0233F61B-1458-4BFB-81CE-D47F1557015F}.Release|Any CPU.Build.0 = Release|Any CPU
201+
{0233F61B-1458-4BFB-81CE-D47F1557015F}.Release|x64.ActiveCfg = Release|Any CPU
202+
{0233F61B-1458-4BFB-81CE-D47F1557015F}.Release|x64.Build.0 = Release|Any CPU
203+
{0233F61B-1458-4BFB-81CE-D47F1557015F}.Release|x86.ActiveCfg = Release|Any CPU
204+
{0233F61B-1458-4BFB-81CE-D47F1557015F}.Release|x86.Build.0 = Release|Any CPU
173205
{1CFEC7E8-736E-4986-B0C4-9EBB5D449387}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
174206
{1CFEC7E8-736E-4986-B0C4-9EBB5D449387}.Debug|Any CPU.Build.0 = Debug|Any CPU
175207
{1CFEC7E8-736E-4986-B0C4-9EBB5D449387}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -278,6 +310,18 @@ Global
278310
{FAC6DC00-3824-4708-819A-DE8702017E39}.Release|x64.Build.0 = Release|Any CPU
279311
{FAC6DC00-3824-4708-819A-DE8702017E39}.Release|x86.ActiveCfg = Release|Any CPU
280312
{FAC6DC00-3824-4708-819A-DE8702017E39}.Release|x86.Build.0 = Release|Any CPU
313+
{600A7AA4-EF5E-4181-B6E9-8354ECEE581B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
314+
{600A7AA4-EF5E-4181-B6E9-8354ECEE581B}.Debug|Any CPU.Build.0 = Debug|Any CPU
315+
{600A7AA4-EF5E-4181-B6E9-8354ECEE581B}.Debug|x64.ActiveCfg = Debug|Any CPU
316+
{600A7AA4-EF5E-4181-B6E9-8354ECEE581B}.Debug|x64.Build.0 = Debug|Any CPU
317+
{600A7AA4-EF5E-4181-B6E9-8354ECEE581B}.Debug|x86.ActiveCfg = Debug|Any CPU
318+
{600A7AA4-EF5E-4181-B6E9-8354ECEE581B}.Debug|x86.Build.0 = Debug|Any CPU
319+
{600A7AA4-EF5E-4181-B6E9-8354ECEE581B}.Release|Any CPU.ActiveCfg = Release|Any CPU
320+
{600A7AA4-EF5E-4181-B6E9-8354ECEE581B}.Release|Any CPU.Build.0 = Release|Any CPU
321+
{600A7AA4-EF5E-4181-B6E9-8354ECEE581B}.Release|x64.ActiveCfg = Release|Any CPU
322+
{600A7AA4-EF5E-4181-B6E9-8354ECEE581B}.Release|x64.Build.0 = Release|Any CPU
323+
{600A7AA4-EF5E-4181-B6E9-8354ECEE581B}.Release|x86.ActiveCfg = Release|Any CPU
324+
{600A7AA4-EF5E-4181-B6E9-8354ECEE581B}.Release|x86.Build.0 = Release|Any CPU
281325
{98EEC3E1-D447-42E1-B533-3BD1E24C1733}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
282326
{98EEC3E1-D447-42E1-B533-3BD1E24C1733}.Debug|Any CPU.Build.0 = Debug|Any CPU
283327
{98EEC3E1-D447-42E1-B533-3BD1E24C1733}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -350,6 +394,18 @@ Global
350394
{83C88F80-BD05-4314-ACD3-0834EB385695}.Release|x64.Build.0 = Release|Any CPU
351395
{83C88F80-BD05-4314-ACD3-0834EB385695}.Release|x86.ActiveCfg = Release|Any CPU
352396
{83C88F80-BD05-4314-ACD3-0834EB385695}.Release|x86.Build.0 = Release|Any CPU
397+
{2CB93CF9-D432-4356-874F-3F897C2F291E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
398+
{2CB93CF9-D432-4356-874F-3F897C2F291E}.Debug|Any CPU.Build.0 = Debug|Any CPU
399+
{2CB93CF9-D432-4356-874F-3F897C2F291E}.Debug|x64.ActiveCfg = Debug|Any CPU
400+
{2CB93CF9-D432-4356-874F-3F897C2F291E}.Debug|x64.Build.0 = Debug|Any CPU
401+
{2CB93CF9-D432-4356-874F-3F897C2F291E}.Debug|x86.ActiveCfg = Debug|Any CPU
402+
{2CB93CF9-D432-4356-874F-3F897C2F291E}.Debug|x86.Build.0 = Debug|Any CPU
403+
{2CB93CF9-D432-4356-874F-3F897C2F291E}.Release|Any CPU.ActiveCfg = Release|Any CPU
404+
{2CB93CF9-D432-4356-874F-3F897C2F291E}.Release|Any CPU.Build.0 = Release|Any CPU
405+
{2CB93CF9-D432-4356-874F-3F897C2F291E}.Release|x64.ActiveCfg = Release|Any CPU
406+
{2CB93CF9-D432-4356-874F-3F897C2F291E}.Release|x64.Build.0 = Release|Any CPU
407+
{2CB93CF9-D432-4356-874F-3F897C2F291E}.Release|x86.ActiveCfg = Release|Any CPU
408+
{2CB93CF9-D432-4356-874F-3F897C2F291E}.Release|x86.Build.0 = Release|Any CPU
353409
{09963892-0801-4FDD-8DEC-02F61E7C6D63}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
354410
{09963892-0801-4FDD-8DEC-02F61E7C6D63}.Debug|Any CPU.Build.0 = Debug|Any CPU
355411
{09963892-0801-4FDD-8DEC-02F61E7C6D63}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -682,6 +738,8 @@ Global
682738
{181C52C4-E916-416E-96BA-2B645841807F} = {5BCA2B8A-37DA-4A88-A221-3D5B4796B07F}
683739
{D7E8DEFE-56B4-4F8F-8E51-CCAD010B9414} = {9BB0CAA1-33AB-464C-8EDE-C9D033EAD645}
684740
{7333FA5C-D9B2-4151-A19D-41DAADA19266} = {9BB0CAA1-33AB-464C-8EDE-C9D033EAD645}
741+
{6989F059-B43A-4F7B-8A37-CEF6CB5D8B0B} = {9BB0CAA1-33AB-464C-8EDE-C9D033EAD645}
742+
{0233F61B-1458-4BFB-81CE-D47F1557015F} = {9BB0CAA1-33AB-464C-8EDE-C9D033EAD645}
685743
{1CFEC7E8-736E-4986-B0C4-9EBB5D449387} = {097807B3-FE74-4DCD-B76B-2FCE1A272BE5}
686744
{53F1AB0E-3C08-4D90-92D8-17E4E13BD2F3} = {097807B3-FE74-4DCD-B76B-2FCE1A272BE5}
687745
{8F0418B5-8D2D-4425-8028-21A6F798818B} = {097807B3-FE74-4DCD-B76B-2FCE1A272BE5}
@@ -691,12 +749,14 @@ Global
691749
{025C278E-BB7A-4CD0-8E63-FBBBD6F7D790} = {D1BD8FFA-EDE2-4FEF-87D5-B78E909C8457}
692750
{78AE016B-2581-4A63-A381-3716475987F6} = {D1BD8FFA-EDE2-4FEF-87D5-B78E909C8457}
693751
{FAC6DC00-3824-4708-819A-DE8702017E39} = {5BCA2B8A-37DA-4A88-A221-3D5B4796B07F}
752+
{600A7AA4-EF5E-4181-B6E9-8354ECEE581B} = {9BB0CAA1-33AB-464C-8EDE-C9D033EAD645}
694753
{98EEC3E1-D447-42E1-B533-3BD1E24C1733} = {C5053B6C-73B6-4B82-A686-E7948DAFC2F5}
695754
{1B9F52B7-F3B7-4C62-99FD-6ABA65D70C2F} = {B9C5D624-F771-4E9D-882C-4CD42A12CAD1}
696755
{B025FC81-BAFF-4752-A638-64B02BFF78A2} = {B9C5D624-F771-4E9D-882C-4CD42A12CAD1}
697756
{744E5BDC-3E71-4F0E-B78E-129937716AAC} = {B9C5D624-F771-4E9D-882C-4CD42A12CAD1}
698757
{F9D07591-3B9C-4DCE-82E9-4FA8FB63D4AD} = {CAC7BEE3-5101-446C-84A4-4120BE2DEE18}
699758
{83C88F80-BD05-4314-ACD3-0834EB385695} = {C9CC6168-80AE-44CC-8700-CD858256CB5B}
759+
{2CB93CF9-D432-4356-874F-3F897C2F291E} = {9BB0CAA1-33AB-464C-8EDE-C9D033EAD645}
700760
{09963892-0801-4FDD-8DEC-02F61E7C6D63} = {2E7EBBE7-2B03-4D3E-81FF-590F081D8F79}
701761
{DC951DD7-8F0C-4830-ACCD-43C4ED941C0E} = {2E7EBBE7-2B03-4D3E-81FF-590F081D8F79}
702762
{8F833D1D-8914-4CD3-8248-AB33A4D972C5} = {F6CC3BDB-2CCE-4AD0-94B6-0C665169E2C2}

build/common.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
<PackageReference Include="Internal.AspNetCore.Sdk" Version="$(InternalAspNetCoreSdkVersion)" PrivateAssets="All" />
1414
</ItemGroup>
1515

16+
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
17+
<PackageReference Include="NETStandard.Library.NETFramework" Version="$(NETStandardLibraryNETFrameworkVersion)" PrivateAssets="All" />
18+
</ItemGroup>
19+
1620
<ItemGroup Condition="'$(TargetFrameworkIdentifier)'=='.NETFramework' AND '$(OutputType)'=='library'">
1721
<PackageReference Include="NETStandard.Library" Version="$(BundledNETStandardPackageVersion)" />
1822
</ItemGroup>

build/dependencies.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@
44
<AspNetIntegrationTestingVersion>0.4.0-*</AspNetIntegrationTestingVersion>
55
<AspNetCoreVersion>2.0.0-*</AspNetCoreVersion>
66
<AutoMapperVersion>5.2.0</AutoMapperVersion>
7+
<ImmutableCollectionsVersion>1.3.1</ImmutableCollectionsVersion>
78
<InternalAspNetCoreSdkVersion>2.1.0-*</InternalAspNetCoreSdkVersion>
89
<NETStandardImplicitPackageVersion>$(BundledNETStandardPackageVersion)</NETStandardImplicitPackageVersion>
10+
<NETStandardLibraryNETFrameworkVersion>2.0.0-*</NETStandardLibraryNETFrameworkVersion>
911
<RuntimeFrameworkVersion Condition="'$(TargetFramework)'=='netcoreapp2.0'">2.0.0-*</RuntimeFrameworkVersion>
12+
<NowinVersion>0.11.0</NowinVersion>
13+
<OwinVersion>3.0.1</OwinVersion>
1014
<TestSdkVersion>15.3.0-*</TestSdkVersion>
1115
<XunitVersion>2.3.0-beta2-*</XunitVersion>
1216
</PropertyGroup>

samples/Antiforgery.Angular1/Antiforgery.Angular1.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<PropertyGroup>
66
<IsPackable>false</IsPackable>
7-
<TargetFramework>netcoreapp2.0</TargetFramework>
7+
<TargetFrameworks>netcoreapp2.0;net461</TargetFrameworks>
88
</PropertyGroup>
99

1010
<ItemGroup>
@@ -19,4 +19,8 @@
1919
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="$(AspNetCoreVersion)" />
2020
</ItemGroup>
2121

22+
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
23+
<PackageReference Include="NETStandard.Library.NETFramework" Version="$(NETStandardLibraryNETFrameworkVersion)" />
24+
</ItemGroup>
25+
2226
</Project>

samples/Antiforgery.MvcWithAuthAndAjax/Antiforgery.MvcWithAuthAndAjax.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<PropertyGroup>
66
<IsPackable>false</IsPackable>
7-
<TargetFramework>netcoreapp2.0</TargetFramework>
7+
<TargetFrameworks>netcoreapp2.0;net461</TargetFrameworks>
88
</PropertyGroup>
99

1010
<ItemGroup>
@@ -19,4 +19,8 @@
1919
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="$(AspNetCoreVersion)" />
2020
</ItemGroup>
2121

22+
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
23+
<PackageReference Include="NETStandard.Library.NETFramework" Version="$(NETStandardLibraryNETFrameworkVersion)" />
24+
</ItemGroup>
25+
2226
</Project>

samples/Builder.Filtering.Web/Builder.Filtering.Web.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<PropertyGroup>
66
<IsPackable>false</IsPackable>
7-
<TargetFramework>netcoreapp2.0</TargetFramework>
7+
<TargetFrameworks>netcoreapp2.0;net461</TargetFrameworks>
88
<RuntimeIdentifiers>win7-x86;win7-x64;linux-x64;osx-x64</RuntimeIdentifiers>
99
</PropertyGroup>
1010

@@ -15,4 +15,8 @@
1515
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="$(AspNetCoreVersion)" />
1616
</ItemGroup>
1717

18+
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
19+
<PackageReference Include="NETStandard.Library.NETFramework" Version="$(NETStandardLibraryNETFrameworkVersion)" />
20+
</ItemGroup>
21+
1822
</Project>

samples/Builder.HelloWorld.Web/Builder.HelloWorld.Web.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<PropertyGroup>
66
<IsPackable>false</IsPackable>
7-
<TargetFramework>netcoreapp2.0</TargetFramework>
7+
<TargetFrameworks>netcoreapp2.0;net461</TargetFrameworks>
88
<RuntimeIdentifiers>win7-x86;win7-x64;linux-x64;osx-x64</RuntimeIdentifiers>
99
</PropertyGroup>
1010

@@ -15,4 +15,8 @@
1515
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="$(AspNetCoreVersion)" />
1616
</ItemGroup>
1717

18+
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
19+
<PackageReference Include="NETStandard.Library.NETFramework" Version="$(NETStandardLibraryNETFrameworkVersion)" />
20+
</ItemGroup>
21+
1822
</Project>

samples/Builder.Middleware.Web/Builder.Middleware.Web.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<PropertyGroup>
66
<IsPackable>false</IsPackable>
7-
<TargetFramework>netcoreapp2.0</TargetFramework>
7+
<TargetFrameworks>netcoreapp2.0;net461</TargetFrameworks>
88
<RuntimeIdentifiers>win7-x86;win7-x64;linux-x64;osx-x64</RuntimeIdentifiers>
99
</PropertyGroup>
1010

@@ -15,4 +15,8 @@
1515
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="$(AspNetCoreVersion)" />
1616
</ItemGroup>
1717

18+
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
19+
<PackageReference Include="NETStandard.Library.NETFramework" Version="$(NETStandardLibraryNETFrameworkVersion)" />
20+
</ItemGroup>
21+
1822
</Project>

samples/Config.CustomConfigurationProviders.Sample/Config.CustomConfigurationProviders.Sample.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44

55
<PropertyGroup>
66
<IsPackable>false</IsPackable>
7-
<TargetFramework>netcoreapp2.0</TargetFramework>
7+
<TargetFrameworks>netcoreapp2.0;net461</TargetFrameworks>
88
<OutputType>Exe</OutputType>
99
</PropertyGroup>
1010

1111
<ItemGroup>
1212
<PackageReference Include="Microsoft.Extensions.Configuration" Version="$(AspNetCoreVersion)" />
1313
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="$(AspNetCoreVersion)" />
14+
<PackageReference Include="System.Collections.Immutable" Version="$(ImmutableCollectionsVersion)" />
1415
</ItemGroup>
1516

1617
</Project>

samples/Config.CustomProviders.Web/Config.CustomProviders.Web.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<PropertyGroup>
66
<IsPackable>false</IsPackable>
7-
<TargetFramework>netcoreapp2.0</TargetFramework>
7+
<TargetFrameworks>netcoreapp2.0;net461</TargetFrameworks>
88
</PropertyGroup>
99

1010
<ItemGroup>
@@ -14,4 +14,8 @@
1414
<PackageReference Include="Microsoft.Extensions.Configuration" Version="$(AspNetCoreVersion)" />
1515
</ItemGroup>
1616

17+
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
18+
<PackageReference Include="NETStandard.Library.NETFramework" Version="$(NETStandardLibraryNETFrameworkVersion)" />
19+
</ItemGroup>
20+
1721
</Project>

0 commit comments

Comments
 (0)