Skip to content

Commit 31b7542

Browse files
Adds Embedded Sources and enable deterministic builds for Core module (#1656)
## Why make this change? - Closes #1655 - Health of [0.8.44-rc nupkg](https://nuget.info/packages/Microsoft.DataApiBuilder/0.8.44-rc) nupkg needs to be fixed ## What is this change? - To fix the NuGet generated in the `main` branch, `Product` and `Core` modules needs to be updated. `Product` module was introduced later and `0.8.*` NuGets do not have the Product module. So, the fix is broken into two PRs. - This PR adds changes only to the `Core` module. After merging to `main`, this PR can be ported over to `release/0.8` branch. - [PR #1657 ](#1657) adds the changes to `Product` module. - Sets `EmbedUntrackedSources` and `ContinuousIntegrationBuild` to `true` ## How was this tested? - [x] Manual Tests By applying the change on top of the `release/0.8` branch, the health of the NuGet generated was validated ![image](https://github.com/Azure/data-api-builder/assets/11196553/551713f7-1f96-46e5-a310-91bccfeab87c) --------- Co-authored-by: Aniruddh Munde <[email protected]>
1 parent 66172f1 commit 31b7542

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Core/Azure.DataApiBuilder.Core.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFramework>net6.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
78
</PropertyGroup>
89

910
<ItemGroup>
@@ -33,6 +34,10 @@
3334
<PackageReference Include="System.IO.Abstractions" />
3435
</ItemGroup>
3536

37+
<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
38+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
39+
</PropertyGroup>
40+
3641
<ItemGroup>
3742
<ProjectReference Include="..\Auth\Azure.DataApiBuilder.Auth.csproj" />
3843
<ProjectReference Include="..\Config\Azure.DataApiBuilder.Config.csproj" />

0 commit comments

Comments
 (0)