Download prerequisites from the same location...not working

T

TN

Am I missing something here? I am checking the radio button "Download
prerequisites from the same location as my application" so that I can
include the .Net 2.0 framework with my application setup. I created a
VM running Win2k copied over the setup (and the dotnetfx directory) and
when I run the install it just tries to install the dotnetfx from the
Web ! ! What else so I need to do? Thanks!
 
S

scott blood

Hello,

Basically You have a refernce to one or more dll that corresponds to version
say version 1.0.0.0.1 in your project. When you build, it tries to copy it
to the bin directory and finds the dll's you copied there that is of
version 1.0.0.0.0

To fix this, do one of the following...

Simply reference the dll's from where they are, Visual studio will
automatically copy them to the bin directory when your build or run your
project.

If you want it referenced from within the bin directory (where you
already have put it) reference it from there (take out the old reference and
add the one from bin)

If you don't want it copied there (want it referenced in some other
location - would force you to deploy to the same location ...) then change
its property "copy Local" to false.

Regards
Scott Blood
C# Developer
 
T

TN

TN said:
Am I missing something here? I am checking the radio button "Download
prerequisites from the same location as my application" so that I can
include the .Net 2.0 framework with my application setup. I created a
VM running Win2k copied over the setup (and the dotnetfx directory) and
when I run the install it just tries to install the dotnetfx from the
Web ! ! What else so I need to do? Thanks!

Ahh... must run the setup.exe not the setup.msi. Another issue is that
the setup (rather dotnetfx) requires ie 5.01 or greater.
 

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

Top