Skip to content
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-watch MAUI test fails in main #45741

Open
tmat opened this issue Jan 6, 2025 · 0 comments
Open

dotnet-watch MAUI test fails in main #45741

tmat opened this issue Jan 6, 2025 · 0 comments

Comments

@tmat
Copy link
Member

tmat commented Jan 6, 2025

The test project does not restore correctly:

repro.zip

(dogfood) PS C:\sdk4\artifacts\tmp\Debug\MauiBlazor_Ap---FEC76A4F> dotnet run
Using launch settings from C:\sdk4\artifacts\tmp\Debug\MauiBlazor_Ap---FEC76A4F\Properties\launchSettings.json...
C:\sdk4\artifacts\bin\redist\Debug\dotnet\sdk\10.0.100-dev\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(94,5): warning NETSDK1224: ASP.NET Core framework assets are not supported for the target framework.
C:\sdk4\artifacts\bin\redist\Debug\dotnet\sdk\10.0.100-dev\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(94,5): warning NETSDK1224: ASP.NET Core framework assets are not supported for the target framework.
C:\sdk4\artifacts\tmp\Debug\MauiBlazor_Ap---FEC76A4F\maui-blazor.csproj : warning NU1604: Project dependency Microsoft.AspNetCore.Components.WebView.Maui does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
C:\sdk4\artifacts\tmp\Debug\MauiBlazor_Ap---FEC76A4F\maui-blazor.csproj : warning NU1604: Project dependency Microsoft.Maui.Controls does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
C:\sdk4\artifacts\bin\redist\Debug\dotnet\sdk\10.0.100-dev\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(94,5): warning NETSDK1224: ASP.NET Core framework assets are not supported for the target framework.
C:\sdk4\artifacts\tmp\Debug\MauiBlazor_Ap---FEC76A4F\maui-blazor.csproj : warning NU1604: Project dependency Microsoft.AspNetCore.Components.WebView.Maui does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
C:\sdk4\artifacts\tmp\Debug\MauiBlazor_Ap---FEC76A4F\maui-blazor.csproj : warning NU1604: Project dependency Microsoft.Maui.Controls does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
C:\sdk4\artifacts\bin\redist\Debug\dotnet\sdk\10.0.100-dev\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(94,5): warning NETSDK1224: ASP.NET Core framework assets are not supported for the target framework.
C:\sdk4\artifacts\tmp\Debug\MauiBlazor_Ap---FEC76A4F\maui-blazor.csproj : warning NU1604: Project dependency Microsoft.AspNetCore.Components.WebView.Maui does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
C:\sdk4\artifacts\tmp\Debug\MauiBlazor_Ap---FEC76A4F\maui-blazor.csproj : warning NU1604: Project dependency Microsoft.Maui.Controls does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
C:\sdk4\artifacts\bin\redist\Debug\dotnet\sdk\10.0.100-dev\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(414,5): error NETSDK1073: The FrameworkReference 'Microsoft.MacCatalyst' was not recognized
C:\sdk4\artifacts\tmp\Debug\MauiBlazor_Ap---FEC76A4F\Components\Routes.razor(1,1): warning RZ2012: Component 'Router' expects a value for the parameter 'NotFound', but a value may not have been provided.
C:\sdk4\artifacts\tmp\Debug\MauiBlazor_Ap---FEC76A4F\Components\Routes.razor(1,1): warning RZ2012: Component 'Router' expects a value for the parameter 'NotFound', but a value may not have been provided.
C:\Nuget\microsoft.windowsappsdk\1.3.230724000\include\MddBootstrapAutoInitializer.cs(34,38): warning CS0436: The type 'Release' in 'C:\Nuget\microsoft.windowsappsdk\1.3.230724000\buildTransitive\..\include\WindowsAppSDK-VersionInfo.cs' conflicts with the imported type 'Release' in 'Microsoft.WindowsAppRuntime.Release.Net, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'C:\Nuget\microsoft.windowsappsdk\1.3.230724000\buildTransitive\..\include\WindowsAppSDK-VersionInfo.cs'.
C:\Nuget\microsoft.windowsappsdk\1.3.230724000\include\MddBootstrapAutoInitializer.cs(35,33): warning CS0436: The type 'Release' in 'C:\Nuget\microsoft.windowsappsdk\1.3.230724000\buildTransitive\..\include\WindowsAppSDK-VersionInfo.cs' conflicts with the imported type 'Release' in 'Microsoft.WindowsAppRuntime.Release.Net, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'C:\Nuget\microsoft.windowsappsdk\1.3.230724000\buildTransitive\..\include\WindowsAppSDK-VersionInfo.cs'.
C:\Nuget\microsoft.windowsappsdk\1.3.230724000\include\MddBootstrapAutoInitializer.cs(36,49): warning CS0436: The type 'Version' in 'C:\Nuget\microsoft.windowsappsdk\1.3.230724000\buildTransitive\..\include\WindowsAppSDK-VersionInfo.cs' conflicts with the imported type 'Version' in 'Microsoft.WindowsAppRuntime.Release.Net, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'C:\Nuget\microsoft.windowsappsdk\1.3.230724000\buildTransitive\..\include\WindowsAppSDK-VersionInfo.cs'.
C:\sdk4\artifacts\bin\redist\Debug\dotnet\sdk\10.0.100-dev\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(320,5): warning NETSDK1206: Found version-specific or distribution-specific runtime identifier(s): win10-arm64, win10-x64, win10-x86. Affected libraries: Microsoft.Graphics.Win2D, Microsoft.WindowsAppSDK. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
WINAPPSDKGENERATEPROJECTPRIFILE : error : PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate Entry.
WINAPPSDKGENERATEPROJECTPRIFILE : error : PRI277: 0x80073b0f - Conflicting values for resource 'Files/Microsoft.Maui.Controls/Platform/Windows/TabbedPage/TabbedPageStyle.xbf'
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-NetSDK untriaged Request triage from a team member labels Jan 6, 2025
@tmat tmat added Area-Watch and removed untriaged Request triage from a team member Area-NetSDK labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant