|
495 | 495 | <Compile Include="..\..\src\Microsoft\Data\SqlClient\SqlStream.cs">
|
496 | 496 | <Link>Microsoft\Data\SqlClient\SqlStream.cs</Link>
|
497 | 497 | </Compile>
|
498 |
| - <Compile Include="..\..\src\Resources\ResCategoryAttribute.cs"> |
| 498 | + <Compile Include="..\..\src\Resources\ResCategoryAttribute.cs"> |
499 | 499 | <Link>Resources\ResCategoryAttribute.cs</Link>
|
500 | 500 | </Compile>
|
501 | 501 | <Compile Include="..\..\src\Resources\ResDescriptionAttribute.cs">
|
502 | 502 | <Link>Resources\ResDescriptionAttribute.cs</Link>
|
503 | 503 | </Compile>
|
504 |
| - <Compile Include="..\..\src\Resources\StringsHelper.cs"> |
505 |
| - <Link>Resources\StringsHelper.cs</Link> |
506 |
| - </Compile> |
507 | 504 | <Compile Include="..\..\src\System\Diagnostics\CodeAnalysis.cs">
|
508 | 505 | <Link>Common\System\Diagnostics\CodeAnalysis.cs</Link>
|
509 | 506 | </Compile>
|
|
570 | 567 | <Compile Include="Microsoft\Data\ProviderBase\DbConnectionPool.NetCoreApp.cs" />
|
571 | 568 | <Compile Include="Microsoft\Data\SqlClient\SqlConnectionFactory.AssemblyLoadContext.cs" />
|
572 | 569 | </ItemGroup>
|
573 |
| - <ItemGroup Condition="'$(OSGroup)' != 'AnyOS'"> |
574 |
| - <Compile Include="Resources\StringsHelper.cs"> |
575 |
| - <Link>Resources\StringsHelper.NetCore.cs</Link> |
576 |
| - </Compile> |
577 |
| - <Compile Include="Resources\Strings.Designer.cs"> |
| 570 | + <ItemGroup> |
| 571 | + <Compile Include="..\..\src\Resources\StringsHelper.cs"> |
| 572 | + <Link>Resources\StringsHelper.cs</Link> |
| 573 | + </Compile> |
| 574 | + <Compile Include="..\..\src\Resources\Strings.Designer.cs"> |
| 575 | + <Link>Resources\Strings.Designer.cs</Link> |
578 | 576 | <DesignTime>True</DesignTime>
|
579 | 577 | <AutoGen>True</AutoGen>
|
580 | 578 | <DependentUpon>Strings.resx</DependentUpon>
|
581 | 579 | </Compile>
|
582 |
| - <EmbeddedResource Update="Resources\Strings.resx"> |
| 580 | + <EmbeddedResource Include="..\..\src\Resources\Strings.resx"> |
| 581 | + <Link>Resources\Strings.resx</Link> |
| 582 | + <LogicalName>Microsoft.Data.SqlClient.Resources.Strings.resources</LogicalName> |
583 | 583 | <Generator>ResXFileCodeGenerator</Generator>
|
584 | 584 | <LastGenOutput>Strings.Designer.cs</LastGenOutput>
|
585 | 585 | <CustomToolNamespace>System</CustomToolNamespace>
|
586 | 586 | </EmbeddedResource>
|
| 587 | + <EmbeddedResource Include="..\..\src\Resources\$(ResxFileName).*.resx"> |
| 588 | + <Link>Resources\%(RecursiveDir)%(Filename)%(Extension)</Link> |
| 589 | + </EmbeddedResource> |
| 590 | + </ItemGroup> |
| 591 | + <ItemGroup Condition="'$(OSGroup)' != 'AnyOS'"> |
587 | 592 | <Compile Include="$(CommonPath)\CoreLib\System\Threading\Tasks\TaskToApm.cs">
|
588 | 593 | <Link>Common\CoreLib\System\Threading\Tasks\TaskToApm.cs</Link>
|
589 | 594 | </Compile>
|
|
985 | 990 | <Import Project="$(ToolsDir)targets\GenerateThisAssemblyCs.targets" />
|
986 | 991 | <Import Project="$(ToolsDir)targets\ResolveContract.targets" Condition="'$(OSGroup)' == 'AnyOS'" />
|
987 | 992 | <Import Project="$(ToolsDir)targets\NotSupported.targets" Condition="'$(OSGroup)' == 'AnyOS'" />
|
| 993 | + <Import Project="..\..\src\tools\targets\GenerateResourceStringsSource.targets" /> |
988 | 994 | </Project>
|
0 commit comments