The answer turned out to be as mentioned here - Under Application Files - I changed the Publish Status to Exclude.
Why does a file with Build action: "Embedded Resource" get copied?
-
15-07-2023 - |
Pergunta
I'm trying to embed a dll into an executable and have set the dll's
- Build action to Embedded Resource, and
- 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?
Solução
Outras dicas
Try those ways:
- Rebuild solution
- Clean then build solution
- Delete files at bin folder then build again
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow