Skip to content

[error MSB3491]Wired build error when integrated with Jenkins #123

@zilongshanren

Description

@zilongshanren

Here is the error message:

 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(308,5): error MSB3491: Could not write lines to file 

"Release.win32\MyLuaGam.B7C2A162.tlog\MyLuaGame/frameworks/runtime-src/proj.win32/MyLuaGame.sln.lastbuildstate". Could not find a part of the path 

'd:\win32_slave\workspace\tp-daily-lua\node\win32\MyLuaGame\frameworks\cocos2d-x\cocos\editor-support\spine\proj.win32\Release.win32\MyLuaGam.B7C2A162.tlog\MyLuaGame\frameworks\runtime

-src\proj.win32\MyLuaGame.sln.lastbuildstate'. [d:\win32_slave\workspace\tp-daily-lua\node\win32\MyLuaGame\frameworks\cocos2d-x\cocos\editor-

support\spine\proj.win32\libSpine.vcxproj]

But if I login into the local machine and run msbuild, it won't failed.

Another similar issue:

http://jenkins-ci.361315.n4.nabble.com/MSBuild-Fails-in-Hudson-but-not-when-executed-from-cmd-line-td3175039.html

Any suggestions will be appreciated.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions