By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,997 Members | 1,470 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,997 IT Pros & Developers. It's quick & easy.

Installer problem with VB projects and C# projects

P: n/a
This has worked perfectly for the past year now all the sudden it will not
compile the installer project correctly. All our source code is in a Source
Safe database so every system we do this on should be identicle. On one
system the installer project will compile correctly, but on two others it
will fail with this error.

------ Rebuild All started: Project: Installer, Configuration: Debug ------
Building file 'T:\Current Builds Installers\Benefits
System\Installer.msi'...
ERROR: Could not find file
'C:\reschinidev\benefits\Reporting\obj\Release\Rep orting.dll' 'The system
cannot find the path specified.'

if i remove that project from the installer then it says another one with
the same error (there are about 20 project outputs in the installer) every
thing in the installer is added as a primary output from [project]
(release.net)... as for the projects they have custom build locations for
when they are built. not into the standard project\bin\release folder...
what could be going on? what should i look at? ive tried about everything
including creating a new installer from scratch and still got the same
errors.
Nov 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

It looks like the reporting.dll file was referenced directly by the
installer rather than the project output (which could be .exe / .dll etc).
Hence the reason "C:\reschinidev\" is mentioned in the error.

When adding files that are the result of a compilation by your application,
do not "Add Files...", but rather "Add Project Output...". You'll find this
will then reference the DLL in question regardless of the folders in which
you try to build the solution.

The reason it has always worked it seems, is that the project used to exist
on the C:\, but now you've a partition T:\ I presume, on which your projects
are compiled.

Hope that makes sense.
Good luck.
"Brian Henry" <no****@nospam.com> wrote in message
news:eF**************@TK2MSFTNGP12.phx.gbl...
This has worked perfectly for the past year now all the sudden it will not
compile the installer project correctly. All our source code is in a
Source Safe database so every system we do this on should be identicle. On
one system the installer project will compile correctly, but on two others
it will fail with this error.

------ Rebuild All started: Project: Installer, Configuration:
Debug ------
Building file 'T:\Current Builds Installers\Benefits
System\Installer.msi'...
ERROR: Could not find file
'C:\reschinidev\benefits\Reporting\obj\Release\Rep orting.dll' 'The system
cannot find the path specified.'

if i remove that project from the installer then it says another one with
the same error (there are about 20 project outputs in the installer) every
thing in the installer is added as a primary output from [project]
(release.net)... as for the projects they have custom build locations for
when they are built. not into the standard project\bin\release folder...
what could be going on? what should i look at? ive tried about everything
including creating a new installer from scratch and still got the same
errors.

Nov 17 '05 #2

P: n/a
that is how they are added to the installer through Add Project Output... i
actually made a new installer to figure out what was going on with the same
add project output and still get the same error on two systems but no
another one (3 systems total)...
"Dan Bass" <Not Listed> wrote in message
news:ew**************@tk2msftngp13.phx.gbl...

It looks like the reporting.dll file was referenced directly by the
installer rather than the project output (which could be .exe / .dll etc).
Hence the reason "C:\reschinidev\" is mentioned in the error.

When adding files that are the result of a compilation by your
application, do not "Add Files...", but rather "Add Project Output...".
You'll find this will then reference the DLL in question regardless of the
folders in which you try to build the solution.

The reason it has always worked it seems, is that the project used to
exist on the C:\, but now you've a partition T:\ I presume, on which your
projects are compiled.

Hope that makes sense.
Good luck.
"Brian Henry" <no****@nospam.com> wrote in message
news:eF**************@TK2MSFTNGP12.phx.gbl...
This has worked perfectly for the past year now all the sudden it will
not compile the installer project correctly. All our source code is in a
Source Safe database so every system we do this on should be identicle.
On one system the installer project will compile correctly, but on two
others it will fail with this error.

------ Rebuild All started: Project: Installer, Configuration:
Debug ------
Building file 'T:\Current Builds Installers\Benefits
System\Installer.msi'...
ERROR: Could not find file
'C:\reschinidev\benefits\Reporting\obj\Release\Rep orting.dll' 'The system
cannot find the path specified.'

if i remove that project from the installer then it says another one with
the same error (there are about 20 project outputs in the installer)
every thing in the installer is added as a primary output from [project]
(release.net)... as for the projects they have custom build locations for
when they are built. not into the standard project\bin\release folder...
what could be going on? what should i look at? ive tried about everything
including creating a new installer from scratch and still got the same
errors.


Nov 17 '05 #3

P: n/a
If you shut down VS.Net and perform a search on all the solution and
projects file for "C:\reschinidev", what files come up? There should be no
references to anything absolute, but only relative from the solution (.sln)
file.

"Brian Henry" <no****@nospam.com> wrote in message
news:ul**************@TK2MSFTNGP15.phx.gbl...
that is how they are added to the installer through Add Project Output...
i actually made a new installer to figure out what was going on with the
same add project output and still get the same error on two systems but no
another one (3 systems total)...
"Dan Bass" <Not Listed> wrote in message
news:ew**************@tk2msftngp13.phx.gbl...

It looks like the reporting.dll file was referenced directly by the
installer rather than the project output (which could be .exe / .dll
etc).
Hence the reason "C:\reschinidev\" is mentioned in the error.

When adding files that are the result of a compilation by your
application, do not "Add Files...", but rather "Add Project Output...".
You'll find this will then reference the DLL in question regardless of
the folders in which you try to build the solution.

The reason it has always worked it seems, is that the project used to
exist on the C:\, but now you've a partition T:\ I presume, on which your
projects are compiled.

Hope that makes sense.
Good luck.
"Brian Henry" <no****@nospam.com> wrote in message
news:eF**************@TK2MSFTNGP12.phx.gbl...
This has worked perfectly for the past year now all the sudden it will
not compile the installer project correctly. All our source code is in a
Source Safe database so every system we do this on should be identicle.
On one system the installer project will compile correctly, but on two
others it will fail with this error.

------ Rebuild All started: Project: Installer, Configuration:
Debug ------
Building file 'T:\Current Builds Installers\Benefits
System\Installer.msi'...
ERROR: Could not find file
'C:\reschinidev\benefits\Reporting\obj\Release\Rep orting.dll' 'The
system cannot find the path specified.'

if i remove that project from the installer then it says another one
with the same error (there are about 20 project outputs in the
installer) every thing in the installer is added as a primary output
from [project] (release.net)... as for the projects they have custom
build locations for when they are built. not into the standard
project\bin\release folder... what could be going on? what should i look
at? ive tried about everything including creating a new installer from
scratch and still got the same errors.



Nov 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.