@@ -22,7 +22,9 @@ public void BuildPackaged(string id, string framework, string config)
22
22
23
23
// TODO: remove this if as we should be able to build tizen net8
24
24
if ( framework != DotNetPrevious )
25
+ {
25
26
EnableTizen ( projectFile ) ;
27
+ }
26
28
27
29
if ( framework == DotNetPrevious )
28
30
{
@@ -54,7 +56,9 @@ public void BuildPackaged(string id, string framework, string config)
54
56
public void BuildWindowsAppSDKSelfContained ( string id , bool wasdkself , bool netself , string packageType )
55
57
{
56
58
if ( TestEnvironment . IsMacOS )
59
+ {
57
60
Assert . Ignore ( "This test is designed for testing a windows build." ) ;
61
+ }
58
62
59
63
var projectDir = TestDirectory ;
60
64
var projectFile = Path . Combine ( projectDir , $ "{ Path . GetFileName ( projectDir ) } .csproj") ;
@@ -82,10 +86,12 @@ public void BuildWindowsAppSDKSelfContained(string id, bool wasdkself, bool nets
82
86
[ TestCase ( "maui" , true , "MSIX" ) ]
83
87
[ TestCase ( "maui" , false , "None" ) ]
84
88
[ TestCase ( "maui" , false , "MSIX" ) ]
85
- public void BuildWindowsRidGraph ( string id , bool useridgraph , string packageType )
89
+ public void BuildWindowsRidGraph ( string id , bool useRidGraph , string packageType )
86
90
{
87
91
if ( TestEnvironment . IsMacOS )
92
+ {
88
93
Assert . Ignore ( "This test is designed for testing a windows build." ) ;
94
+ }
89
95
90
96
var projectDir = TestDirectory ;
91
97
var projectFile = Path . Combine ( projectDir , $ "{ Path . GetFileName ( projectDir ) } .csproj") ;
@@ -96,7 +102,7 @@ public void BuildWindowsRidGraph(string id, bool useridgraph, string packageType
96
102
FileUtilities . ReplaceInFile ( projectFile ,
97
103
"<WindowsPackageType>None</WindowsPackageType>" ,
98
104
$ """
99
- <UseRidGraph>{ useridgraph } </UseRidGraph>
105
+ <UseRidGraph>{ useRidGraph } </UseRidGraph>
100
106
<WindowsPackageType>{ packageType } </WindowsPackageType>
101
107
""" ) ;
102
108
@@ -115,7 +121,9 @@ public void BuildWindowsRidGraph(string id, bool useridgraph, string packageType
115
121
public void PublishUnpackaged ( string id , string framework , string config )
116
122
{
117
123
if ( ! TestEnvironment . IsWindows )
124
+ {
118
125
Assert . Ignore ( "Running Windows templates is only supported on Windows." ) ;
126
+ }
119
127
120
128
var projectDir = TestDirectory ;
121
129
var projectFile = Path . Combine ( projectDir , $ "{ Path . GetFileName ( projectDir ) } .csproj") ;
@@ -164,7 +172,9 @@ void AssetExists(string filename)
164
172
public void PublishPackaged ( string id , string framework , string config )
165
173
{
166
174
if ( ! TestEnvironment . IsWindows )
175
+ {
167
176
Assert . Ignore ( "Running Windows templates is only supported on Windows." ) ;
177
+ }
168
178
169
179
var projectDir = TestDirectory ;
170
180
var name = Path . GetFileName ( projectDir ) ;
0 commit comments