File tree 2 files changed +3
-3
lines changed
src/Microsoft.Data.SqlClient
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
<AssemblyName >Microsoft.Data.SqlClient</AssemblyName >
4
4
<TargetFrameworks >netcoreapp2.1;netcoreapp3.1;netstandard2.0</TargetFrameworks >
5
5
<GeneratePlatformNotSupportedAssemblyMessage Condition =" '$(OSGroup)' == 'AnyOS'" >SR.PlatformNotSupported_DataSqlClient</GeneratePlatformNotSupportedAssemblyMessage >
6
- <OSGroup Condition =" '$(OSGroup)' == ''" >Windows_NT </OSGroup >
6
+ <OSGroup Condition =" '$(OSGroup)' == ''" >$(OS) </OSGroup >
7
7
<TargetsWindows Condition =" '$(OSGroup)'=='Windows_NT'" >true</TargetsWindows >
8
8
<TargetsUnix Condition =" '$(OSGroup)'=='Unix'" >true</TargetsUnix >
9
9
<!-- Allow explicit addition of the Compile files instead of all project files to be included by Default -->
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ ARG PROJFILE=$PROJNAME".csproj"
12
12
ARG DLLFILE=$PROJNAME".dll"
13
13
14
14
WORKDIR /sqlclient/src/Microsoft.Data.SqlClient/tests/DockerLinuxTest
15
- RUN dotnet build $PROJFILE -c Release -o /app/build -p:OSGroup=Unix -p:GenerateDocumentationFile=false
15
+ RUN dotnet build $PROJFILE -c Release -o /app/build
16
16
17
17
FROM build AS publish
18
- RUN dotnet publish $PROJFILE -c Release -o /app/publish -p:OSGroup=Unix -p:GenerateDocumentationFile=false
18
+ RUN dotnet publish $PROJFILE -c Release -o /app/publish
19
19
20
20
FROM base AS final
21
21
WORKDIR /app
You can’t perform that action at this time.
0 commit comments