Skip to content

Commit 757d99d

Browse files
[darc] add ASP.NET dependency for use in dotnet/maui (#45998)
In .NET 10, we are facing some errors due to MSBuild files containing mismatched versions: packages\microsoft.aspnetcore.app.internal.assets\10.0.0-alpha.2.25061.1\build\Microsoft.AspNetCore.App.Internal.Assets.targets packages\microsoft.aspnetcore.components.webview\10.0.0-alpha.2.25062.2\build\Microsoft.AspNetCore.Components.WebView.props The version of the first is controlled by the .NET SDK, while the second by the version of the `Microsoft.AspNetCore.Components.WebView` package. To align this, we could add `CoherentParentDependency`: <Dependency Name="Microsoft.AspNetCore.Components.WebView" Version="10.0.0-alpha.2.25062.2" CoherentParentDependency="Microsoft.NET.Sdk"> <Uri>https://github.com/dotnet/aspnetcore</Uri> <Sha>a869e316fd72bd8b94dfee3704266260b9c547ab</Sha> </Dependency> However, this results in an error such as: > darc update-dependencies --coherency-only Checking for coherency updates... fail: Coherency updates failed for the following dependencies: Unable to update Microsoft.AspNetCore.Components.WebView to have coherency with Microsoft.NET.Sdk: https://github.com/dotnet/sdk @ 60e9a46 does not contain dependency Microsoft.AspNetCore.Components.WebView - Add the dependency to https://github.com/dotnet/sdk. To solve this, we can add dependency to dotnet/sdk and dotnet/maui can align these version numbers going forward. It should also make it so for dotnet/maui gets the proper ASP.NET versions for release branches. I added several packages that are used by dotnet/maui.
1 parent 2bd2ac7 commit 757d99d

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

eng/Version.Details.xml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,10 +307,51 @@
307307
<Uri>https://github.com/dotnet/aspnetcore</Uri>
308308
<Sha>d4880ed4160b476346850ac653ce4b829ab09c94</Sha>
309309
</Dependency>
310+
<!-- Authentication and Components needed for dotnet/maui CoherentParentDependency -->
311+
<Dependency Name="Microsoft.AspNetCore.Authentication.Facebook" Version="10.0.0-alpha.2.25064.2">
312+
<Uri>https://github.com/dotnet/aspnetcore</Uri>
313+
<Sha>d4880ed4160b476346850ac653ce4b829ab09c94</Sha>
314+
</Dependency>
315+
<Dependency Name="Microsoft.AspNetCore.Authentication.Google" Version="10.0.0-alpha.2.25064.2">
316+
<Uri>https://github.com/dotnet/aspnetcore</Uri>
317+
<Sha>d4880ed4160b476346850ac653ce4b829ab09c94</Sha>
318+
</Dependency>
319+
<Dependency Name="Microsoft.AspNetCore.Authentication.MicrosoftAccount" Version="10.0.0-alpha.2.25064.2">
320+
<Uri>https://github.com/dotnet/aspnetcore</Uri>
321+
<Sha>d4880ed4160b476346850ac653ce4b829ab09c94</Sha>
322+
</Dependency>
323+
<Dependency Name="Microsoft.AspNetCore.Components" Version="10.0.0-alpha.2.25064.2">
324+
<Uri>https://github.com/dotnet/aspnetcore</Uri>
325+
<Sha>d4880ed4160b476346850ac653ce4b829ab09c94</Sha>
326+
</Dependency>
327+
<Dependency Name="Microsoft.AspNetCore.Components.Analyzers" Version="10.0.0-alpha.2.25064.2">
328+
<Uri>https://github.com/dotnet/aspnetcore</Uri>
329+
<Sha>d4880ed4160b476346850ac653ce4b829ab09c94</Sha>
330+
</Dependency>
331+
<Dependency Name="Microsoft.AspNetCore.Components.Forms" Version="10.0.0-alpha.2.25064.2">
332+
<Uri>https://github.com/dotnet/aspnetcore</Uri>
333+
<Sha>d4880ed4160b476346850ac653ce4b829ab09c94</Sha>
334+
</Dependency>
335+
<Dependency Name="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.0-alpha.2.25064.2">
336+
<Uri>https://github.com/dotnet/aspnetcore</Uri>
337+
<Sha>d4880ed4160b476346850ac653ce4b829ab09c94</Sha>
338+
</Dependency>
339+
<Dependency Name="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="10.0.0-alpha.2.25064.2">
340+
<Uri>https://github.com/dotnet/aspnetcore</Uri>
341+
<Sha>d4880ed4160b476346850ac653ce4b829ab09c94</Sha>
342+
</Dependency>
310343
<Dependency Name="Microsoft.AspNetCore.Components.SdkAnalyzers" Version="10.0.0-alpha.2.25064.2">
311344
<Uri>https://github.com/dotnet/aspnetcore</Uri>
312345
<Sha>d4880ed4160b476346850ac653ce4b829ab09c94</Sha>
313346
</Dependency>
347+
<Dependency Name="Microsoft.AspNetCore.Components.WebView" Version="10.0.0-alpha.2.25062.2">
348+
<Uri>https://github.com/dotnet/aspnetcore</Uri>
349+
<Sha>d4880ed4160b476346850ac653ce4b829ab09c94</Sha>
350+
</Dependency>
351+
<Dependency Name="Microsoft.AspNetCore.Metadata" Version="10.0.0-alpha.2.25064.2">
352+
<Uri>https://github.com/dotnet/aspnetcore</Uri>
353+
<Sha>d4880ed4160b476346850ac653ce4b829ab09c94</Sha>
354+
</Dependency>
314355
<Dependency Name="Microsoft.AspNetCore.Mvc.Analyzers" Version="10.0.0-alpha.2.25064.2">
315356
<Uri>https://github.com/dotnet/aspnetcore</Uri>
316357
<Sha>d4880ed4160b476346850ac653ce4b829ab09c94</Sha>

0 commit comments

Comments
 (0)