Repository navigation
Support building on Linux - #3311
Closed
paulmedynski wants to merge 2 commits into
Closed
paulmedynski wants to merge 2 commits into
paulmedynski wants to merge 2 commits into
Conversation
paulmedynski
force-pushed
the
dev/paul/linux-build-minimal
branch
2 times, most recently
from
May 1, 2025 11:49
cd8b194 to
4081087
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3311 +/- ##
==========================================
- Coverage 67.74% 67.71% -0.04%
==========================================
Files 299 293 -6
Lines 65564 65254 -310
==========================================
- Hits 44419 44185 -234
+ Misses 21145 21069 -76
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
paulmedynski
force-pushed
the
dev/paul/linux-build-minimal
branch
from
May 7, 2025 16:29
90fbe86 to
be720da
Compare
paulmedynski
force-pushed
the
dev/paul/linux-build-minimal
branch
from
May 12, 2025 21:28
be720da to
701e97a
Compare
- Minimal build changes to get everything to compile on Linux. - Fixed BuildTools target errors. - Changed all <TargetFramework> elements to <TargetFrameworks> which provides better dotnet build output. - Removed unused and obsolete build properties. - Cleaned up BUILDGUIDE. - Replaced <TargetGroup> property with <TargetsNetFx> everywhere. - Normalized how we specify and check the ReferenceType property. - Reorganized how project vs package references are used in build.proj. - Explicity unsetting 'TF' variable inherited from 'ADO Build Properties' library. - Removed 'Update AKV MDS package version' step. - Added TestMicrosoftDataSqlClientVersion property to AKV Package build steps. - Updated CI test step to use new runtime-specific build.proj targets.
paulmedynski
force-pushed
the
dev/paul/linux-build-minimal
branch
from
July 23, 2025 18:18
701e97a to
61bd2de
Compare
- Fixed unsaved merge conflict resolution.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Work-in Progress
Changes to the build system to support building all targets on Linux. This mostly involved removing properties from
build.projthat artifically restricted what would be built based on the OS, and then filtering those changes down into all of the project files.Major Changes:
TFproperty is now used to explicitly decide what Target Frameworks to specify when building AKV and tests, and running tests.build.projproperties:IsEnabledWindowsTargetGroupTargetNetFxVersionTargetNetCoreVersionTestOSTestTargetOSTFGroupTFthen all Target Frameworks are built (net462, net8.0, net9.0).build.projtarget that implies .NET Framework, then just net462 is used.build.projtarget that implies .NET, then net8.0 and net9.0 are used.RunFunctionalTestsWindows,RunFunctionalTestsUnix,RunManualTestsWindows, andRunManualTestsUnixtargets now runs .NET tests only.RunFunctionalTestsWindowsNetFxandRunManualTestsWindowsNetFxtargets were added that run those .NET Framework tests on Windows.TFwhere appropriate.Internal Changes:
build.projtargets that imply a Target Framework use newBuildProjandTargetsNetFxproperties to control the downstream projects where necessary (i.e. AKV and test projects).<TargetFrameworks>, even if they only specify a single target framework.Directory.Build.propsfiles.Outstanding Issues:
BuildTeststarget still doesn't work (it didn't work before these changes). There is a problem building .NET and .NET Framework targets in parallel.