Note that there are some explanatory texts on larger screens.

plurals
  1. POJavascript Runtime Error in VS2012
    primarykey
    data
    text
    <p>I face a problem to compile windows 8 application which is create using visual studio 2012 windows runtime component project. I'm using html 5 , javascript and c++ to develop this application. But when I compile the project I'm getting error which is JavaScript runtime error: Error in the DLL.</p> <p>I don't know how to fixed this problem and when i build this project I'm getting error like below:-</p> <pre><code>Error 40 Loading assembly "D:\workspace\Test\apps\Test\windows8\native\Debug\WindowsRuntimeComponent1\WindowsRuntimeComponent1.dll" failed. System.IO.FileLoadException: Could not load file or assembly 'WindowsRuntimeComponent1.dll' or one of its dependencies. This operation is only valid in the context of an application container. (Exception from HRESULT: 0x8007109A) File name: 'WindowsRuntimeComponent1.dll' at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark&amp; stackMark) at System.Reflection.Assembly.UnsafeLoadFrom(String assemblyFile) at Microsoft.Build.Tasks.ProcessResourceFiles.ReadAssemblyResources(String name) C:\Program Files\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets 383 9 Test </code></pre> <p>May I ask how to solve this problem? Thank you.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload