Skip to content

Should the SDK include Microsoft.Build.Utilities.v4.0? #1870

Description

@bencyoung

I'm trying to use Fody.Costura in my project but it's failing with:

C:\Users\Ben.Young\.nuget\packages\costura.fody\1.6.2\build\dotnet\Costura.Fody.targets(14,5): error MSB4062: The "Costura.Tasks.FilterReferenceCopyLocalPaths" task could not be loaded from the assembly C:\Users\Ben.Young\.nuget\packages\costura.fody\1.6.2\build\dotnet\..\..\\Costura.Tasks.dll. Could not load file or assembly 'Microsoft.Build.Utilities.v4.0, Version=4.0.0.0

The dll is in my framework folder but dotnet doesn't seem to find it. Using MSBuild or VS to build the solution works.

Is it expected that using dotnet from the command line should work with targets that use these utilities?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions