|
1 | | -<Project Sdk="Microsoft.NET.Sdk"> |
2 | | - |
3 | | - <PropertyGroup> |
4 | | - <TargetFrameworks>net472;net6.0</TargetFrameworks> |
5 | | - <AssemblyName>Moq.Tests</AssemblyName> |
6 | | - <DebugSymbols>True</DebugSymbols> |
7 | | - <DebugType>portable</DebugType> |
8 | | - <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles> |
9 | | - <LangVersion>10.0</LangVersion> |
10 | | - <IsPackable>False</IsPackable> |
11 | | - <NoWarn>$(NoWarn);CS8032</NoWarn> |
12 | | - </PropertyGroup> |
13 | | - |
14 | | - <PropertyGroup Condition=" '$(TargetFramework)' == 'net472' "> |
15 | | - <DefineConstants>$(DefineConstants);FEATURE_DYNAMICPROXY_SERIALIZABLE_PROXIES;FEATURE_EF;FEATURE_SYSTEM_WEB;FEATURE_SYSTEM_WINDOWS_FORMS</DefineConstants> |
16 | | - </PropertyGroup> |
17 | | - <PropertyGroup Condition=" '$(TargetFramework)' == 'net6.0' "> |
18 | | - <DefineConstants>$(DefineConstants);FEATURE_DEFAULT_INTERFACE_IMPLEMENTATIONS</DefineConstants> |
19 | | - </PropertyGroup> |
20 | | - |
21 | | - <ItemGroup> |
22 | | - <ProjectReference Include="..\Moq\Moq.csproj" /> |
23 | | - <ProjectReference Include="..\Moq.Tests.FSharpTypes\Moq.Tests.FSharpTypes.fsproj" /> |
24 | | - </ItemGroup> |
25 | | - |
26 | | - <ItemGroup> |
27 | | - <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" /> |
28 | | - <PackageReference Include="xunit" Version="2.5.0" /> |
29 | | - <PackageReference Include="xunit.runner.visualstudio" Version="2.5.0" /> |
30 | | - <PackageReference Include="Castle.Core" Version="5.1.1" /> |
31 | | - <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" /> |
32 | | - <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All" /> |
33 | | - <PackageReference Include="System.ValueTuple" Version="4.5.0" /> |
34 | | - </ItemGroup> |
35 | | - |
36 | | - <ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' "> |
37 | | - <PackageReference Include="System.Collections.Specialized" Version="4.3.0" /> |
38 | | - <PackageReference Include="System.ComponentModel.Primitives" Version="4.3.0" /> |
39 | | - <PackageReference Include="System.Diagnostics.TraceSource" Version="4.3.0" /> |
40 | | - <PackageReference Include="System.ServiceModel.Primitives" Version="6.0.0" /> |
41 | | - </ItemGroup> |
42 | | - |
43 | | - <ItemGroup> |
44 | | - <Reference Include="Moq.Tests.ComTypes"> |
45 | | - <HintPath>..\Moq.Tests.ComTypes\Moq.Tests.ComTypes.dll</HintPath> |
46 | | - </Reference> |
47 | | - </ItemGroup> |
48 | | - |
49 | | - <ItemGroup Condition=" $([System.Text.RegularExpressions.Regex]::IsMatch('$(DefineConstants)', 'FEATURE_EF'))"> |
50 | | - <PackageReference Include="EntityFramework" Version="6.4.4" /> |
51 | | - </ItemGroup> |
52 | | - |
53 | | - <ItemGroup Condition=" $([System.Text.RegularExpressions.Regex]::IsMatch('$(DefineConstants)', 'FEATURE_SYSTEM_WEB'))"> |
54 | | - <Reference Include="System.Web" /> |
55 | | - </ItemGroup> |
56 | | - |
57 | | - <ItemGroup Condition=" $([System.Text.RegularExpressions.Regex]::IsMatch('$(DefineConstants)', 'FEATURE_SYSTEM_WINDOWS_FORMS'))"> |
58 | | - <Reference Include="System.Windows.Forms" /> |
59 | | - </ItemGroup> |
60 | | - |
61 | | -</Project> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFrameworks>net472;net6.0</TargetFrameworks> |
| 5 | + <AssemblyName>Moq.Tests</AssemblyName> |
| 6 | + <DebugSymbols>True</DebugSymbols> |
| 7 | + <DebugType>portable</DebugType> |
| 8 | + <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles> |
| 9 | + <LangVersion>10.0</LangVersion> |
| 10 | + <IsPackable>False</IsPackable> |
| 11 | + <NoWarn>$(NoWarn);CS8032</NoWarn> |
| 12 | + </PropertyGroup> |
| 13 | + |
| 14 | + <PropertyGroup Condition=" '$(TargetFramework)' == 'net472' "> |
| 15 | + <DefineConstants>$(DefineConstants);FEATURE_DYNAMICPROXY_SERIALIZABLE_PROXIES;FEATURE_EF;FEATURE_SYSTEM_WEB;FEATURE_SYSTEM_WINDOWS_FORMS</DefineConstants> |
| 16 | + </PropertyGroup> |
| 17 | + <PropertyGroup Condition=" '$(TargetFramework)' == 'net6.0' "> |
| 18 | + <DefineConstants>$(DefineConstants);FEATURE_DEFAULT_INTERFACE_IMPLEMENTATIONS</DefineConstants> |
| 19 | + </PropertyGroup> |
| 20 | + |
| 21 | + <ItemGroup> |
| 22 | + <ProjectReference Include="..\Moq\Moq.csproj" /> |
| 23 | + <ProjectReference Include="..\Moq.Tests.FSharpTypes\Moq.Tests.FSharpTypes.fsproj" /> |
| 24 | + </ItemGroup> |
| 25 | + |
| 26 | + <ItemGroup> |
| 27 | + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" /> |
| 28 | + <PackageReference Include="xunit" Version="2.9.0" /> |
| 29 | + <PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" /> |
| 30 | + <PackageReference Include="Castle.Core" Version="5.1.1" /> |
| 31 | + <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" /> |
| 32 | + <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All" /> |
| 33 | + <PackageReference Include="System.ValueTuple" Version="4.5.0" /> |
| 34 | + </ItemGroup> |
| 35 | + |
| 36 | + <ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' "> |
| 37 | + <PackageReference Include="System.Collections.Specialized" Version="4.3.0" /> |
| 38 | + <PackageReference Include="System.ComponentModel.Primitives" Version="4.3.0" /> |
| 39 | + <PackageReference Include="System.Diagnostics.TraceSource" Version="4.3.0" /> |
| 40 | + <PackageReference Include="System.ServiceModel.Primitives" Version="6.0.0" /> |
| 41 | + </ItemGroup> |
| 42 | + |
| 43 | + <ItemGroup> |
| 44 | + <Reference Include="Moq.Tests.ComTypes"> |
| 45 | + <HintPath>..\Moq.Tests.ComTypes\Moq.Tests.ComTypes.dll</HintPath> |
| 46 | + </Reference> |
| 47 | + </ItemGroup> |
| 48 | + |
| 49 | + <ItemGroup Condition=" $([System.Text.RegularExpressions.Regex]::IsMatch('$(DefineConstants)', 'FEATURE_EF'))"> |
| 50 | + <PackageReference Include="EntityFramework" Version="6.4.4" /> |
| 51 | + </ItemGroup> |
| 52 | + |
| 53 | + <ItemGroup Condition=" $([System.Text.RegularExpressions.Regex]::IsMatch('$(DefineConstants)', 'FEATURE_SYSTEM_WEB'))"> |
| 54 | + <Reference Include="System.Web" /> |
| 55 | + </ItemGroup> |
| 56 | + |
| 57 | + <ItemGroup Condition=" $([System.Text.RegularExpressions.Regex]::IsMatch('$(DefineConstants)', 'FEATURE_SYSTEM_WINDOWS_FORMS'))"> |
| 58 | + <Reference Include="System.Windows.Forms" /> |
| 59 | + </ItemGroup> |
| 60 | + |
| 61 | +</Project> |
0 commit comments