|
19 | 19 | <SignAssembly>true</SignAssembly> |
20 | 20 | <AssemblyOriginatorKeyFile>package.snk</AssemblyOriginatorKeyFile> |
21 | 21 | <DelaySign>false</DelaySign> |
| 22 | + <TargetFrameworks>netstandard2.0;net47;net46;net45;netcoreapp2.0</TargetFrameworks> |
22 | 23 | </PropertyGroup> |
23 | | - |
24 | | - <ItemGroup> |
25 | | - <Reference Include="System.Configuration" /> |
26 | | - </ItemGroup> |
27 | 24 |
|
28 | 25 | <ItemGroup> |
29 | 26 | <Compile Update="Properties\Resources.Designer.cs"> |
|
40 | 37 | </EmbeddedResource> |
41 | 38 | </ItemGroup> |
42 | 39 |
|
43 | | - |
| 40 | + |
44 | 41 | <PropertyGroup Condition=" '$(Configuration)' == 'Release' "> |
45 | 42 | <GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
46 | | - <TargetFrameworks>net47;net46;net45;</TargetFrameworks> |
47 | 43 | <OutputPath>$(SolutionDir)lib</OutputPath> |
48 | 44 | </PropertyGroup> |
49 | 45 |
|
50 | 46 | <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> |
51 | | - <DebugType>Full</DebugType> |
52 | 47 | <GeneratePackageOnBuild>false</GeneratePackageOnBuild> |
53 | | - <TargetFramework>net47</TargetFramework> |
| 48 | + <DebugType>Full</DebugType> |
54 | 49 | </PropertyGroup> |
55 | | - |
| 50 | + |
56 | 51 |
|
57 | 52 | <PropertyGroup> |
58 | 53 | <UnityAbstractions>..\..\Abstractions\src\Unity.Abstractions.csproj</UnityAbstractions> |
|
66 | 61 | <PackageReference Include="Unity.Abstractions" Version="$(UnityAbstractionsVersion)" /> |
67 | 62 | </ItemGroup> |
68 | 63 |
|
| 64 | + <ItemGroup Condition="'$(TargetFramework)' == 'net45'"> |
| 65 | + <Reference Include="System.Configuration" /> |
| 66 | + </ItemGroup> |
| 67 | + |
| 68 | + <ItemGroup Condition="'$(TargetFramework)' == 'net46'"> |
| 69 | + <Reference Include="System.Configuration" /> |
| 70 | + </ItemGroup> |
| 71 | + |
| 72 | + <ItemGroup Condition="'$(TargetFramework)' == 'net47'"> |
| 73 | + <PackageReference Include="System.Configuration.ConfigurationManager"> |
| 74 | + <Version>4.4.1</Version> |
| 75 | + </PackageReference> |
| 76 | + </ItemGroup> |
| 77 | + |
| 78 | + <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> |
| 79 | + <PackageReference Include="System.Configuration.ConfigurationManager"> |
| 80 | + <Version>4.4.1</Version> |
| 81 | + </PackageReference> |
| 82 | + </ItemGroup> |
| 83 | + |
| 84 | + <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'"> |
| 85 | + <PackageReference Include="System.Configuration.ConfigurationManager"> |
| 86 | + <Version>4.4.1</Version> |
| 87 | + </PackageReference> |
| 88 | + </ItemGroup> |
| 89 | + |
69 | 90 | </Project> |
0 commit comments