简体   繁体   English

大文件作为Visual Studio 2012中的嵌入式资源

[英]Large file as embedded resource in Visual Studio 2012

I'm trying to add a large file (3.6gb) as an embedded resource in Visual Studio 2012. Is this possible? 我正在尝试在Visual Studio 2012中添加一个大文件(3.6gb)作为嵌入式资源。这可能吗? I've tried with files ~1gb as well and they fail too. 我已经尝试了文件〜1gb,它们也失败了。 Already have a few other files ranging from 5-60mb and they work fine. 已经有一些其他文件,范围从5-60mb,他们工作正常。

Getting this error message when compiling: Error 2 Unexpected error writing metadata to file 'Not enough storage is available to complete this operation. 编译时收到此错误消息: 错误2将元数据写入文件时出现意外错误'没有足够的存储空间可用于完成此操作。

(Running win8 x64, loads of ram and disk space. Seriously doubt that's where the problem lies..) (运行win8 x64,负载ram和磁盘空间。严重怀疑问题出在哪里..)

Don't embbed such a large file, it will cause problems to the compiler! 不要嵌入这么大的文件,这会给编译器带来问题! Add it as a linked resource. 将其添加为链接资源。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM