Skip to content

Unable to build projects with Allure using .NET Core #634

Description

@darrenge

Doing a "dotnet build" from cmd prompt causes an error.

.nuget\packages\aspectinjector\2.8.1\buildTransitive\netstandard2.0\AspectInjector.targets(102,5): error MSB4803: The task "GetFrameworkSdkPath" is not supported on the .NET Core version of MSBuild. Please use the .NET Framework version of MSBuild.

The work around is to add this to the project:
<AspectInjector_Enabled>false</AspectInjector_Enabled>

But then again for Allure.NUnit and Allure.Xunit, attribute-based steps (the [AllureStep] attribute), won't work without AspectInjector.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions