How to deploy dlls included in a project that is not the startup project.

  • Thread starter Thread starter BLUE
  • Start date Start date
B

BLUE

I've 5 projects and in 2 of them I have added some dll I need to copy to the
handheld (add existing item).
When I build and deploy the solution these files are not copied to the
device: is there a workaround?


Thanks,
Luigi.
 
Hello BLUE" blue,

Did you set "Copy Local = true" into the properties of referred component
in VS IDE?

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

B> I've 5 projects and in 2 of them I have added some dll I need to copy
B> to the
B> handheld (add existing item).
B> When I build and deploy the solution these files are not copied to
B> the
B> device: is there a workaround?
B> Thanks,
B> Luigi.
 
Hi,

A fast workaround would be just to include these dll in the final app and
mark them as content, I have a similar escenario and they always get copied
(everything marked as content is)
 
Hi,


Michael Nemtsev said:
Hello BLUE" blue,

Did you set "Copy Local = true" into the properties of referred component
in VS IDE?

Most probably he does P/invoke those dlls ,so they will not be copied along.
The dll resulting of the project will be.
 
Hello Ignacio Machin ( .NET/ C# MVP )" machin TA laceupsolutions.com,

Yep, it could be,
so the alternative solution is just use the post-build action to copy them
to the desired location

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

I> Hi,
I>
I> I>I> Most probably he does P/invoke those dlls ,so they will not be copied
I> along. The dll resulting of the project will be.
I>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top