项目需求1:主程序需要引用一个资源项目,根据编译配置 Visual Stuido中的Configuration Manager的不同,选择引用不同的资源项目
可在项目文件.csproj中添加如下内容:
<!-- Conditional References: Add conditional references here -->
<ItemGroup>
<ProjectReference Include="..\..\TargetLanguages\TargetLanguageThai\TargetLanguageThai.csproj" Condition=" '$(ConfigurationName)' == 'Thai' ">
<Project>{7A3F6F20-D083-4B7C-8B17-8091CDE95E20}</Project>
<Name>TargetLanguageThai</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\TargetLanguages\TargetLanguageGermany\TargetLanguageGermany.csproj" Condition=" '$(ConfigurationName)' == 'Germany' ">
<Project>{0A9B26F6-87A0-4E51-8FDA-9CAE7C006649}</Project>
<Name