mirror of https://github.com/abpframework/abp.git
5 changed files with 46 additions and 11 deletions
@ -1,8 +1,9 @@ |
|||
<Project> |
|||
<!-- SDK 11.0.100 RC 2 and RC 3 add a build-only dotnet-watch JS initializer to every Web SDK project, and a Debug |
|||
build of a Web SDK project fails when it references a Web SDK project that contributes one. |
|||
<!-- Since 11.0.100 RC 2, a Debug build of a Web SDK project fails when it references a Web SDK project that |
|||
contributes the build-only hot reload JS initializer. The condition covers the 11.0.1xx SDKs; check |
|||
the regression again before moving to an 11.0.2xx SDK. |
|||
Remove this file once the repository targets an SDK that no longer has this regression. --> |
|||
<PropertyGroup Condition="$(NETCoreSdkVersion.StartsWith('11.0.100-rc.')) and '$(UsingMicrosoftNETSdkWeb)' == 'true' and ('$(OutputType)' == 'Library' or $(MSBuildProjectFullPath.Contains('test')))"> |
|||
<PropertyGroup Condition="$(NETCoreSdkVersion.StartsWith('11.0.1')) and '$(UsingMicrosoftNETSdkWeb)' == 'true' and ('$(OutputType)' == 'Library' or $(MSBuildProjectFullPath.Contains('test')))"> |
|||
<EnableHotReloadInRuntimeConfigDevFile>false</EnableHotReloadInRuntimeConfigDevFile> |
|||
</PropertyGroup> |
|||
</Project> |
|||
|
|||
@ -1,14 +1,17 @@ |
|||
<Project> |
|||
<!-- SDK 11.0.100 RC 2 and RC 3 add a build-only dotnet-watch JS initializer to every Web SDK project, and a Debug |
|||
build of a Web SDK project fails when it references a Web SDK library that contributes one. |
|||
Remove this file once ABP targets an SDK that no longer has this regression. --> |
|||
<PropertyGroup Condition="$(NETCoreSdkVersion.StartsWith('11.0.100-rc.')) and '$(Configuration)' == 'Debug' and '$(UsingMicrosoftNETSdkWeb)' == 'true' and '$(OutputType)' == 'Library' and '$(EnableHotReloadInRuntimeConfigDevFile)' == ''"> |
|||
<!-- Since 11.0.100 RC 2, a Debug build of a Web SDK project fails when it references a Web SDK library that |
|||
contributes the build-only hot reload JS initializer. The condition covers the 11.0.1xx SDKs; check |
|||
the regression again before moving to an 11.0.2xx SDK. |
|||
Remove this PropertyGroup once ABP targets an SDK that no longer has this regression. --> |
|||
<PropertyGroup Condition="$(NETCoreSdkVersion.StartsWith('11.0.1')) and '$(Configuration)' == 'Debug' and '$(UsingMicrosoftNETSdkWeb)' == 'true' and '$(OutputType)' == 'Library' and '$(EnableHotReloadInRuntimeConfigDevFile)' == ''"> |
|||
<EnableHotReloadInRuntimeConfigDevFile>false</EnableHotReloadInRuntimeConfigDevFile> |
|||
</PropertyGroup> |
|||
|
|||
<!-- SDK 11.0.100 RC builds give the compressed copies of net11.0 package assets duplicate labels, so a Blazor host fails |
|||
on startup when two packages have a static asset with the same path. Remove this once the SDK fixes it. --> |
|||
<PropertyGroup Condition="$(NETCoreSdkVersion.StartsWith('11.0.100-rc.')) and '$(UsingMicrosoftNETSdkWeb)' == 'true' and '$(CompressionEnabled)' == ''"> |
|||
<!-- The 11.0.1xx SDKs give the compressed copies of net11.0 package assets duplicate labels, so a Blazor host fails |
|||
on startup when two packages have a static asset with the same path. This also turns off build and publish |
|||
compression in the other Web SDK projects; set CompressionEnabled to true in a project to keep it. Check the |
|||
regression again before moving to an 11.0.2xx SDK, and remove this PropertyGroup once the SDK fixes it. --> |
|||
<PropertyGroup Condition="$(NETCoreSdkVersion.StartsWith('11.0.1')) and '$(UsingMicrosoftNETSdkWeb)' == 'true' and '$(CompressionEnabled)' == ''"> |
|||
<CompressionEnabled>false</CompressionEnabled> |
|||
</PropertyGroup> |
|||
</Project> |
|||
|
|||
@ -1,6 +1,6 @@ |
|||
{ |
|||
"sdk": { |
|||
"version": "11.0.100-rc.3.26522.148", |
|||
"version": "11.0.100", |
|||
"rollForward": "latestFeature" |
|||
} |
|||
} |
|||
|
|||
Loading…
Reference in new issue