Skip to content

Commit 366ecd8

Browse files
committed
fixed a build issue
1 parent bae7334 commit 366ecd8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Libraries/Package.ps1

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@ ForEach ($p in $client_projects) {
2424
Continue;
2525
}
2626

27+
$isWebApi = ($($p.Name) -eq "Exceptionless.WebApi") -or ($($p.Name) -eq "Exceptionless.WebApi.Signed")
28+
If ($isWebApi -and ($($b.TargetFrameworkVersionProperty) -ne "NET45")) {
29+
Continue;
30+
}
31+
32+
# Temporary fix for nlog until https://github.com/NLog/NLog/issues/729 is fixed.
33+
$isNLog = ($($p.Name) -eq "Exceptionless.NLog") -or ($($p.Name) -eq "Exceptionless.NLog.Signed")
34+
If ($isNLog -and ($($b.TargetFrameworkVersionProperty) -ne "NET45")) {
35+
Continue;
36+
}
37+
2738
$buildDirectory = "$build_dir\$configuration\$($p.Name)\lib\$($b.NuGetDir)"
2839
$workingLibDirectory = "$workingDirectory\lib\$($b.NuGetDir)"
2940
Create-Directory $workingLibDirectory

0 commit comments

Comments
 (0)