@@ -26,7 +26,7 @@ public class CsProjGeneratorTests
26
26
27
27
[ Theory ]
28
28
[ InlineData ( "net471" , false ) ]
29
- [ InlineData ( "netcoreapp3.0 " , true ) ]
29
+ [ InlineData ( "netcoreapp3.1 " , true ) ]
30
30
public void ItsPossibleToCustomizeProjectSdkBasedOnProjectSdkFromTheProjectFile ( string targetFrameworkMoniker , bool isNetCore )
31
31
{
32
32
const string withCustomProjectSdk = @"
@@ -41,7 +41,7 @@ public void ItsImpossibleToCustomizeProjectSdkForFullFrameworkAppsBasedOnTheImpo
41
41
{
42
42
const string withCustomProjectImport = @"
43
43
<Project Sdk=""Microsoft.NET.Sdk"">
44
- <Import Sdk=""Microsoft.NET.Sdk.WindowsDesktop"" Project=""Sdk.props"" Condition=""'$(TargetFramework)'=='netcoreapp3.0 '""/>
44
+ <Import Sdk=""Microsoft.NET.Sdk.WindowsDesktop"" Project=""Sdk.props"" Condition=""'$(TargetFramework)'=='netcoreapp3.1 '""/>
45
45
</Project>
46
46
" ;
47
47
AssertParsedSdkName ( withCustomProjectImport , "net471" , "Microsoft.NET.Sdk" , false ) ;
@@ -52,10 +52,10 @@ public void ItsPossibleToCustomizeProjectSdkForNetCoreAppsBasedOnTheImportOfSdk(
52
52
{
53
53
const string withCustomProjectImport = @"
54
54
<Project Sdk=""Microsoft.NET.Sdk"">
55
- <Import Sdk=""Microsoft.NET.Sdk.WindowsDesktop"" Project=""Sdk.props"" Condition=""'$(TargetFramework)'=='netcoreapp3.0 '""/>
55
+ <Import Sdk=""Microsoft.NET.Sdk.WindowsDesktop"" Project=""Sdk.props"" Condition=""'$(TargetFramework)'=='netcoreapp3.1 '""/>
56
56
</Project>
57
57
" ;
58
- AssertParsedSdkName ( withCustomProjectImport , "netcoreapp3.0 " , "Microsoft.NET.Sdk.WindowsDesktop" , true ) ;
58
+ AssertParsedSdkName ( withCustomProjectImport , "netcoreapp3.1 " , "Microsoft.NET.Sdk.WindowsDesktop" , true ) ;
59
59
}
60
60
61
61
[ AssertionMethod ]
@@ -87,7 +87,7 @@ public void UseWpfSettingGetsCopied()
87
87
</PropertyGroup>
88
88
</Project>
89
89
" ;
90
- var sut = new CsProjGenerator ( "netcoreapp3.0 " , null , null , null , true ) ;
90
+ var sut = new CsProjGenerator ( "netcoreapp3.1 " , null , null , null , true ) ;
91
91
92
92
var xmlDoc = new XmlDocument ( ) ;
93
93
xmlDoc . LoadXml ( withUseWpfTrue ) ;
@@ -117,7 +117,7 @@ public void SettingsFromPropsFileImportedUsingAbsolutePathGetCopies()
117
117
<Import Project=""{ propsFilePath } "" />
118
118
</Project>" ;
119
119
120
- var sut = new CsProjGenerator ( "netcoreapp3.0 " , null , null , null , true ) ;
120
+ var sut = new CsProjGenerator ( "netcoreapp3.1 " , null , null , null , true ) ;
121
121
122
122
var xmlDoc = new XmlDocument ( ) ;
123
123
xmlDoc . LoadXml ( importingAbsolutePath ) ;
@@ -149,7 +149,7 @@ public void SettingsFromPropsFileImportedUsingRelativePathGetCopies()
149
149
<Import Project="".{ Path . DirectorySeparatorChar } test.props"" />
150
150
</Project>" ;
151
151
152
- var sut = new CsProjGenerator ( "netcoreapp3.0 " , null , null , null , true ) ;
152
+ var sut = new CsProjGenerator ( "netcoreapp3.1 " , null , null , null , true ) ;
153
153
154
154
var xmlDoc = new XmlDocument ( ) ;
155
155
xmlDoc . LoadXml ( importingRelativePath ) ;
@@ -171,7 +171,7 @@ public void RuntimeHostConfigurationOptionIsCopied()
171
171
{ runtimeHostConfigurationOptionChunk }
172
172
</Project>" ;
173
173
174
- var sut = new CsProjGenerator ( "netcoreapp3.0 " , null , null , null , true ) ;
174
+ var sut = new CsProjGenerator ( "netcoreapp3.1 " , null , null , null , true ) ;
175
175
176
176
var xmlDoc = new XmlDocument ( ) ;
177
177
xmlDoc . LoadXml ( source ) ;
@@ -196,7 +196,7 @@ public void TheDefaultFilePathShouldBeUsedWhenAnAssemblyLocationIsEmpty()
196
196
var benchmarkCase = BenchmarkCase . Create ( target , Job . Default , null , config ) ;
197
197
198
198
var benchmarks = new [ ] { new BenchmarkBuildInfo ( benchmarkCase , config . CreateImmutableConfig ( ) , 999 ) } ;
199
- var projectGenerator = new SteamLoadedBuildPartition ( "netcoreapp3.0 " , null , null , null , true ) ;
199
+ var projectGenerator = new SteamLoadedBuildPartition ( "netcoreapp3.1 " , null , null , null , true ) ;
200
200
string binariesPath = projectGenerator . ResolvePathForBinaries ( new BuildPartition ( benchmarks , new Resolver ( ) ) , programName ) ;
201
201
202
202
string expectedPath = Path . Combine ( Path . Combine ( Directory . GetCurrentDirectory ( ) , "BenchmarkDotNet.Bin" ) , programName ) ;
@@ -210,7 +210,7 @@ public void TestAssemblyFilePathIsUsedWhenTheAssemblyLocationIsNotEmpty()
210
210
var target = new Descriptor ( MockFactory . MockType , MockFactory . MockMethodInfo ) ;
211
211
var benchmarkCase = BenchmarkCase . Create ( target , Job . Default , null , ManualConfig . CreateEmpty ( ) . CreateImmutableConfig ( ) ) ;
212
212
var benchmarks = new [ ] { new BenchmarkBuildInfo ( benchmarkCase , ManualConfig . CreateEmpty ( ) . CreateImmutableConfig ( ) , 0 ) } ;
213
- var projectGenerator = new SteamLoadedBuildPartition ( "netcoreapp3.0 " , null , null , null , true ) ;
213
+ var projectGenerator = new SteamLoadedBuildPartition ( "netcoreapp3.1 " , null , null , null , true ) ;
214
214
var buildPartition = new BuildPartition ( benchmarks , new Resolver ( ) ) ;
215
215
string binariesPath = projectGenerator . ResolvePathForBinaries ( buildPartition , programName ) ;
216
216
0 commit comments