Skip to content

[dotnet watch] Cannot open project Lib.fsproj because extension fsproj is not associated with a language #46378

@carlossanlop

Description

@carlossanlop
Contributor

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=932408
Build error leg or test failing: dotnet-sdk-public-ci

Error Message

{
  "ErrorMessage" : "because the file extension '.fsproj' is not associated with a language",
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}
 dotnet watch ⚠ msbuild: [Failure] Cannot open project 
'C:\h\w\B34E099A\t\dotnetSdkTests\geksol2n.pb2\RenameSourceF---5F6BBE1E\FSharp\Lib.fsproj' 
because the file extension '.fsproj' is not associated with a language.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=932408
Error message validated: [because the file extension '.fsproj' is not associated with a language]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 1/28/2025 10:53:09 PM UTC

Report

Build Definition Step Name Console log Pull Request
2771298 dotnet-sdk Run dotnet-format on dotnet/aspnetcore AspNetCore.sln Log #52300
Build Definition Test Pull Request
1122214 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49974
2771346 dotnet-sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.MauiBlazor #52307
1121478 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50245
2771109 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution
1121255 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50168
1121248 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50188
1120990 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49531
1119717 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50109
1119532 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50151
1119384 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #45039
1118727 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49682
1115895 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire_BuildError_ManualRestart #50091
1117194 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49531
1116976 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49531
1116520 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50101
2766637 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #51985
2766375 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution
1115691 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50085
1115184 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.ProjectChange_Update #50073
1115347 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50009
1114999 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.ProjectChange_Update #50073
1115134 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50076
1114823 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49942
1114702 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50063
1113877 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49832
1113899 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49958
1113881 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49843
1113696 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49832
2764719 dotnet-sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.MauiBlazor #51985
1113053 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49531
1113136 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50039
1111690 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50002
1111427 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49531
1110748 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49531
2761722 dotnet-sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.MauiBlazor #51985
1109785 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50002
1109717 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50002
1109338 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49991
1109006 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49974
1108155 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49947
1107766 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49974
1106456 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49946
1106341 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49942
1105212 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire_BuildError_ManualRestart #49847
1104821 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.BlazorWasm #49740
1102342 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire_BuildError_ManualRestart #49901
1101555 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire_BuildError_ManualRestart #49847
1101651 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49891
1099538 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49531
1101273 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.GracefulTermination #49847
1099431 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49544
1100020 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire_BuildError_ManualRestart #49866
1099618 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.GracefulTermination #49847
2753126 dotnet-sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.MauiBlazor #51708
1099251 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49847
1099206 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49740
1098820 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49740
1098687 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49740
2752661 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #51694
1097859 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49800
1097911 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49841
1097831 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49838
1097882 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49634
1097433 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49798
1097645 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49800
1097312 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49831
1097318 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49832
1096992 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49531
1096421 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire_BuildError_ManualRestart #49800
1096224 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49756
1096042 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49798
1095745 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49611

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
5 15 73

Activity

baronfel

baronfel commented on Jan 28, 2025

@baronfel
Member

I thought @tmat already fixed this with a servicing fix to the 9.0.1xx releases? It should be in 102 or 103?

tmat

tmat commented on Jan 28, 2025

@tmat
Member

The warning is not the reason why the test failed.

tmat

tmat commented on Jan 28, 2025

@tmat
Member

This commit hasn't been integrated to main yet: 3cd7c65

Forgind

Forgind commented on Feb 12, 2025

@Forgind
Contributor

@tmat, just hit this issue in #45419, which is targeting release/9.0.3xx. I don't think this worked.

tmat

tmat commented on Feb 12, 2025

@tmat
Member

@Forgind You can ignore Mac ARM64 failures. The machines are slow and the tests time out.

Forgind

Forgind commented on Feb 13, 2025

@Forgind
Contributor

@Forgind You can ignore Mac ARM64 failures. The machines are slow and the tests time out.

Can you explain that a bit further? @marcpopMSFT told me that those machines should actually be faster than the x64 machines. That said, we've also had a lot of timeouts and are actively working on figuring out why (without success as of yet, hence the PR I linked). It may be that we've just misunderstood where the issue is on that leg, and we should just increase the timeout across the board.

