forked from CoreWCF/CoreWCF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
resources.props
24 lines (22 loc) · 1.45 KB
/
resources.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ResourcesSourceOutputDirectory Condition="'$(ResourcesSourceOutputDirectory)' == ''">$(MSBuildProjectDirectory)/Resources/</ResourcesSourceOutputDirectory>
<OmitResources Condition="!Exists('$(ResourcesSourceOutputDirectory)Strings.resx')">true</OmitResources>
<StringResourcesPath Condition="'$(StringResourcesPath)'=='' And Exists('$(ResourcesSourceOutputDirectory)Strings.resx')">$(ResourcesSourceOutputDirectory)Strings.resx</StringResourcesPath>
<IntermediateResOutputFileFullPath Condition="'$(OmitResources)'!='true'">$(IntermediateOutputPath)SR.cs</IntermediateResOutputFileFullPath>
<DefineConstants Condition="'$(OmitResources)'!='true' And '$(ConfigurationGroup)' == 'Debug'">$(DefineConstants);DEBUGRESOURCES</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="'$(StringResourcesPath)'!='' AND '$(OmitResources)'!='true'">
<EmbeddedResource Include="$(StringResourcesPath)">
<Visible>true</Visible>
<LogicalName>FxResources.$(AssemblyName).SR.resources</LogicalName>
</EmbeddedResource>
</ItemGroup>
<ItemGroup Condition="Exists('$(StringResourcesPath)') AND '$(OmitResources)'!='true'">
<Compile Include="$(CommonPath)/CoreWCF/SR.cs">
<Visible>true</Visible>
<Link>Resources/Common/SR.cs</Link>
</Compile>
</ItemGroup>
</Project>