@@ -32,7 +32,7 @@ public void It_collects_TargetFramework_version_and_other_properties()
32
32
buildCommand
33
33
. Execute ( TelemetryTestLogger )
34
34
. StdOut . Should ( )
35
- . Contain ( $ "{{\" EventName\" :\" targetframeworkeval\" ,\" Properties\" :{{\" TargetFrameworkVersion\" :\" .NETCoreApp,Version=v{ ToolsetInfo . CurrentTargetFrameworkVersion } \" ,\" RuntimeIdentifier\" :\" null\" ,\" SelfContained\" :\" null\" ,\" UseApphost\" :\" null\" ,\" OutputType\" :\" Library\" ,\" UseArtifactsOutput\" :\" null\" ,\" ArtifactsPathLocationType\" :\" null\" ,\" TargetPlatformIdentifier\" :\" null\" ,\" UseMonoRuntime\" :\" null\" ,\" PublishAot\" :\" null\" }}") ;
35
+ . Contain ( $ "{{\" EventName\" :\" targetframeworkeval\" ,\" Properties\" :{{\" TargetFrameworkVersion\" :\" .NETCoreApp,Version=v{ ToolsetInfo . CurrentTargetFrameworkVersion } \" ,\" RuntimeIdentifier\" :\" null\" ,\" SelfContained\" :\" null\" ,\" UseApphost\" :\" null\" ,\" OutputType\" :\" Library\" ,\" UseArtifactsOutput\" :\" null\" ,\" ArtifactsPathLocationType\" :\" null\" ,\" TargetPlatformIdentifier\" :\" null\" ,\" UseMonoRuntime\" :\" null\" ,\" PublishAot\" :\" null\" , \" Configuration \" : \" Debug \" }}") ;
36
36
}
37
37
38
38
[ CoreMSBuildOnlyFact ]
@@ -60,10 +60,10 @@ public void It_collects_multi_TargetFramework_version_and_other_properties()
60
60
result
61
61
. StdOut . Should ( )
62
62
. Contain (
63
- "{\" EventName\" :\" targetframeworkeval\" ,\" Properties\" :{\" TargetFrameworkVersion\" :\" .NETFramework,Version=v4.6\" ,\" RuntimeIdentifier\" :\" null\" ,\" SelfContained\" :\" null\" ,\" UseApphost\" :\" null\" ,\" OutputType\" :\" Library\" ,\" UseArtifactsOutput\" :\" null\" ,\" ArtifactsPathLocationType\" :\" null\" ,\" TargetPlatformIdentifier\" :\" null \" ,\" UseMonoRuntime\" :\" null\" ,\" PublishAot\" :\" null\" } }" )
63
+ "{\" EventName\" :\" targetframeworkeval\" ,\" Properties\" :{\" TargetFrameworkVersion\" :\" .NETFramework,Version=v4.6\" ,\" RuntimeIdentifier\" :\" null\" ,\" SelfContained\" :\" null\" ,\" UseApphost\" :\" null\" ,\" OutputType\" :\" Library\" ,\" UseArtifactsOutput\" :\" null\" ,\" ArtifactsPathLocationType\" :\" null\" ,\" TargetPlatformIdentifier\" :\" Windows \" ,\" UseMonoRuntime\" :\" null\" ,\" PublishAot\" :\" null\" , \" Configuration \" : \" Debug \" }" )
64
64
. And
65
65
. Contain (
66
- $ "{{\" EventName\" :\" targetframeworkeval\" ,\" Properties\" :{{\" TargetFrameworkVersion\" :\" .NETCoreApp,Version=v{ ToolsetInfo . CurrentTargetFrameworkVersion } \" ,\" RuntimeIdentifier\" :\" null\" ,\" SelfContained\" :\" null\" ,\" UseApphost\" :\" null\" ,\" OutputType\" :\" Library\" ,\" UseArtifactsOutput\" :\" null\" ,\" ArtifactsPathLocationType\" :\" null\" ,\" TargetPlatformIdentifier\" :\" null\" ,\" UseMonoRuntime\" :\" null\" ,\" PublishAot\" :\" null\" }}") ;
66
+ $ "{{\" EventName\" :\" targetframeworkeval\" ,\" Properties\" :{{\" TargetFrameworkVersion\" :\" .NETCoreApp,Version=v{ ToolsetInfo . CurrentTargetFrameworkVersion } \" ,\" RuntimeIdentifier\" :\" null\" ,\" SelfContained\" :\" null\" ,\" UseApphost\" :\" null\" ,\" OutputType\" :\" Library\" ,\" UseArtifactsOutput\" :\" null\" ,\" ArtifactsPathLocationType\" :\" null\" ,\" TargetPlatformIdentifier\" :\" null\" ,\" UseMonoRuntime\" :\" null\" ,\" PublishAot\" :\" null\" , \" Configuration \" : \" Debug \" }}") ;
67
67
}
68
68
}
69
69
}
0 commit comments