問題描述
我有一個(gè)需要為 32 位且需要為/LARGEADDRESSAWARE 的 .net 程序集.
I have a .net assembly that needs to be 32-Bit and needs to be /LARGEADDRESSAWARE.
我知道如何使用 EditBin 執(zhí)行此操作,但我想知道 Visual Studio 2010 中是否有內(nèi)置方法?或者,是否有人為此編寫了 MSBuild 任務(wù)?
I know how to do this with EditBin, but I wonder if there is a built-in way in Visual Studio 2010? Or alternatively, did someone write an MSBuild Task for this?
這是一個(gè) C# 應(yīng)用程序,所以遺憾的是沒有鏈接器選項(xiàng):(
This is for a C# app, so no linker options sadly :(
推薦答案
您可以將其作為構(gòu)建后任務(wù)來完成.在構(gòu)建事件"選項(xiàng)卡中,輸入以下命令
You can do it as a Post-build task. In "Build Events" tab, put following command
進(jìn)入構(gòu)建后事件命令行:"
into the "Post-build event command line:"
VS2008 就是這種情況.我認(rèn)為它應(yīng)該以與 VS2010 相同的方式工作.
This is the case for VS2008. I think it should work in the same way for VS2010.
這篇關(guān)于我可以在 Visual Studio 中設(shè)置 LARGEADDRESSAWARE 嗎?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!