Skip to content

Commit

Permalink
build: I don't get it 2
Browse files Browse the repository at this point in the history
  • Loading branch information
punker76 committed Nov 5, 2024
1 parent 1546e7f commit 47a927a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 7 additions & 3 deletions build/SourceLink.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,23 @@

<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>false</IncludeSymbols>
<EmbedUntrackedSources>true</EmbedUntrackedSources>

<!-- By using EmbedAllSources we don't need SourceLink itself -->
<!-- https://github.com/dotnet/sourcelink/blob/master/docs/README.md#embedallsources -->
<EmbedAllSources>true</EmbedAllSources>

<DebugSymbols>true</DebugSymbols>
<DebugType>Embedded</DebugType>
<DebugType>embedded</DebugType>

<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb;.xml;.axaml</AllowedOutputExtensionsInPackageBuildOutputFolder>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>

<ItemGroup>
<EmbeddedFiles Include="$(GeneratedAssemblyInfoFile)" />
<EmbeddedFiles Include="$(TargetFrameworkMonikerAssemblyAttributesPath)" />
</ItemGroup>

<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
Expand Down
4 changes: 4 additions & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
<DefineConstants>$(DefineConstants);AVALONIA</DefineConstants>
</PropertyGroup>

<ItemGroup>
<SourceRoot Include="$(MSBuildThisFileDirectory)/" />
</ItemGroup>

<Import Project="..\build\SignAssembly.props" />
<Import Project="..\build\SourceLink.props" />
<Import Project="..\build\SharedVersion.props" />
Expand Down

0 comments on commit 47a927a

Please sign in to comment.