开发者

Get the compilation fast again

I used SqlMetal to generate a C# file which has nearly 1 million lines of code. Even though it never开发者_如何学运维 changes, it slowed down the compilation process of the whole project. Is there a possibility to get it fast again?


Put the auto generated file in a project of its own. Compile it to an assembly and add a reference to that assembly from the project you want to make fast. This way you don't have to recompile the auto generated file more than once.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