forked from dotnet/wcf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wcf.targets
50 lines (39 loc) · 1.66 KB
/
wcf.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
Overrides for WCF
-->
<PropertyGroup>
<CoreCompileDependsOn>EnsureAssemblyInfoFileDirExists;$(CoreCompileDependsOn)</CoreCompileDependsOn>
</PropertyGroup>
<Target Name="EnsureAssemblyInfoFileDirExists">
<Error Condition="!Exists('$(BaseIntermediateOutputPath)')" Text="EnsureAssemblyInfoFileDirExists failed because BaseIntermediateOutputPath isn't set to a valid directory" />
<MakeDir Directories="$(AssemblyInfoFileDir)" />
</Target>
<PropertyGroup>
<WcfRootFolder>$(MSBuildThisFileDirectory)</WcfRootFolder>
</PropertyGroup>
<PropertyGroup Condition="'$(BridgeResourceFolder)' == ''">
<BridgeResourceFolder>$(WcfRootFolder)bin\Wcf\Bridge\Resources\</BridgeResourceFolder>
</PropertyGroup>
<PropertyGroup Condition="'$(BridgeHost)' == ''">
<BridgeHost>localhost</BridgeHost>
</PropertyGroup>
<PropertyGroup Condition="'$(BridgePort)' == ''">
<BridgePort>44283</BridgePort>
</PropertyGroup>
<PropertyGroup Condition="'$(BridgeHttpPort)' == ''">
<BridgeHttpPort>8081</BridgeHttpPort>
</PropertyGroup>
<PropertyGroup Condition="'$(BridgeHttpsPort)' == ''">
<BridgeHttpsPort>44285</BridgeHttpsPort>
</PropertyGroup>
<PropertyGroup Condition="'$(BridgeTcpPort)' == ''">
<BridgeTcpPort>809</BridgeTcpPort>
</PropertyGroup>
<PropertyGroup Condition="'$(BridgeWebSocketPort)' == ''">
<BridgeWebSocketPort>8083</BridgeWebSocketPort>
</PropertyGroup>
<PropertyGroup Condition="'$(WcfToolsOutputPath)' == ''">
<WcfToolsOutputPath>$(WcfRootFolder)bin\Wcf\tools\</WcfToolsOutputPath>
</PropertyGroup>
</Project>