Skip to content

Commit 3f55800

Browse files
[Cherry Pick]: Adds Embedded Sources and enable deterministic builds for Core module… (#1660)
Cherry-Picks (#1656) to release/0.8 branch **Original Description:** ## 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: Shyam Sundar J <[email protected]>
1 parent 5d5068c commit 3f55800

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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>
@@ -32,6 +33,10 @@
3233
<PackageReference Include="System.IO.Abstractions" />
3334
</ItemGroup>
3435

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

0 commit comments

Comments
 (0)