@@ -26,7 +26,7 @@ public class CsProjGeneratorTests
2626
2727 [ Theory ]
2828 [ InlineData ( "net471" , false ) ]
29- [ InlineData ( "netcoreapp3.0 " , true ) ]
29+ [ InlineData ( "netcoreapp3.1 " , true ) ]
3030 public void ItsPossibleToCustomizeProjectSdkBasedOnProjectSdkFromTheProjectFile ( string targetFrameworkMoniker , bool isNetCore )
3131 {
3232 const string withCustomProjectSdk = @"
@@ -41,7 +41,7 @@ public void ItsImpossibleToCustomizeProjectSdkForFullFrameworkAppsBasedOnTheImpo
4141 {
4242 const string withCustomProjectImport = @"
4343<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 '""/>
4545</Project>
4646" ;
4747 AssertParsedSdkName ( withCustomProjectImport , "net471" , "Microsoft.NET.Sdk" , false ) ;
@@ -52,10 +52,10 @@ public void ItsPossibleToCustomizeProjectSdkForNetCoreAppsBasedOnTheImportOfSdk(
5252 {
5353 const string withCustomProjectImport = @"
5454<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 '""/>
5656</Project>
5757" ;
58- AssertParsedSdkName ( withCustomProjectImport , "netcoreapp3.0 " , "Microsoft.NET.Sdk.WindowsDesktop" , true ) ;
58+ AssertParsedSdkName ( withCustomProjectImport , "netcoreapp3.1 " , "Microsoft.NET.Sdk.WindowsDesktop" , true ) ;
5959 }
6060
6161 [ AssertionMethod ]
@@ -87,7 +87,7 @@ public void UseWpfSettingGetsCopied()
8787 </PropertyGroup>
8888</Project>
8989" ;
90- var sut = new CsProjGenerator ( "netcoreapp3.0 " , null , null , null , true ) ;
90+ var sut = new CsProjGenerator ( "netcoreapp3.1 " , null , null , null , true ) ;
9191
9292 var xmlDoc = new XmlDocument ( ) ;
9393 xmlDoc . LoadXml ( withUseWpfTrue ) ;
@@ -117,7 +117,7 @@ public void SettingsFromPropsFileImportedUsingAbsolutePathGetCopies()
117117 <Import Project=""{ propsFilePath } "" />
118118</Project>" ;
119119
120- var sut = new CsProjGenerator ( "netcoreapp3.0 " , null , null , null , true ) ;
120+ var sut = new CsProjGenerator ( "netcoreapp3.1 " , null , null , null , true ) ;
121121
122122 var xmlDoc = new XmlDocument ( ) ;
123123 xmlDoc . LoadXml ( importingAbsolutePath ) ;
@@ -149,7 +149,7 @@ public void SettingsFromPropsFileImportedUsingRelativePathGetCopies()
149149 <Import Project="".{ Path . DirectorySeparatorChar } test.props"" />
150150</Project>" ;
151151
152- var sut = new CsProjGenerator ( "netcoreapp3.0 " , null , null , null , true ) ;
152+ var sut = new CsProjGenerator ( "netcoreapp3.1 " , null , null , null , true ) ;
153153
154154 var xmlDoc = new XmlDocument ( ) ;
155155 xmlDoc . LoadXml ( importingRelativePath ) ;
@@ -171,7 +171,7 @@ public void RuntimeHostConfigurationOptionIsCopied()
171171{ runtimeHostConfigurationOptionChunk }
172172</Project>" ;
173173
174- var sut = new CsProjGenerator ( "netcoreapp3.0 " , null , null , null , true ) ;
174+ var sut = new CsProjGenerator ( "netcoreapp3.1 " , null , null , null , true ) ;
175175
176176 var xmlDoc = new XmlDocument ( ) ;
177177 xmlDoc . LoadXml ( source ) ;
@@ -196,7 +196,7 @@ public void TheDefaultFilePathShouldBeUsedWhenAnAssemblyLocationIsEmpty()
196196 var benchmarkCase = BenchmarkCase . Create ( target , Job . Default , null , config ) ;
197197
198198 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 ) ;
200200 string binariesPath = projectGenerator . ResolvePathForBinaries ( new BuildPartition ( benchmarks , new Resolver ( ) ) , programName ) ;
201201
202202 string expectedPath = Path . Combine ( Path . Combine ( Directory . GetCurrentDirectory ( ) , "BenchmarkDotNet.Bin" ) , programName ) ;
@@ -210,7 +210,7 @@ public void TestAssemblyFilePathIsUsedWhenTheAssemblyLocationIsNotEmpty()
210210 var target = new Descriptor ( MockFactory . MockType , MockFactory . MockMethodInfo ) ;
211211 var benchmarkCase = BenchmarkCase . Create ( target , Job . Default , null , ManualConfig . CreateEmpty ( ) . CreateImmutableConfig ( ) ) ;
212212 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 ) ;
214214 var buildPartition = new BuildPartition ( benchmarks , new Resolver ( ) ) ;
215215 string binariesPath = projectGenerator . ResolvePathForBinaries ( buildPartition , programName ) ;
216216
0 commit comments