Skip to content

Commit

Permalink
尝试修复构建
Browse files Browse the repository at this point in the history
  • Loading branch information
lindexi committed Feb 2, 2024
1 parent a72e231 commit dbde81d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<MSBuildRuntimeVersion Condition=" '$(UseDotNetCore)' == 'True' ">$([System.Runtime.InteropServices.RuntimeInformation]::FrameworkDescription.ToString())</MSBuildRuntimeVersion>
<_TelescopeMSBuildRuntimeFramework Condition=" $(MSBuildRuntimeVersion.StartsWith('.NET Core 3')) ">netcoreapp3.1</_TelescopeMSBuildRuntimeFramework>
<_TelescopeMSBuildRuntimeFramework Condition=" $(MSBuildRuntimeVersion.StartsWith('.NET 6')) ">net6.0</_TelescopeMSBuildRuntimeFramework>
<_TelescopeMSBuildRuntimeFramework Condition=" '$(_TelescopeMSBuildRuntimeFramework)' == '' ">net5.0</_TelescopeMSBuildRuntimeFramework>
<_TelescopeMSBuildRuntimeFramework Condition=" '$(_TelescopeMSBuildRuntimeFramework)' == '' ">net6.0</_TelescopeMSBuildRuntimeFramework>
</PropertyGroup>
<PropertyGroup Condition=" $(IsInDemoToolDebugMode) != 'True' ">
<TransformCodeToolCommand>&quot;$(MSBuildThisFileDirectory)../tools/net48/dotnetCampus.TelescopeTask.exe&quot;</TransformCodeToolCommand>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
<Nullable>enable</Nullable>
<!-- 这是实打实应该要引用的 -->
<DevelopmentDependency>false</DevelopmentDependency>

<!-- [Select which .NET version to use - .NET | Microsoft Docs](https://docs.microsoft.com/en-us/dotnet/core/versions/selection ) -->
<!-- 让 .NET 高版本SDK可以运行此程序,解决仅安装 .NET 6 SDK 而无法运行此基于 .NET 5 的应用 -->
<RollForward>Major</RollForward>
</PropertyGroup>

<!-- 这是为了兼容最新版本的预览版的.NET 6构建 -->
<Target Name="GetTargetPath"/>
</Project>

0 comments on commit dbde81d

Please sign in to comment.