|
|
|
start date: Mon, 20 Aug 2007 10:54:30 -0700,
posted on: microsoft.public.dotnet.framework.compactframework
back
| Thread Index |
|
1
Smart
|
|
2
Paul G. Tobey [eMVP] p space tobey no spam AT no instrument no spam DOT com
|
|
3
ctacke/ ctacke[at]opennetcf[dot]com
|
|
4
ctacke/ ctacke[at]opennetcf[dot]com
|
|
5
Peter Foot [MVP]
|
|
6
Smart
|
|
7
Smart
|
|
8
Smart
|
How to share dll cross applications on deployment
Hey,
I am trying to create a couple of cab files for different projects,
those projects share with a lot of common dlls. I tried to deploy
those common dlls to device window and window/system directory. But
when I run my application, it gives error: could not find those
references. I don't want to make some many duplicated copies of dlls.
How can I do that.
Thanks
Date:Mon, 20 Aug 2007 10:54:30 -0700
Author:
|
Re: How to share dll cross applications on deployment
Deploy them to \Windows. That's always in the path.
Paul T.
"Smart" wrote in message
news:1187632470.149844.84570@w3g2000hsg.googlegroups.com...
> Hey,
> I am trying to create a couple of cab files for different projects,
> those projects share with a lot of common dlls. I tried to deploy
> those common dlls to device window and window/system directory. But
> when I run my application, it gives error: could not find those
> references. I don't want to make some many duplicated copies of dlls.
> How can I do that.
>
> Thanks
>
Date:Mon, 20 Aug 2007 11:00:27 -0700
Author:
|
Re: How to share dll cross applications on deployment
Put them in the GAC (Google will help you find out how).
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com
"Smart" wrote in message
news:1187632470.149844.84570@w3g2000hsg.googlegroups.com...
> Hey,
> I am trying to create a couple of cab files for different projects,
> those projects share with a lot of common dlls. I tried to deploy
> those common dlls to device window and window/system directory. But
> when I run my application, it gives error: could not find those
> references. I don't want to make some many duplicated copies of dlls.
> How can I do that.
>
> Thanks
>
Date:Mon, 20 Aug 2007 13:20:56 -0500
Author:
|
Re: How to share dll cross applications on deployment
On Aug 20, 2:20 pm, "<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote:
> Put them in the GAC (Google will help you find out how).
>
> --
>
> Chris Tacke, Embedded MVP
> OpenNETCF Consulting
> Managed Code in an Embedded Worldwww.OpenNETCF.com
>
> "Smart" wrote in message
>
> news:1187632470.149844.84570@w3g2000hsg.googlegroups.com...
>
> > Hey,
> > I am trying to create a couple of cab files for different projects,
> > those projects share with a lot of common dlls. I tried to deploy
> > those common dlls to device window and window/system directory. But
> > when I run my application, it gives error: could not find those
> > references. I don't want to make some many duplicated copies of dlls.
> > How can I do that.
>
> > Thanks
thanks, I will give it try.
Date:Tue, 21 Aug 2007 03:39:20 -0700
Author:
|
Re: How to share dll cross applications on deployment
On Aug 21, 6:39 am, Smart wrote:
> On Aug 20, 2:20 pm, "<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote:
>
>
>
> > Put them in the GAC (Google will help you find out how).
>
> > --
>
> > Chris Tacke, Embedded MVP
> > OpenNETCF Consulting
> > Managed Code in an Embedded Worldwww.OpenNETCF.com
>
> > "Smart" wrote in message
>
> >news:1187632470.149844.84570@w3g2000hsg.googlegroups.com...
>
> > > Hey,
> > > I am trying to create a couple of cab files for different projects,
> > > those projects share with a lot of common dlls. I tried to deploy
> > > those common dlls to device window and window/system directory. But
> > > when I run my application, it gives error: could not find those
> > > references. I don't want to make some many duplicated copies of dlls.
> > > How can I do that.
>
> > > Thanks
>
> thanks, I will give it try.
Hey, I tried to create a device cab project, I want to specify all dll
go to window directory, and exe goes to application directory. I
create a window folder in cab project and put all dlls in the folder.
However all dlls still go to application directory with exe. How can I
set all dlls go to window directory?
Thanks
Date:Tue, 21 Aug 2007 12:06:21 -0700
Author:
|
Re: How to share dll cross applications on deployment
See this:
http://msdn2.microsoft.com/en-us/library/aa446504.aspx
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com
"Smart" wrote in message
news:1187723181.480630.84560@r29g2000hsg.googlegroups.com...
> On Aug 21, 6:39 am, Smart wrote:
>> On Aug 20, 2:20 pm, "<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote:
>>
>>
>>
>> > Put them in the GAC (Google will help you find out how).
>>
>> > --
>>
>> > Chris Tacke, Embedded MVP
>> > OpenNETCF Consulting
>> > Managed Code in an Embedded Worldwww.OpenNETCF.com
>>
>> > "Smart" wrote in message
>>
>> >news:1187632470.149844.84570@w3g2000hsg.googlegroups.com...
>>
>> > > Hey,
>> > > I am trying to create a couple of cab files for different projects,
>> > > those projects share with a lot of common dlls. I tried to deploy
>> > > those common dlls to device window and window/system directory. But
>> > > when I run my application, it gives error: could not find those
>> > > references. I don't want to make some many duplicated copies of dlls.
>> > > How can I do that.
>>
>> > > Thanks
>>
>> thanks, I will give it try.
>
> Hey, I tried to create a device cab project, I want to specify all dll
> go to window directory, and exe goes to application directory. I
> create a window folder in cab project and put all dlls in the folder.
> However all dlls still go to application directory with exe. How can I
> set all dlls go to window directory?
>
> Thanks
>
Date:Tue, 21 Aug 2007 14:24:25 -0500
Author:
|
Re: How to share dll cross applications on deployment
On Aug 21, 3:06 pm, Smart wrote:
> On Aug 21, 6:39 am, Smart wrote:
>
>
>
> > On Aug 20, 2:20 pm, "<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote:
>
> > > Put them in the GAC (Google will help you find out how).
>
> > > --
>
> > > Chris Tacke, Embedded MVP
> > > OpenNETCF Consulting
> > > Managed Code in an Embedded Worldwww.OpenNETCF.com
>
> > > "Smart" wrote in message
>
> > >news:1187632470.149844.84570@w3g2000hsg.googlegroups.com...
>
> > > > Hey,
> > > > I am trying to create a couple of cab files for different projects,
> > > > those projects share with a lot of common dlls. I tried to deploy
> > > > those common dlls to device window and window/system directory. But
> > > > when I run my application, it gives error: could not find those
> > > > references. I don't want to make some many duplicated copies of dlls.
> > > > How can I do that.
>
> > > > Thanks
>
> > thanks, I will give it try.
>
> Hey, I tried to create a device cab project, I want to specify all dll
> go to window directory, and exe goes to application directory. I
> create a window folder in cab project and put all dlls in the folder.
> However all dlls still go to application directory with exe. How can I
> set all dlls go to window directory?
>
> Thanks
And I also try to create a Gac folder in my cab project and add all
dlls in this folder. It supposed to copy all dlls into window
directory, right? It does not work for me. Also I thought .GAC file
will be copied to device. I could not find where my gac file goes
either.
Thanks
Date:Tue, 21 Aug 2007 12:28:29 -0700
Author:
|
Re: How to share dll cross applications on deployment
That's true - there is a description of the issue here:-
http://peterfoot.net/BugInGACInstallationFromVS2005DeviceCABProjects.aspx
It's also covered in the Setup and Deployment chapter in our book (There's a
link on that page)
Peter
--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility
"Smart" wrote in message
news:1187732844.739283.43810@50g2000hsm.googlegroups.com...
> On Aug 21, 3:28 pm, Smart wrote:
>> On Aug 21, 3:06 pm, Smart wrote:
>>
>>
>>
>> > On Aug 21, 6:39 am, Smart wrote:
>>
>> > > On Aug 20, 2:20 pm, "<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote:
>>
>> > > > Put them in the GAC (Google will help you find out how).
>>
>> > > > --
>>
>> > > > Chris Tacke, Embedded MVP
>> > > > OpenNETCF Consulting
>> > > > Managed Code in an Embedded Worldwww.OpenNETCF.com
>>
>> > > > "Smart" wrote in message
>>
>> > > >news:1187632470.149844.84570@w3g2000hsg.googlegroups.com...
>>
>> > > > > Hey,
>> > > > > I am trying to create a couple of cab files for different
>> > > > > projects,
>> > > > > those projects share with a lot of common dlls. I tried to deploy
>> > > > > those common dlls to device window and window/system directory.
>> > > > > But
>> > > > > when I run my application, it gives error: could not find those
>> > > > > references. I don't want to make some many duplicated copies of
>> > > > > dlls.
>> > > > > How can I do that.
>>
>> > > > > Thanks
>>
>> > > thanks, I will give it try.
>>
>> > Hey, I tried to create a device cab project, I want to specify all dll
>> > go to window directory, and exe goes to application directory. I
>> > create a window folder in cab project and put all dlls in the folder.
>> > However all dlls still go to application directory with exe. How can I
>> > set all dlls go to window directory?
>>
>> > Thanks
>>
>> And I also try to create a Gac folder in my cab project and add all
>> dlls in this folder. It supposed to copy all dlls into window
>> directory, right? It does not work for me. Also I thought .GAC file
>> will be copied to device. I could not find where my gac file goes
>> either.
>>
>> Thanks
>
> I figured out by someone post on other forum. Because GAC file is
> Unicode file, which device does not like. So I create manually a GAC
> file and deploy into window directory. everything works. Thanks
>
Date:Wed, 22 Aug 2007 16:18:43 +0100
Author:
|
|
|