Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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? I've tried with files ~1gb as well and they fail too. Already have a few other files ranging from 5-60mb and they work fine.

Getting this error message when compiling: Error 2 Unexpected error writing metadata to file 'Not enough storage is available to complete this operation.

(Running win8 x64, loads of ram and disk space. Seriously doubt that's where the problem lies..)

like image 672
user2287497 Avatar asked Nov 28 '25 04:11

user2287497


1 Answers

Don't embbed such a large file, it will cause problems to the compiler! Add it as a linked resource.

like image 159
Yami Avatar answered Nov 30 '25 17:11

Yami



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!