PDA

View Full Version : Issue building a VS.NET SLN


MHolmes
04-27-2006, 02:12 PM
I am having some serious issues building some sln's we have using VS.NET and VisualBuild 5.7. I keep getting the message:

Error loading info for project file 'd:\builds\1.x\HTPS\Libs\..\..\OpenSource\FreeTDS\ freetds-0.63\win32\VS2003\FreeTDS.vcproj': Illegal characters in path.

I can open these sln's perfectly fine on their own, and I can build them myself using the command line tools. Only when I try and build them through VisualBuild does this issue come up.

I've seen some other threads about this, and none of them seemed to be exactly the same issue. Could it possibly be that the .vcproj files have " splattered throughout them because of quotes in various paths?

Also, it's not the ..\..\ in the path, because I've opened the file using that path and had no issues. This same error appears if I try and load the freetds project directly (as in, building it's vcproj from inside VisualBuild...same error).

Any ideas?

kinook
04-27-2006, 03:03 PM
Please ZIP and send or post:
1) The info from Help | About | Install Info
2) The .bld file used to build
3) The .sln file and project files (no source code files)

Thanks.

Erik
10-02-2006, 05:28 AM
Hello!

I have the same problem as issued MHolmes. In addition I can tell them on another computer this .bld file works fine.

What is solution for this problem?

kinook
10-02-2006, 08:12 AM
Please ZIP and send or post:
1) The info from Help | About | Install Info
2) The .bld file used to build
3) The .sln file and project files (no source code files)

Thanks.

Erik
10-02-2006, 09:07 AM
But haven`t you fixed this bug since MHolmes post? I thought that it was already fixed since april.

I reinstalled Visual Build (my current version is 6.2, previous was 6.1) but the problem is still exists.

kinook
10-02-2006, 12:50 PM
I don't believe MHolmes ever responded.

Erik
10-04-2006, 04:22 AM
I collected all required information to reproduce this bug. It is in attached file. I hope that this will help you to understand what is wrong.

Please, fix it as soon as you can.

kinook
10-04-2006, 06:46 AM
I wasn't able to reproduce the error (it got past the part where VBP parses the project files). Please ZIP and send your build log file and indicate the drive+path where your files reside (I unzipped your files to d:\src\support\esignal).

Erik
10-04-2006, 08:40 AM
Path on my local machine where this error reproduces every time is: E:\VisualBuild_6_2_Bug\. The directory structure is the same as in ZIP I`ve attached above.

Here is ZIP with VisualBuild log output:

kinook
10-04-2006, 11:01 AM
Do you have an environment variable named MC_PATH? What is its value?

Erik
10-05-2006, 01:03 AM
Yes, I have this variable on my computer, it`s value is just a path on disk: D:\Program Files\TS Support\MultiCharts.

Is the problem in this environment variable?

kinook
10-05-2006, 08:23 AM
We may be on to something. Does the value of the variable contain double quotes? I was able to reproduce the error when set like

set MC_PATH="D:\Program Files\TS Support\MultiCharts"

but not for

set MC_PATH=D:\Program Files\TS Support\MultiCharts

Double quotes should not be necessary for proper building, but the Make VS.NET step is not expecting the value to contain double quotes.

Erik
10-05-2006, 10:28 AM
Yes, you are quite right: problem was in double quotes in the value of environment variable MC_PATH. When I removed these quotes and relogged in to system, everything began work correctly. The problem is solved.

Thank you very much for you assistance.