Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix #3275 (pack localized assemblies with new .csproj)
  • Loading branch information
Lysogorskiy Aleksey
Lysogorskiy Aleksey committed Jul 1, 2018
commit 0f4dc5facf3f7910e36ae2f4f22161551d5aa90a
18 changes: 9 additions & 9 deletions integrationtests/Paket.IntegrationTests/PackSpecs.fs
Original file line number Diff line number Diff line change
Expand Up @@ -373,19 +373,19 @@ let ``#1816 pack localized happy path`` () =
CleanDir rootPath

[<Test>]
let ``#1816 pack localized when satellite dll is missing`` () =
let scenario = "i001816-pack-localized-missing-dll"
let ``#3275 netstandard pack localized happy path`` () =
let scenario = "i003275-pack-localized-netstandard"
let rootPath = scenarioTempPath scenario
let outPath = Path.Combine(rootPath, "out")
let package = Path.Combine(outPath, "LocalizedLib.1.0.0.0.nupkg")

let result = paket ("pack -v output \"" + outPath + "\"") scenario
let expectedMessage = "Did not find satellite assembly for (sv) try building and running pack again."
StringAssert.Contains(expectedMessage, result)
let package = Path.Combine(outPath, "LibForTest.1.0.0.nupkg")

paket ("pack -v output \"" + outPath + "\"") scenario |> ignore
ZipFile.ExtractToDirectory(package, outPath)

Path.Combine(outPath, "lib", "net45", "LocalizedLib.dll") |> checkFileExists
Path.Combine(outPath, "lib", "net45", "sv-FI", "LocalizedLib.resources.dll") |> checkFileExists
Path.Combine(outPath, "lib", "netstandard2.0", "LibForTest.dll") |> checkFileExists
Path.Combine(outPath, "lib", "netstandard2.0", "de", "LibForTest.resources.dll") |> checkFileExists
Path.Combine(outPath, "lib", "netstandard2.0", "ru", "LibForTest.resources.dll") |> checkFileExists
Path.Combine(outPath, "lib", "netstandard2.0", "en-US", "LibForTest.resources.dll") |> checkFileExists

CleanDir rootPath

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading