在asp.net App_Code目录中使用Nemerle
发布时间:2021-01-12 10:53:36 所属栏目: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 – Windows应用程序与Web应用程序开发
- asp.net-mvc – 如何在视图上下文之外获取ModelMetadata?
- asp.net – (客户端)禁用提交按钮的最佳方法是什么?
- asp.net – 未知的服务器标签’ajaxToolkit:CalendarExten
- asp.net – Ajax Control Toolkit正在加载太多脚本资源
- asp.net-core – .net核心自定义身份验证中的User.Identity
- 在asp.net中HttpContext.Current.User和Thread.CurrentPrin
- 我可以使用ASP.NET成员身份实体框架吗?
- asp.net – 我可以重新发布或携带POST数据(如果是这样,我可
- ASP.NET基于Ajax的Enter键提交问题分析
推荐文章
站长推荐
- asp.net+Ajax 文本文件静态分页实现代码
- asp.net – 如果我没有指定targetFramework =“4
- asp.net – 如何检查SQL Server代理是否正在运行
- asp.net-mvc-3 – 应该使用HTTP引用来验证还是令
- 有没有办法从ASP.NET访问IIS内核缓存?
- asp.net-mvc – 有什么技巧/技巧使用亚音速与Asp
- asp.net-mvc – 从页面到局部视图的asp.net mvc参
- asp.net – 如何在C#2.0中的Web.config中加密用户
- asp.net-mvc – 在asp.net mvc 3剃刀中识别html助
- 我应该在ASP.NET MVC中构建我的下一个Web应用程序
热点阅读