Skip to content

Commit b59121f

Browse files
committed
Fixed an issue where WebApi was being built as .NET 4.0 when it requires 4.5
1 parent dbf3fd1 commit b59121f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Libraries/Build.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ ForEach ($p in $client_projects) {
88
Continue;
99
}
1010

11+
$isWebApi = ($($p.Name) -eq "Exceptionless.WebApi") -or ($($p.Name) -eq "Exceptionless.WebApi.Signed")
12+
If ($isWebApi -and ($($b.TargetFrameworkVersionProperty) -ne "NET45")) {
13+
Continue;
14+
}
15+
1116
$targetPortable = 'false';
1217
If ($isPclClient -and ($($b.NuGetDir) -eq "portable-net40+sl50+win+wpa81+wp80")) {
1318
$targetPortable = 'true';

0 commit comments

Comments
 (0)