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 >netcoreapp3.1</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.1.1.0, Culture=neutral, PublicKeyToken=17863af14b0044da, processorArchitecture=MSIL" >
39
- <HintPath >..\packages\Autofac.4.1.1\lib\net45\Autofac.dll</HintPath >
40
- <Private >True</Private >
41
- </Reference >
42
- <Reference Include =" NSubstitute, Version=1.10.0.0, Culture=neutral, PublicKeyToken=92dd2e9066daa5ca, processorArchitecture=MSIL" >
43
- <HintPath >..\packages\NSubstitute.1.10.0.0\lib\net45\NSubstitute.dll</HintPath >
44
- <Private >True</Private >
45
- </Reference >
46
- <Reference Include =" nunit.framework, Version=3.5.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL" >
47
- <HintPath >..\packages\NUnit.3.5.0\lib\net45\nunit.framework.dll</HintPath >
48
- <Private >True</Private >
49
- </Reference >
50
- <Reference Include =" System" />
51
- <Reference Include =" System.Core" />
52
- <Reference Include =" System.Xml.Linq" />
53
- <Reference Include =" System.Data.DataSetExtensions" />
54
- <Reference Include =" Microsoft.CSharp" />
55
- <Reference Include =" System.Data" />
56
- <Reference Include =" System.Xml" />
57
- </ItemGroup >
58
- <ItemGroup >
59
- <Compile Include =" AutoSubstituteCollectionFixture.cs" />
60
- <Compile Include =" AutoSubstituteFixture.cs" />
61
- <Compile Include =" KeyedRegistrationFixture.cs" />
62
- <Compile Include =" Properties\AssemblyInfo.cs" />
63
- <Compile Include =" ExampleFixture.cs" />
64
- </ItemGroup >
65
- <ItemGroup >
66
- <None Include =" packages.config" />
67
- </ItemGroup >
8
+
68
9
<ItemGroup >
69
- <ProjectReference Include =" ..\AutofacContrib.NSubstitute\AutofacContrib.NSubstitute.csproj" >
70
- <Project >{EEBE8469-AC5F-45C7-AFDF-ADA4A7718344}</Project >
71
- <Name >AutofacContrib.NSubstitute</Name >
72
- </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" />
73
15
</ItemGroup >
16
+
74
17
<ItemGroup >
75
- <Service Include =" {82A7F48D-3B50-4B1E-B82E-3ADA8210C358} " />
18
+ <ProjectReference Include =" ..\AutofacContrib.NSubstitute\AutofacContrib.NSubstitute.csproj " />
76
19
</ItemGroup >
77
- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
78
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
79
- Other similar extension points exist, see Microsoft.Common.targets.
80
- <Target Name="BeforeBuild">
81
- </Target>
82
- <Target Name="AfterBuild">
83
- </Target>
84
- -->
85
- </Project >
20
+
21
+ </Project >
0 commit comments