I want to deploy a web role on Windows Azure. The project contains a large resource file (in fact, a dictionary file with extension .dct).
After packaging with vs2010, I investigate the .cspkg file, no .dct files are included in the approot sub-directory. What may be the problem and how to solve?
Thanks and best regards!
You need to set it to Copy Local in the files properties. See this screenshot:
Edited to add: According to @Summer_More_More_Tea it wasn’t the Copy Local property but rather setting the Build Action to ‘Content’, which specifies the file is not compiled but is included in the output.