Move to 3.0 Preview 6 SDK (#11472)
* Work around https://github.com/dotnet/cli/issues/11378 * Fix site extensions - thanks @JunTaoLuo❕
This commit is contained in:
parent
fe796b216e
commit
e8fba43b1f
|
|
@ -31,7 +31,6 @@
|
|||
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
<!-- Workaround for https://github.com/dotnet/arcade/issues/204 -->
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Internal.AspNetCore.BuildTasks" PrivateAssets="All" Version="$(InternalAspNetCoreBuildTasksPackageVersion)" IsImplicitlyDefined="true" />
|
||||
|
|
@ -58,4 +57,10 @@
|
|||
</KnownFrameworkReference>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Work around https://github.com/dotnet/cli/issues/11378. -->
|
||||
<Target Name="_WorkaroundNetStandard" AfterTargets="ResolvePackageAssets">
|
||||
<ItemGroup>
|
||||
<TransitiveFrameworkReference Remove="NETStandard.Library" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -76,10 +76,6 @@
|
|||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<ProjectListFile>$(MSBuildThisFileDirectory)..\eng\ProjectReferences.props</ProjectListFile>
|
||||
<RefsTargetFramework>$(TargetFrameworks)</RefsTargetFramework>
|
||||
<RefsTargetFramework Condition="'$(RefsTargetFramework)' == ''">$(TargetFramework)</RefsTargetFramework>
|
||||
|
||||
<ReferencesContent>
|
||||
<![CDATA[
|
||||
<ItemGroup Condition="'%24(TargetFramework)' == '$(TargetFramework)'">
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"sdk": {
|
||||
"version": "3.0.100-preview5-011568"
|
||||
"version": "3.0.100-preview6-012264"
|
||||
},
|
||||
"tools": {
|
||||
"dotnet": "3.0.100-preview5-011568",
|
||||
"dotnet": "3.0.100-preview6-012264",
|
||||
"runtimes": {
|
||||
"dotnet/x64": [
|
||||
"$(MicrosoftNETCoreAppRuntimeVersion)"
|
||||
|
|
|
|||
|
|
@ -10,8 +10,9 @@ IF %ERRORLEVEL% NEQ 0 (
|
|||
)
|
||||
|
||||
ECHO Building LoggingBranch
|
||||
CALL %RepoRoot%\build.cmd -forceCoreMsbuild -arch x64 -projects %~dp0LoggingBranch\LB.csproj /bl:artifacts/log/SiteExtensions-LoggingBranch-x64.binlog %*
|
||||
CALL %RepoRoot%\build.cmd -forceCoreMsbuild -arch x86 -projects %~dp0LoggingBranch\LB.csproj /bl:artifacts/log/SiteExtensions-LoggingBranch-x86.binlog %*
|
||||
REM Remove /p:DisablePackageAssetsCache=true /p:DisableTransitiveFrameworkReferences=true which workarounds dotnet store and publish behaviour changes in preview 6
|
||||
CALL %RepoRoot%\build.cmd -forceCoreMsbuild -arch x64 -projects %~dp0LoggingBranch\LB.csproj /p:DisablePackageAssetsCache=true /p:DisableTransitiveFrameworkReferences=true /bl:artifacts/log/SiteExtensions-LoggingBranch-x64.binlog %*
|
||||
CALL %RepoRoot%\build.cmd -forceCoreMsbuild -arch x86 -projects %~dp0LoggingBranch\LB.csproj /p:DisablePackageAssetsCache=true /p:DisableTransitiveFrameworkReferences=true /bl:artifacts/log/SiteExtensions-LoggingBranch-x86.binlog %*
|
||||
|
||||
IF %ERRORLEVEL% NEQ 0 (
|
||||
EXIT /b %ErrorLevel%
|
||||
|
|
@ -24,4 +25,4 @@ IF %ERRORLEVEL% NEQ 0 (
|
|||
EXIT /b %ErrorLevel%
|
||||
)
|
||||
|
||||
ECHO SiteExtensions successly built!
|
||||
ECHO SiteExtensions successfully built!
|
||||
|
|
|
|||
Loading…
Reference in New Issue