Skip to content

Commit

Permalink
Fix #489: NullReferenceException in WebSharperTask on mono
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarmil committed Nov 12, 2015
1 parent 774e72d commit 58dc521
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/compiler/WebSharper.MSBuild/WebSharperTask.fs
Original file line number Diff line number Diff line change
Expand Up @@ -428,9 +428,9 @@ type WebSharperTask() =
settings.Command <- this.Command
settings.Configuration <- NotNull "Release" this.Configuration
settings.DocumentationFile <- NotNull "" this.DocumentationFile
settings.EmbeddedResources <- NotNull [||] (this.EmbeddedResources |> Array.map (fun i -> i.ItemSpec))
settings.ItemInput <- NotNull [||] (this.ItemInput |> Array.map (fun i -> i.ItemSpec))
settings.ItemOutput <- NotNull [||] (this.ItemOutput |> Array.map (fun i -> i.ItemSpec))
settings.EmbeddedResources <- (NotNull [||] this.EmbeddedResources) |> Array.map (fun i -> i.ItemSpec)
settings.ItemInput <- (NotNull [||] this.ItemInput) |> Array.map (fun i -> i.ItemSpec)
settings.ItemOutput <- (NotNull [||] this.ItemOutput) |> Array.map (fun i -> i.ItemSpec)
settings.KeyOriginatorFile <- NotNull "" this.KeyOriginatorFile
settings.Log <- this.Log
settings.MSBuildProjectDirectory <- NotNull "." this.MSBuildProjectDirectory
Expand Down

0 comments on commit 58dc521

Please sign in to comment.