Tom
Tom

Reputation: 312

resource identifier xxxxxxxx has already been used in this assembly

Compiling a Workflow with Visual Studio 2010 and .Net Framework 3.0 results in this CSC error:

"resource identifier xxxxxxxx has already been used in this assembly"

where xxxxxxxx is a Workflow Type in my Project.

I'm using Workflow Foundation 3. Thanks for your help, Tom

Upvotes: 8

Views: 13907

Answers (2)

SliverNinja - MSFT
SliverNinja - MSFT

Reputation: 31641

Was getting this same issue recently in VS IDE - traced this down to the CSPROJ having the same import twice for a nuget package. If you see this - comb through your CSPROJ looking for duplicate <Import/> elements for the same asset.

Upvotes: 5

user153923
user153923

Reputation:

There is likely a folder in your project with some controls that should not be compiled again.

The simplest solution would be to Right-Click the folder with xxxxxxxx in it, and select "Exclude from Project"

DO NOT DELETE THE FOLDER!

sample pic

Upvotes: 5

Related Questions