-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dotnet] use **FromWorkload** for targeting/runtime pack versions #12449
Conversation
On the Android side we could do this when we got on .NET I'll come back to this after this PR lands: #12357 |
🔥 Tests failed catastrophically on Build (no summary found). 🔥Result file $(TEST_SUMMARY_PATH) not found. |
c015e7a
to
6ea5947
Compare
Context: dotnet/sdk#19596 Context: dotnet/android#6184 If we use the version number string of `**FromWorkload**`, then our runtime packages don't need to be resolved from a NuGet feed. They can be resolved from the `dotnet/packs` directory. This completely eliminates the need for a `NuGet.config` file when building a .NET 6 app with a local build of the xamarin-macios. You will no longer need a feed such as: <add key="local-dotnet-feed" value="~/src/xamarin-macios/_build/nuget-feed" /> To further clean things up, I removed the need for: * Any NuGet feed named `local-dotnet-feed` * `$(DOTNET_FEED_DIR)` * Generation of `dotnet/Workloads/NuGet.config`
6ea5947
to
549dc28
Compare
❌ [PR Build] Tests failed on Build ❌Tests failed on Build. API diff✅ API Diff from stable View API diffAPI & Generator diff✅ API Diff (from PR only) (no change) GitHub pagesResults can be found in the following github pages (it might take some time to publish): Test results5 tests failed, 138 tests passed.Failed tests
Pipeline on Agent XAMBOT-1104.BigSur' |
Test failures are unrelated:
|
Context: dotnet/sdk#19596
Context: dotnet/android#6184
If we use the version number string of
**FromWorkload**
, then ourruntime packages don't need to be resolved from a NuGet feed. They can
be resolved from the
dotnet/packs
directory.This completely eliminates the need for a
NuGet.config
file whenbuilding a .NET 6 app with a local build of xamarin-macios.
You will no longer need a feed such as:
To further clean things up, I removed the need for:
local-dotnet-feed
$(DOTNET_FEED_DIR)
dotnet/Workloads/NuGet.config