View unanswered posts | View active topics



Reply to topic  [ 3 posts ] 
.git not found 
Author Message
Member

Joined: Fri Sep 30, 2016 3:58 am
Posts: 2
Reply with quote
when I import flashdevelop 5.2.0 to vs 2013, and compile "flashdevelop" it dont's work.

Platform: Win7 x64
VS: Visual Studio 2013

Chinese error tips:
1>------ 已启动生成: 项目: PluginCore, 配置: Debug Any CPU ------
1>E:\WorkSpace_Other\FD-5.2.0\PluginCore\PluginCore\Localization\TextHelper.cs(134,41,134,47): warning CS1692: 无效数字
1>E:\WorkSpace_Other\FD-5.2.0\PluginCore\PluginCore\Localization\TextHelper.cs(136,41,136,47): warning CS1692: 无效数字
1>E:\WorkSpace_Other\FD-5.2.0\PluginCore\PluginCore\Localization\TextHelper.cs(135,17,135,23): warning CS0162: 检测到无法访问的代码
1> PluginCore -> E:\WorkSpace_Other\FD-5.2.0\PluginCore\Bin\Debug\PluginCore.dll
2>------ 已启动生成: 项目: FlashDevelop, 配置: Debug x86 ------
2>
2> 未处理的异常: System.IO.DirectoryNotFoundException: 未能找到路径“E:\WorkSpace_Other\FD-5.2.0\.git\HEAD”的一部分。
2> 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
2> 在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
2> 在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
2> 在 System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
2> 在 System.IO.StreamReader..ctor(String path, Encoding encoding)
2> 在 System.IO.File.ReadAllText(String path, Encoding encoding)
2> 在 SetVersion.Program.Main(String[] args)
2>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1069,5): error MSB3073: 命令“"E:\WorkSpace_Other\FD-5.2.0\\SetVersion.bat" "E:\WorkSpace_Other\FD-5.2.0\"”已退出,代码为 -532459699。
========== 生成: 成功 1 个,失败 1 个,最新 0 个,跳过 0 个 ==========

means:
means:
means:
means:
1>------ start creating: project: PluginCore, configuration: Debug Any CPU ------
1>E:\WorkSpace_Other\FD-5.2.0\PluginCore\PluginCore\Localization\TextHelper.cs(134,41,134,47): warning CS1692: Number Invalid
1>E:\WorkSpace_Other\FD-5.2.0\PluginCore\PluginCore\Localization\TextHelper.cs(136,41,136,47): warning CS1692: Number Invalid
1>E:\WorkSpace_Other\FD-5.2.0\PluginCore\PluginCore\Localization\TextHelper.cs(135,17,135,23): warning CS0162: Found unreachable code
1> PluginCore -> E:\WorkSpace_Other\FD-5.2.0\PluginCore\Bin\Debug\PluginCore.dll
2>------ start creating: project: FlashDevelop, configuration: Debug x86 ------
2>
2> Unhandled exception: System.IO.DirectoryNotFoundException: Could not find path part of “E:\WorkSpace_Other\FD-5.2.0\.git\HEAD”。
2> on System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
2> on System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
2> on System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
2> on System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
2> on System.IO.StreamReader..ctor(String path, Encoding encoding)
2> on System.IO.File.ReadAllText(String path, Encoding encoding)
2> on SetVersion.Program.Main(String[] args)
2>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1069,5): error MSB3073: 命令“"E:\WorkSpace_Other\FD-5.2.0\\SetVersion.bat" "E:\WorkSpace_Other\FD-5.2.0\"”close,code: -532459699。
========== succeed: 1,Failure:1,newest:0,jump: 0 ==========

Make sure I selected 'Debug' configuration and 'x86' platform.

How to fix it?


===========================================
by the way , i forgot my old acount password,and related email, could you help me get it? only the email full name can help me get it.
the username is :suntiger
i have ever post the topics:http://www.flashdevelop.org/community/viewtopic.php?f=4&t=12350


Fri Sep 30, 2016 4:16 am
Profile
Moderator

Joined: Mon Jul 06, 2009 8:14 am
Posts: 258
Reply with quote
Yeah, this could get an improvement... but I guess this is very rarely affecting people. The problem is that some information from the repository, like the latest commit and branch, is used to set inforation like the program version. In order to be able to compile you'll need to checkout the code, it's not enough with the plain source code.


Fri Sep 30, 2016 10:26 pm
Profile
Member

Joined: Fri Mar 06, 2015 6:33 pm
Posts: 26
Reply with quote
I've been getting around this problem by removing the pre-build event command line of the FlashDevelop project. Not an ideal solution, but it makes everything build and it all seems to work just fine. Just an alternative if you can't check it out for whatever reason.


Tue Oct 11, 2016 7:15 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.