VB.NET setup project compiling from obj\debug even though set to Release.

  • Thread starter Thread starter Andre Ranieri
  • Start date Start date
A

Andre Ranieri

I am trying to create a setup project to deploy a VB.NET
application that includes a Crystal Reports for Visual
Studio .NET .rpt file. I have one problem that has me
stumped.

Even though the solution, main project and setup project
are all set to "release" in Configuration Manager, it
appears the setup.msi file is compiling my files from the
obj\Debug directory instead of obj\Release. When I run
Setup.exe on a test client system, the .exe and .rpt
files' date modified matches that of the debug files, not
the release.

I've been trying to figure this out and am lost. I would
appreciate any help here.

Thanks in advance,

Andre
 
Hello,
Try moving the debug folders to an 'unknown'
location. This will eliminate the possibility that your
release code is not what you think it is. It may also
provide you with an error message that could lead to
understanding. I do not know VS.NET well enough to know
for certain that you will be allowed to do that, but the
most common cause of the "my code does not reflect my
changes problem" is compiling the wrong code (or running
the wrong code, or looking at the wrong code or editing
the wrong code).

mklapp
 
Back
Top