1
- <? xml version = " 1.0 " encoding = " utf-8 " ? >
2
- < Project ToolsVersion = " 12.0 " DefaultTargets = " Build " xmlns = " http://schemas.microsoft.com/developer/msbuild/2003 " >
1
+ <Project Sdk = " Microsoft.NET.Sdk " >
2
+
3
3
<PropertyGroup >
4
- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
5
- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
6
- <ProductVersion >8.0.30703</ProductVersion >
7
- <SchemaVersion >2.0</SchemaVersion >
8
- <ProjectGuid >{96B28666-6683-4E05-9C9D-F44EA176A5FA}</ProjectGuid >
9
- <OutputType >Library</OutputType >
10
- <AppDesignerFolder >Properties</AppDesignerFolder >
11
- <RootNamespace >AutofacContrib.NSubstitute.Tests</RootNamespace >
12
- <AssemblyName >AutofacContrib.NSubstitute.Tests</AssemblyName >
13
- <TargetFrameworkVersion >v4.5.2</TargetFrameworkVersion >
14
- <FileAlignment >512</FileAlignment >
15
- <SolutionDir Condition =" $(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'" >..\</SolutionDir >
16
- <TargetFrameworkProfile />
4
+ <TargetFramework >netcoreapp2.2</TargetFramework >
5
+
6
+ <IsPackable >false</IsPackable >
17
7
</PropertyGroup >
18
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
19
- <DebugSymbols >true</DebugSymbols >
20
- <DebugType >full</DebugType >
21
- <Optimize >false</Optimize >
22
- <OutputPath >bin\Debug\</OutputPath >
23
- <DefineConstants >DEBUG;TRACE</DefineConstants >
24
- <ErrorReport >prompt</ErrorReport >
25
- <WarningLevel >4</WarningLevel >
26
- <Prefer32Bit >false</Prefer32Bit >
27
- </PropertyGroup >
28
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
29
- <DebugType >pdbonly</DebugType >
30
- <Optimize >true</Optimize >
31
- <OutputPath >bin\Release\</OutputPath >
32
- <DefineConstants >TRACE</DefineConstants >
33
- <ErrorReport >prompt</ErrorReport >
34
- <WarningLevel >4</WarningLevel >
35
- <Prefer32Bit >false</Prefer32Bit >
36
- </PropertyGroup >
37
- <ItemGroup >
38
- <Reference Include =" Autofac, Version=4.6.2.0, Culture=neutral, PublicKeyToken=17863af14b0044da, processorArchitecture=MSIL" >
39
- <HintPath >..\packages\Autofac.4.6.2\lib\net45\Autofac.dll</HintPath >
40
- </Reference >
41
- <Reference Include =" Castle.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL" >
42
- <HintPath >..\packages\Castle.Core.4.2.0\lib\net45\Castle.Core.dll</HintPath >
43
- </Reference >
44
- <Reference Include =" NSubstitute, Version=3.1.0.0, Culture=neutral, PublicKeyToken=92dd2e9066daa5ca, processorArchitecture=MSIL" >
45
- <HintPath >..\packages\NSubstitute.3.1.0\lib\net45\NSubstitute.dll</HintPath >
46
- </Reference >
47
- <Reference Include =" nunit.framework, Version=3.5.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL" >
48
- <HintPath >..\packages\NUnit.3.5.0\lib\net45\nunit.framework.dll</HintPath >
49
- <Private >True</Private >
50
- </Reference >
51
- <Reference Include =" System" />
52
- <Reference Include =" System.Configuration" />
53
- <Reference Include =" System.Core" />
54
- <Reference Include =" System.Drawing" />
55
- <Reference Include =" System.IO.Compression.FileSystem" />
56
- <Reference Include =" System.Numerics" />
57
- <Reference Include =" System.Runtime.Serialization" />
58
- <Reference Include =" System.Threading.Tasks.Extensions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" >
59
- <HintPath >..\packages\System.Threading.Tasks.Extensions.4.3.0\lib\portable-net45+win8+wp8+wpa81\System.Threading.Tasks.Extensions.dll</HintPath >
60
- </Reference >
61
- <Reference Include =" System.Xml.Linq" />
62
- <Reference Include =" System.Data.DataSetExtensions" />
63
- <Reference Include =" Microsoft.CSharp" />
64
- <Reference Include =" System.Data" />
65
- <Reference Include =" System.Xml" />
66
- </ItemGroup >
67
- <ItemGroup >
68
- <Compile Include =" AutoSubstituteCollectionFixture.cs" />
69
- <Compile Include =" AutoSubstituteFixture.cs" />
70
- <Compile Include =" KeyedRegistrationFixture.cs" />
71
- <Compile Include =" Properties\AssemblyInfo.cs" />
72
- <Compile Include =" ExampleFixture.cs" />
73
- </ItemGroup >
74
- <ItemGroup >
75
- <None Include =" packages.config" />
76
- </ItemGroup >
8
+
77
9
<ItemGroup >
78
- <ProjectReference Include =" ..\AutofacContrib.NSubstitute\AutofacContrib.NSubstitute.csproj" >
79
- <Project >{EEBE8469-AC5F-45C7-AFDF-ADA4A7718344}</Project >
80
- <Name >AutofacContrib.NSubstitute</Name >
81
- </ProjectReference >
10
+ <PackageReference Include =" Autofac" Version =" 4.9.4" />
11
+ <PackageReference Include =" NSubstitute" Version =" 4.2.1" />
12
+ <PackageReference Include =" nunit" Version =" 3.12.0" />
13
+ <PackageReference Include =" NUnit3TestAdapter" Version =" 3.15.1" />
14
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.2.0" />
82
15
</ItemGroup >
16
+
83
17
<ItemGroup >
84
- <Service Include =" {82A7F48D-3B50-4B1E-B82E-3ADA8210C358} " />
18
+ <ProjectReference Include =" ..\AutofacContrib.NSubstitute\AutofacContrib.NSubstitute.csproj " />
85
19
</ItemGroup >
86
- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
87
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
88
- Other similar extension points exist, see Microsoft.Common.targets.
89
- <Target Name="BeforeBuild">
90
- </Target>
91
- <Target Name="AfterBuild">
92
- </Target>
93
- -->
94
- </Project >
20
+
21
+ </Project >
0 commit comments