Can I set LARGEADDRESSAWARE from within Visual Studio?(我可以在 Visual Studio 中设置 LARGEADDRESSAWARE 吗?)
问题描述
我有一个需要为 32 位且需要为/LARGEADDRESSAWARE 的 .net 程序集.
I have a .net assembly that needs to be 32-Bit and needs to be /LARGEADDRESSAWARE.
我知道如何使用 EditBin 执行此操作,但我想知道 Visual Studio 2010 中是否有内置方法?或者,是否有人为此编写了 MSBuild 任务?
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?
这是一个 C# 应用程序,所以遗憾的是没有链接器选项:(
This is for a C# app, so no linker options sadly :(
推荐答案
您可以将其作为构建后任务来完成.在构建事件"选项卡中,输入以下命令
You can do it as a Post-build task. In "Build Events" tab, put following command
editbin /largeaddressaware $(TargetPath)
进入构建后事件命令行:"
into the "Post-build event command line:"
VS2008 就是这种情况.我认为它应该以与 VS2010 相同的方式工作.
This is the case for VS2008. I think it should work in the same way for VS2010.
这篇关于我可以在 Visual Studio 中设置 LARGEADDRESSAWARE 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:我可以在 Visual Studio 中设置 LARGEADDRESSAWARE 吗?


基础教程推荐
- 如何激活MC67中的红灯 2022-01-01
- rabbitmq 的 REST API 2022-01-01
- MS Visual Studio .NET 的替代品 2022-01-01
- 如何在 IDE 中获取 Xamarin Studio C# 输出? 2022-01-01
- 为什么Flurl.Http DownloadFileAsync/Http客户端GetAsync需要 2022-09-30
- 将 XML 转换为通用列表 2022-01-01
- 有没有办法忽略 2GB 文件上传的 maxRequestLength 限制? 2022-01-01
- c# Math.Sqrt 实现 2022-01-01
- SSE 浮点算术是否可重现? 2022-01-01
- 将 Office 安装到 Windows 容器 (servercore:ltsc2019) 失败,错误代码为 17002 2022-01-01