Error opening vcxproj file with VS2010SP1

165 views
Skip to first unread message

Eugen Sares

unread,
Apr 21, 2012, 5:33:59 AM4/21/12
to soft...@listproc.autodesk.com
Hi guys,
created a plugin skeleton code with SI2013's SDK wizard, chose C++
compiler version "Visual Studio 2010", which is the recommended version,
and started VS via the usual batch file, as administrator.
Strangely, I cannot open the .vcxproj file.
VS gives some strage error:
"... Debug-x86.props ... Illegal characters in path ..."

However, when I create the code for VS2008, the .vcproj can be opened in
VS, with some conversion stuff going on.

Retry/Ignore/Cancel??

Cheers,
Eugen

Alok Gandhi

unread,
Apr 21, 2012, 11:23:21 AM4/21/12
to soft...@listproc.autodesk.com
Hi Eugen,

.vcproj files are xml files with all the settings of projects, dependencies etc. specified. Open your .vcproj file in notepad, find  'Debug-x86.props'. You will find a path to these pointed to XSISDK folders\make files folders. Make sure the path is all legal with correct path separator and without any illegal characters. You can edit your .vcproj file and save. Try to open it again, if you see more of these errors try to fix them all.

To fix the path you can set the separator to '\\'.

I am not sure if this will solve the problem, but from the error you are getting it is worth a try.

Eugen Sares

unread,
Apr 22, 2012, 2:36:05 AM4/22/12
to soft...@listproc.autodesk.com
Thanks, Alok!
I found the (very simple) error:

XSISDK_ROOT contains quotes, which it shouldn't.
This is because it gets set wrongly in the batch scripts
http://download.autodesk.com/global/docs/softimage2013/en_us/sdkguide/index.html?url=files/cpp_setup_CompilingPlugins.htm,topicNumber=d30e78816
...
set XSISDK_ROOT="C:\Softimage\Softimage_2012_x64\XSISDK"

(besides, it should read Softimage 2013 in the meantime)

Correct version:
set "XSISDK_ROOT=C:\Softimage\Softimage 2013\XSISDK"

See http://ss64.com/nt/set.html

Now VS can open the .vcxproj without problems.

Best,
Eugen

Alok Gandhi

unread,
Apr 22, 2012, 10:17:06 AM4/22/12
to soft...@listproc.autodesk.com
Good find ! thanks for the heads up. I hope they update the help page in the docs.
Reply all
Reply to author
Forward
0 new messages