Results 1 to 5 of 5

Thread: MSB4181 "task" returned false but did not log an error

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2019
    Posts
    85

    MSB4181 "task" returned false but did not log an error

    Hi admin

    i upgraded windows10 to 11 and the visuel studio 2017 to 2019 and when i execute the application that i created it return this error
    MSB4181: task "task" returned false but did not log an error
    in 2017 it work perfectly and i can't know where is the source of this error i want to delete it
    and when i click run this error i get "Erreur la tâche "ResolveComReference" a retourné false mais n'a pas journalisé d'erreur. ApproV2.0 "
    my thaught is the win 11 is the original of this error i think i will reinstall win 10 if so please confirm to me that is the win 11 or the .net framework ???
    please how i fix it

  2. #2
    Karen Payne MVP kareninstructor's Avatar
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    6,686

    Re: MSB4181 "task" returned false but did not log an error


  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2019
    Posts
    85

    Re: MSB4181 "task" returned false but did not log an error

    2 results. Search took: 00:00:00.0384439
    ApproV2.0.vbproj → Rebuild
    Target GetReferenceAssemblyPaths
    Task GetReferenceAssemblyPaths
    Error C:\Program Files\dotnet\sdk\6.0.101\Microsoft.Common.CurrentVersion.targets(1217,5): error MSB3644: les assemblys de référence pour .NETFramework,Version=v3.5 sont introuvables. Pour résoudre le problème, installez le Developer Pack (kit SDK/Pack de ciblage) c...
    Error Build failed.
    this is what i get after runing msbuild structured log viewer

  4. #4
    Karen Payne MVP kareninstructor's Avatar
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    6,686

    Re: MSB4181 "task" returned false but did not log an error

    To resolve the issue, install the Developer Pack (SDK/Targeting Pack)
    If appropriate, looks like you are targeting .NET Framework 3.5 but trying to use .NET Core 6

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Mar 2019
    Posts
    85

    Re: MSB4181 "task" returned false but did not log an error

    please help i still can't fix it

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width