Pergunta

I'm trying to embed a dll into an executable and have set the dll's

  1. Build action to Embedded Resource, and
  2. Copy to output Directory to Do not copy.

It's still copying it. (I even tried publishing it using Clickonce and it does get published.)

Why?

Foi útil?

Solução

The answer turned out to be as mentioned here - Under Application Files - I changed the Publish Status to Exclude.

Outras dicas

Try those ways:

  1. Rebuild solution
  2. Clean then build solution
  3. Delete files at bin folder then build again
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top