Home All Groups Group Topic Archive Search About

Spurious dependencies?

Author
23 Jun 2009 9:49 PM
Dale Atkin
Somewhere in the development of the program I'm working on, I did something
that a whole bunch of dependencies to be added to my project.

I'm not sure where these extra dependencies came from, but I'd like to
figure out how to 'purge' them from my project so that I don't bloat the
installer. (It went from 800kB --> 8MB). Anyone know of a way I can
determine what is causing VB.NET to decide that a particular file is needed?
I tried refreshing the dependencies, but that didn't work.

I've manually excluded a large number of files from the setup, but that
really isn't the way I should be doing this!

Dale

Author
23 Jun 2009 10:41 PM
James Hahn
By "refreshing" do you mean Project Properties  / References / Unused
Referenences / Remove?

Show quoteHide quote
"Dale Atkin" <labrad***@ibycus.com> wrote in message
news:u2jO3xE9JHA.2604@TK2MSFTNGP05.phx.gbl...
> Somewhere in the development of the program I'm working on, I did
> something that a whole bunch of dependencies to be added to my project.
>
> I'm not sure where these extra dependencies came from, but I'd like to
> figure out how to 'purge' them from my project so that I don't bloat the
> installer. (It went from 800kB --> 8MB). Anyone know of a way I can
> determine what is causing VB.NET to decide that a particular file is
> needed? I tried refreshing the dependencies, but that didn't work.
>
> I've manually excluded a large number of files from the setup, but that
> really isn't the way I should be doing this!
>
> Dale
Author
24 Jun 2009 3:30 AM
Dale Atkin
"James Hahn" <jh***@yahoo.com> wrote in message
news:umnTFPF9JHA.1248@TK2MSFTNGP04.phx.gbl...
> By "refreshing" do you mean Project Properties  / References / Unused
> Referenences / Remove?
>

Nope (I meant right click on the setup project and tell it to refresh
dependencies).

I'll try that tomorrow, and see if it helps. Thanks!

Dale
Author
24 Jun 2009 2:38 PM
Dale Atkin
> By "refreshing" do you mean Project Properties  / References / Unused
> Referenences / Remove?

It worked. Thanks a bunch. Still struggling to learn the IDE.

Dale
Author
24 Jun 2009 10:56 PM
James Hahn
Thanks for letting us know that you got it sorted out.

Show quoteHide quote
"Dale Atkin" <labrad***@ibycus.com> wrote in message
news:OIC54lN9JHA.1376@TK2MSFTNGP02.phx.gbl...
>> By "refreshing" do you mean Project Properties  / References / Unused
>> Referenences / Remove?
>
> It worked. Thanks a bunch. Still struggling to learn the IDE.
>
> Dale
Author
24 Jun 2009 12:43 PM
Cor Ligthert[MVP]
Dale,

You are writing here about a setup and deployment or something else?

Cor

Show quoteHide quote
"Dale Atkin" <labrad***@ibycus.com> wrote in message
news:u2jO3xE9JHA.2604@TK2MSFTNGP05.phx.gbl...
> Somewhere in the development of the program I'm working on, I did
> something that a whole bunch of dependencies to be added to my project.
>
> I'm not sure where these extra dependencies came from, but I'd like to
> figure out how to 'purge' them from my project so that I don't bloat the
> installer. (It went from 800kB --> 8MB). Anyone know of a way I can
> determine what is causing VB.NET to decide that a particular file is
> needed? I tried refreshing the dependencies, but that didn't work.
>
> I've manually excluded a large number of files from the setup, but that
> really isn't the way I should be doing this!
>
> Dale