tmat

tmat commented on Feb 13, 2025

@tmat
Member

@Forgind Not sure what the status is right now, but the Mac ARM64 CI leg has been optional for a while.

Forgind

Forgind commented on Feb 13, 2025

@Forgind
Contributor

It's optional right now because it's been timing out, but we've been trying to figure out why it keeps timing out so we can turn it back on. I don't know that it's just automatically slow.

tmat

tmat commented on Feb 13, 2025

@tmat
Member

Oh, I see. So in this specific case the logs show that dotnet build is taking very long time. Not sure where it gets stuck:

Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.AddSourceFile [OUTPUT] dotnet watch 🚀 Launched '/private/tmp/helix/working/B2910953/p/d/dotnet' with arguments 'build /private/tmp/helix/working/B2910953/w/A696090A/e/testExecutionDirectory/AddSourceFile---E93D266F/AppWithDeps/App.WithDeps.csproj -consoleLoggerParameters:NoSummary;Verbosity=minimal': process id 96065

Seems like memory dumps were saved but I don't see them in the artifact list.

marcpopMSFT

marcpopMSFT commented on Feb 13, 2025

@marcpopMSFT
Member

To clarify, forgind was trying to get context on your comment that the arm64 machines are slow. Ever since we added that leg, it has been fairly consistently timing out. When I asked the codeflow chat, they indicated that arm64 should be faster than x64 so it wasn't a machine issue and we should dig further. That's when we made them optional, later turned them off, and have been trying to find out why they are timing out ever since. Do you have a reason to believe the mac arm64 machines are slower than the x64 ones?

tmat

tmat commented on Feb 13, 2025

@tmat
Member

Do you have a reason to believe the mac arm64 machines are slower than the x64 ones?

No specific reason. I didn't know forgind is trying to figure out why. Just stating that we have been skipping the CI leg because it's been timing out.

Forgind

Forgind commented on Feb 26, 2025

@Forgind
Contributor

@tmat, hit this again in #47110

Please fix this.

tmat

tmat commented on Feb 26, 2025

@tmat
Member

This fixes a potential race condition: #47117
It looks like this race is hit by #47110 based on the test logs.

Forgind

Forgind commented on Apr 1, 2025

@Forgind
Contributor

@tmat, hit this again in #48081

tmat

tmat commented on Apr 1, 2025

@tmat
Member

@Forgind I don't see dotnet-watch failure in that PR.

Found this though:

xUnit.net 00:00:31.22]       System.TypeLoadException : Could not load type 'FluentAssertions.Execution.Execute' from assembly 'FluentAssertions, Version=8.0.2.0, Culture=neutral, PublicKeyToken=33f2691a05b67b6a'.
projecttoolscommandresolver: invalid commandResolverArguments
[xUnit.net 00:00:31.22]       Stack Trace:
[xUnit.net 00:00:31.22]            at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.Pass()
[xUnit.net 00:00:31.22]            at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.Pass()
[xUnit.net 00:00:31.22]         /_/test/Microsoft.NET.TestFramework/TestAsset.cs(268,0): at Microsoft.NET.TestFramework.TestAsset.Restore(ITestOutputHelper log, String relativePath, String[] args)
[xUnit.net 00:00:31.22]         D:\a\_work\1\s\test\Microsoft.DotNet.CommandFactory.Tests\GivenAProjectToolsCommandResolver.cs(170,0): at Microsoft.DotNet.Tests.GivenAProjectToolsCommandResolver.ItReturnsACommandSpecWithArgsContainingCommandPathWhenReturningACommandSpecAndCommandArgumentsAreNull()
[xUnit.net 00:00:31.22]            at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
[xUnit.net 00:00:31.22]            at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
[xUnit.net 00:00:31.22]            at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @tmat@baronfel@carlossanlop@marcpopMSFT@Forgind

        Issue actions

          [dotnet watch] Cannot open project Lib.fsproj because extension fsproj is not associated with a language · Issue #46378 · dotnet/sdk