且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

构建时未执行预构建事件

更新时间:2021-09-10 00:13:54

这是您可以用来解决问题的方法

1.观察输出"窗口,看是否在build下抛出了任何异常.
2.在PERL上的几行之间打印一些消息,以检查您的PERL程序是否正常执行.

我们使用命令批处理这类东西.
This is what you can do to figure the problem

1. Watch the Output Window, whether the any exception is thrown below build.
2. Print some messages on the PERL, between few lines to check whether your PERL program is executing perfectly.

We use command batches to these kind of stuffs.


您说过"... 它总是可以在其他人的计算机上运行".
如何将另一个人的计算机开发设置/配置与您的比较?可能是您的设置不正确.可能是您要求其他人检查您的开发设置/配置.
You said "...it always works on other guy''s computer".
How about comparing the other guy''s computer development setting/configuration against yours? May be something in your setting is not right. May be you ask the other guy to check your development setting/configuration.


我找到了根本原因:
microsoft.common.target文件损坏.

我重新安装了.net 4.0和vs2010.
问题解决了.

谢谢大家!
I have found the root cause:
microsoft.common.target file corrupted.

I reinstalled the .net 4.0 and vs2010.
the problem was solved.

Thank you guys!