|
86 | 86 | <AbstractionsProjectPath>$(RepoRoot)/src/Microsoft.Data.SqlClient.Extensions/Abstractions/src/Abstractions.csproj</AbstractionsProjectPath> |
87 | 87 | <LoggingProjectPath>$(RepoRoot)/src/Microsoft.Data.SqlClient.Internal/Logging/src/Logging.csproj</LoggingProjectPath> |
88 | 88 |
|
89 | | -<<<<<<< HEAD |
90 | 89 | <!-- Properties used by dotnet pack. --> |
91 | | -======= |
92 | | - <NuspecVersion Condition="'$(NuspecVersion)' == ''">$(Version)</NuspecVersion> |
93 | | ->>>>>>> 6da35be91 (Align pack docs with dotnet build and harden SqlClient nuspec prep) |
94 | 90 | <NuspecFile Condition="'$(NuspecFile)' == ''">$(SqlClientPackNuspecTemplatePath)</NuspecFile> |
95 | 91 | <NuspecBasePath Condition="'$(NuspecBasePath)' == ''">$([System.IO.Path]::GetDirectoryName('$(SqlClientPackNuspecTemplatePath)'))</NuspecBasePath> |
96 | 92 | <NuspecVersion Condition="'$(NuspecVersion)' == ''">$(Version)</NuspecVersion> |
|
117 | 113 | <Target Name="PrepareSqlClientPackNuspec" |
118 | 114 | BeforeTargets="GenerateNuspec" |
119 | 115 | Condition="'$(NuspecFile)' == '$(SqlClientPackNuspecTemplatePath)'"> |
120 | | -<<<<<<< HEAD |
121 | 116 |
|
122 | 117 | <!-- Calculate AbstractionsPackageVersion if not already set. --> |
123 | 118 | <PropertyGroup Condition="'$(AbstractionsPackageVersion)' == ''"> |
|
137 | 132 | </Exec> |
138 | 133 | <PropertyGroup Condition="'$(GetAbstractionsPackageVersionCommand)' != ''"> |
139 | 134 | <AbstractionsPackageVersion>$([System.Text.RegularExpressions.Regex]::Replace($(AbstractionsPackageVersion), "\s", ""))</AbstractionsPackageVersion> |
140 | | -======= |
141 | | - <Error Text="PrepareSqlClientPackNuspec requires AbstractionsPackageVersion. Specify -p:PackageVersionAbstractions=<version>." |
142 | | - Condition="'$(AbstractionsPackageVersion)' == ''" /> |
143 | | - <Error Text="PrepareSqlClientPackNuspec requires LoggingPackageVersion. Specify -p:PackageVersionLogging=<version>." |
144 | | - Condition="'$(LoggingPackageVersion)' == ''" /> |
145 | | - <Error Text="PrepareSqlClientPackNuspec requires NuspecVersion. Specify -p:NuspecVersion=<version>." |
146 | | - Condition="'$(NuspecVersion)' == ''" /> |
147 | | - |
148 | | - <PropertyGroup> |
149 | | - <_SqlClientPackNuspecExpandedText>$([System.IO.File]::ReadAllText('$(SqlClientPackNuspecTemplatePath)').Replace('$AbstractionsPackageVersion$','$(AbstractionsPackageVersion)').Replace('$LoggingPackageVersion$','$(LoggingPackageVersion)').Replace('<version>1.0.0</version>','<version>$(NuspecVersion)</version>'))</_SqlClientPackNuspecExpandedText> |
150 | | ->>>>>>> 6da35be91 (Align pack docs with dotnet build and harden SqlClient nuspec prep) |
151 | 135 | </PropertyGroup> |
152 | 136 |
|
153 | 137 | <!-- Calculate LoggingPackageVersion if not already set. --> |
|
0 commit comments