Skip to content

Commit 8cfa65e

Browse files
author
Kapil Borle
committed
Fix resource generation in build script
1 parent 6af36bd commit 8cfa65e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.build.ps1

+6-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,12 @@ function Get-ResourceTaskParam($project) {
113113
@{
114114
Inputs = "$project/Strings.resx"
115115
Outputs = "$project/Strings.cs"
116-
Jobs = {& "$resourceScript $project"}
116+
Data = $project
117+
Jobs = {
118+
Push-Location $BuildRoot
119+
& $resourceScript $Task.Data
120+
Pop-Location
121+
}
117122
Before = "$project/build"
118123
}
119124
}

0 commit comments

Comments
 (0)