Skip to content

dotnet build warning after installing 4.3.1 #3

@karlqueckfeldt

Description

@karlqueckfeldt

After installing version 4.3.1 we get the following warning when building our solution:

C:\Program Files\dotnet\sdk\8.0.415\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3243: No way to resolve conflict between "SiteImprove.Optimizely.Plugin, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null" and "SiteImprove.Optimizely.Plugin". Choosing "SiteImprove.Optimizely.Plugin, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null" arbitrarily.

[PATH_TO_PROJECT]\project.dll
dotnet watch started
Error:
  An assembly specified in the application dependencies manifest has already been found with a different file extension:
    package: 'SiteImprove.Optimizely.Plugin', version: '4.3.1'
    path: 'lib/net5.0/SiteImprove.Optimizely.Plugin.exe'
    previously found assembly: [PATH_TO_PROJECT]\bin\Debug\net8.0\SiteImprove.Optimizely.Plugin.dll
dotnet watch Exited with error code -2147450740

We've tried cleaning the project and restoring packages. That did not help. Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions