Note: This is the preliminary version of the documentation.
[Ultra Application Projects should use UltraSource to include assets] ScriptResourceAttribute
Note: Future projects should use ReferenceUltraDocument pre build event to build the asset library from the referenced resources. Essentially this denotes a directory of asset files.
Due to historical reasons there is a special way to include assets. This is supported for the C# projects as Visual Basic compiler does not emit resource names with the correct prefix.
Project name: ACME.Library File path: web/assets/ACME.Library File name: File1.txt
ACME.Library.web.assets.ACME.Library.File1.txt
Rational: You could either use Copy Always or Embedded Resource and still use the resource.
Source:
Usage: [ScriptCoreLib.Shared.ScriptResourcesAttribute()]
|