|
3 | 3 | <Import Project="..\..\SdkProjects.props" /> |
4 | 4 |
|
5 | 5 | <PropertyGroup> |
6 | | - <TargetFramework>net472</TargetFramework> |
| 6 | + <TargetFrameworks>net472;netstandard2.1</TargetFrameworks> |
7 | 7 | <Description>Services library for NuGet Gallery Frontend and Backend</Description> |
8 | 8 | </PropertyGroup> |
9 | 9 |
|
|
19 | 19 | </AssemblyAttribute> |
20 | 20 | </ItemGroup> |
21 | 21 |
|
22 | | - <ItemGroup> |
| 22 | + <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'"> |
| 23 | + <Compile Remove="AccountManagement\*.cs" /> |
| 24 | + <Compile Remove="Authentication\**\*.cs" /> |
| 25 | + <Compile Remove="Configuration\**\*.cs" /> |
| 26 | + <Compile Remove="Diagnostics\*.cs" /> |
| 27 | + <Compile Remove="Extensions\*.cs" /> |
| 28 | + <Compile Remove="Helpers\*.cs" /> |
| 29 | + <Compile Remove="Mail\**\*.cs" /> |
| 30 | + <Compile Remove="Models\*.cs" /> |
| 31 | + <Compile Remove="PackageManagement\*.cs" /> |
| 32 | + <Compile Remove="Permissions\*.cs" /> |
| 33 | + <Compile Remove="Properties\*.cs" /> |
| 34 | + <Compile Remove="Providers\*.cs" /> |
| 35 | + <Compile Remove="Security\*.cs" /> |
| 36 | + <Compile Remove="Storage\*.cs" /> |
| 37 | + <Compile Remove="SupportRequest\ISupportRequestService.cs" /> |
| 38 | + <Compile Remove="SupportRequest\SupportRequestService.cs" /> |
| 39 | + <Compile Remove="Telemetry\ITelemetryService.cs" /> |
| 40 | + <Compile Remove="Telemetry\Obfuscator.cs" /> |
| 41 | + <Compile Remove="Telemetry\QuietLog.cs" /> |
| 42 | + <Compile Remove="Telemetry\TelemetryService.cs" /> |
| 43 | + <Compile Remove="Telemetry\UserPackageDeleteEvent.cs" /> |
| 44 | + <Compile Remove="Telemetry\UserPackageDeleteOutcome.cs" /> |
| 45 | + <Compile Remove="UserManagement\*.cs" /> |
| 46 | + </ItemGroup> |
| 47 | + |
| 48 | + <ItemGroup Condition="'$(TargetFramework)' == 'net472'"> |
23 | 49 | <Reference Include="System.Configuration" /> |
24 | 50 | <Reference Include="System.Web.Extensions" /> |
25 | 51 | </ItemGroup> |
|
29 | 55 | </ItemGroup> |
30 | 56 |
|
31 | 57 | <ItemGroup> |
32 | | - <PackageReference Include="EntityFramework"> |
33 | | - <Version>6.4.0-preview3-19553-01</Version> |
34 | | - </PackageReference> |
35 | 58 | <PackageReference Include="Microsoft.ApplicationInsights"> |
36 | 59 | <Version>2.12.0</Version> |
37 | 60 | </PackageReference> |
| 61 | + </ItemGroup> |
| 62 | + |
| 63 | + <ItemGroup Condition="'$(TargetFramework)' == 'net472'"> |
38 | 64 | <PackageReference Include="Microsoft.AspNet.Mvc"> |
39 | 65 | <Version>5.2.3</Version> |
40 | 66 | </PackageReference> |
|
0 commit comments