Skip to content

Commit

Permalink
尝试修复构建
Browse files Browse the repository at this point in the history
  • Loading branch information
lindexi committed Dec 23, 2024
1 parent f5d635c commit dc1a104
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
- name: Restore
run: dotnet workload restore samples/SampleUnoApp/SampleUnoApp.csproj
- name: Build
run: dotnet build -c release -p:TargetFramework=net8.0 -r linux-x64 samples/SampleUnoApp/SampleUnoApp.csproj
run: dotnet build -c release -p:TargetFramework=net8.0-desktop -r linux-x64 samples/SampleUnoApp/SampleUnoApp.csproj
42 changes: 21 additions & 21 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,27 @@
<NoWarn>$(NoWarn);NU1507;NETSDK1201;PRI257</NoWarn>
</PropertyGroup>

<PropertyGroup>
<ArtifactsPath>$(MSBuildThisFileDirectory)artifacts</ArtifactsPath>
<RepositoryRoot>$(MSBuildThisFileDirectory)</RepositoryRoot>
<ThisYear>$([System.DateTime]::Now.ToString(`yyyy`))</ThisYear>
</PropertyGroup>
<PropertyGroup>
<ArtifactsPath>$(MSBuildThisFileDirectory)artifacts</ArtifactsPath>
<RepositoryRoot>$(MSBuildThisFileDirectory)</RepositoryRoot>
<ThisYear>$([System.DateTime]::Now.ToString(`yyyy`))</ThisYear>
</PropertyGroup>

<PropertyGroup>
<IsPackable>false</IsPackable>
<!-- 输出符号文件 -->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<!-- 嵌入源代码到符号文件,方便调试 -->
<EmbedAllSources>true</EmbedAllSources>
</PropertyGroup>
<PropertyGroup>
<IsPackable>false</IsPackable>
<!-- 输出符号文件 -->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<!-- 嵌入源代码到符号文件,方便调试 -->
<EmbedAllSources>true</EmbedAllSources>
</PropertyGroup>

<PropertyGroup>
<Authors>dotnet-campus</Authors>
<RepositoryUrl>https://github.com/dotnet-campus/dotnetCampus.UISpy.Uno</RepositoryUrl>
<PackageProjectUrl>https://www.nuget.org/packages/dotnetCampus.UISpy.Uno</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<Copyright>Copyright © $(ThisYear) dotnet campus, All Rights Reserved.</Copyright>
<Description>dotnetCampus.UISpy.Uno is a tool for inspecting the runtime visual tree of a Skia platforms Uno app.</Description>
</PropertyGroup>
<PropertyGroup>
<Authors>dotnet-campus</Authors>
<RepositoryUrl>https://github.com/dotnet-campus/dotnetCampus.UISpy.Uno</RepositoryUrl>
<PackageProjectUrl>https://www.nuget.org/packages/dotnetCampus.UISpy.Uno</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<Copyright>Copyright © $(ThisYear) dotnet campus, All Rights Reserved.</Copyright>
<Description>dotnetCampus.UISpy.Uno is a tool for inspecting the runtime visual tree of a Skia platforms Uno app.</Description>
</PropertyGroup>
</Project>

0 comments on commit dc1a104

Please sign in to comment.