File tree Expand file tree Collapse file tree
src/Microsoft.Data.SqlClient/tests/UnitTests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 404404 the first step of this target.
405405 -->
406406 <PropertyGroup >
407- <BuildSqlClientNotSupportedDependsOn Condition =" '$(ReferenceType.ToLower())' == 'package'" >PackAbstractions</BuildSqlClientNotSupportedDependsOn >
407+ <BuildSqlClientNotSupportedDependsOn Condition =" '$(ReferenceType.ToLower())' == 'package'" >PackAbstractions;PackSqlServer </BuildSqlClientNotSupportedDependsOn >
408408 </PropertyGroup >
409409 <Target Name =" BuildSqlClientNotSupported" DependsOnTargets =" $(BuildSqlClientNotSupportedDependsOn)" >
410410 <PropertyGroup >
Original file line number Diff line number Diff line change 4747 <ProjectReference Include =" $(RepoRoot)src/Microsoft.SqlServer.Server/Microsoft.SqlServer.Server.csproj" />
4848 </ItemGroup >
4949
50- <Target Name =" ValidateReferenceType" BeforeTargets =" Restore"
50+ <Target Name =" ValidateReferenceType" BeforeTargets =" Restore;PrepareForBuild "
5151 Condition =" '$(ReferenceType)' == 'Package'" >
5252 <Error Text =" Microsoft.Data.SqlClient.UnitTests.csproj does not support ReferenceType=Package. Use project references for unit tests." />
5353 </Target >
You can’t perform that action at this time.
0 commit comments