@@ -235,18 +235,13 @@ jobs:
235235 mkdir test-project
236236 cd test-project
237237
238- # Verify template installed correctly
239- dotnet new --list | findstr "cleanarch"
240-
241- # Get full help to see available parameters
242- dotnet new cleanarch-fullstack --help
243-
244238 # Try with standard format first
245- $result = dotnet new cleanarch-fullstack --Organization TestCompany --ProjectName TestProject
246- # If that fails, try with -p: format
239+ dotnet new cleanarch-fullstack --Organization TestCompany --ProjectName TestProject
240+ # If that fails, try with alternative formats
247241 if (-not $?) {
248- Write-Host "Standard parameter format failed, trying -p: format..."
249- dotnet new cleanarch-fullstack -p:Organization=TestCompany -p:ProjectName=TestProject
242+ Write-Host "Standard parameter format failed, trying alternative formats..."
243+ # Try with no colon after -p
244+ dotnet new cleanarch-fullstack -p Organization=TestCompany -p ProjectName=TestProject
250245 }
251246
252247 # List files to verify creation
@@ -262,6 +257,7 @@ jobs:
262257 dotnet new cleanarch-fullstack --organization TestCompany --projectName TestProjectWithOrg
263258 if (-not $?) {
264259 Write-Host "Trying alternative parameter format"
260+ # Use separate -p parameters, one for each property
265261 dotnet new cleanarch-fullstack -p:Organization=TestCompany -p:ProjectName=TestProjectWithOrg
266262 }
267263
0 commit comments