forked from CoreWCF/CoreWCF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
resources.props
30 lines (28 loc) · 2.11 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
25
26
27
28
29
30
<?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>
<CommonStringResourcesPath Condition="'$(IncludeCommonCode)' == 'true' And '$(CommonStringResourcesPath)'=='' And Exists('$(CommonPath)CoreWCF/Resources/Strings.resx')">$(CommonPath)CoreWCF/Resources/Strings.resx</CommonStringResourcesPath>
<IntermediateResOutputFileFullPath Condition="'$(OmitResources)'!='true'">$(IntermediateOutputPath)SR.cs</IntermediateResOutputFileFullPath>
<IntermediateCommonResOutputFileFullPath Condition="'$(OmitResources)'!='true'">$(IntermediateOutputPath)SRCommon.cs</IntermediateCommonResOutputFileFullPath>
<DefineConstants Condition="'$(OmitResources)'!='true' And '$(ConfigurationGroup)' == 'Debug'">$(DefineConstants);DEBUGRESOURCES</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="'$(OmitResources)' != 'true'">
<EmbeddedResource Condition="'$(StringResourcesPath)' != ''" Include="$(StringResourcesPath)">
<Visible>true</Visible>
<LogicalName>FxResources.$(AssemblyName).SR.resources</LogicalName>
</EmbeddedResource>
<EmbeddedResource Condition="'$(CommonStringResourcesPath)' != ''" Include="$(CommonStringResourcesPath)">
<Visible>true</Visible>
<LogicalName>FxResources.$(AssemblyName).SRCommon.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>