Fabio C
Fabio C

Reputation: 539

Error two or more assemblies Microsoft.ReportViewer.DataVisualization.resources. C# Framework Reportviewer and ClickOnce

I am having an error to buy "PUBLISH" a program in the .NET Framework by using ClickONCE.

Two or more assemblies have the same identity "Microsoft.ReportViewer.DataVisualization.resources, Version=14.0.0.0, Culture=zh-CHS, PublicKeyToken=89845DCD8080CC91, ProcessorArchitecture=msil".

Upvotes: 0

Views: 604

Answers (1)

beeker
beeker

Reputation: 810

Try this:

  1. From the "Solution Explorer" pane, right click on the project (not solution) and choose "Properties"
  2. Go to the "Publish" tab.
  3. Click on the "Application Files..." button.
  4. Find one of the two and set the "Publish Status" drop-down to "Exclude"

Upvotes: 1

Related Questions