在asp.net App_Code目录中使用Nemerle
发布时间:2020-05-23 00:00:07 所属栏目:asp.Net 来源:互联网
导读:我想在ASP.NET应用程序中使用Nemerle.具体来说,将.n文件放入App_Code. 我将其添加到我的web.config system.codedom / compilers部分: compiler language=n;Nemerle extension=.n type=Nemerle.Compiler.NemerleCodeProvider, Nemerle.Compil
|
我想在ASP.NET应用程序中使用Nemerle.具体来说,将.n文件放入App_Code. 我将其添加到我的web.config system.codedom / compilers部分: <compiler language="n;Nemerle" extension=".n" type="Nemerle.Compiler.NemerleCodeProvider,Nemerle.Compiler"/> 运行时我得到这个例外: 程序集“”已经加载到另一个应用程序域中.在machine.config中设置可以帮助解决这个问题. 堆栈跟踪 [HttpException (0x80004005): The assembly '' is already loaded in another appdomain. Setting <deployment retail="true" /> in machine.config can help solve this issue.] System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir,CodeDirectoryType dirType,String assemblyName,StringSet excludedSubdirectories,Boolean isDirectoryAllowed) +8809675 System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir,StringSet excludedSubdirectories) +128 System.Web.Compilation.BuildManager.CompileCodeDirectories() +265 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +320 [HttpException (0x80004005): The assembly '' is already loaded in another appdomain. Setting <deployment retail="true" /> in machine.config can help solve this issue.] System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +58 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +512 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager,IApplicationHost appHost,IConfigMapPathFactory configMapPathFactory,HostingEnvironmentParameters hostingParameters) +729 [HttpException (0x80004005): The assembly '' is already loaded in another appdomain. Setting <deployment retail="true" /> in machine.config can help solve this issue.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8890735 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +259 我究竟做错了什么? 解决方法使用Visual Studio 2010发现偶尔的问题.停止任何正在运行的虚拟Web服务器主机进程并重新启动Visual Studio.(编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 文件上传 – 如何解决邮递员中的文件上传错误?
- asp.net-mvc – 获取MVC忽略到站点根目录的路由
- asp.net – ModalPopupExtender和验证问题
- 如何在Asp.Net页面中包含Javascript文件
- ASP.net MVC – 在区域之间共享部分
- asp.net-mvc – 从Asp.net MVC发送HTML电子邮件的最佳方式是
- asp.net-mvc – 如何根据设备类型更改ASP.NET MVC视图?
- asp.net-mvc – asp.net mvc中的动态子域
- asp.net – Web应用程序中的自动填充,我应该在哪里存储容器
- .net – 在IIS中部署.PDB文件 任何好处?
推荐文章
站长推荐
- asp.net – 当我按浏览器BACK按钮会发生什么?
- asp.net – MVC ViewModel错误 – 没有为此对象定
- 在ASP.NET捆绑和缩小中将样式的URL转换为CDN URL
- asp.net-mvc – ASP.NET MVC路由上的拖尾斜杠
- asp.net – AsyncPostBackTrigger找不到LinkButt
- asp.net-mvc – 为什么在视图引擎中指定位置时,v
- asp.net-mvc-3 – R#6 – 在剃刀视图中建议“使用
- 如何在ASP.NET MVC中具有相同名称的文件夹和控制
- asp.net-web-api – 如何在MVC4 Web API中的自定
- asp.net-mvc – 为什么我得到一个“无法更新Enti
热点阅读
