Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 889
Tom Avatar asked Nov 26 '14 16:11

Tom


2 Answers

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

like image 89
jp2code Avatar answered Nov 03 '22 00:11

jp2code


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.

like image 4
SliverNinja - MSFT Avatar answered Nov 03 '22 02:11

SliverNinja - MSFT