在asp.net App_Code目录中使用Nemerle
发布时间:2021-01-12 14:07:45 所属栏目: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下创建、查询、修改带名称空间的 XML 文件的例子
- 详解ASP.NET Core 中的框架级依赖注入
- asp.net-ajax – ASP.Net AJAX UpdatePanel无法触发Selecte
- 实体框架 – 等同于.HasOptional在实体框架核心1(EF7)
- asp.net – Request.Url.AbsoluteUri和重写的URL
- 无法通过IP地址连接ASP.NET开发服务器(VS2010)
- 单元测试 – 如何在ASP MVC 5(Microsoft.AspNet.Identity)中
- 充分利用ASP.NET的三种缓存提高站点性能的注意方法
- asp.net-mvc – ASP.NET MVC视图模型的最佳做法
- .net – 扩展自定义成员资格提供程序
推荐文章
站长推荐
- asp.net下经典数据库记录分页代码
- MVC .Net Cascade在使用EF Code First Approach时
- asp.net-mvc – View中的意外NullReferenceExcep
- asp.net – IControllerFactory’MyWebSite.WebU
- asp.net中mvc使用ajax提交参数的匹配问题解决探讨
- 如何使用Fluent Nhibernate中的Automapping进行O
- asp.net-mvc – 使用Viewbag绑定DropdownlistFor
- ASP.NET -- WebForm -- 页面生命周期事件
- ASP.NET(C#)应用程序配置文件app.config/web.con
- asp.net-mvc-3 – ASP.Net MVC 3:在哪里处理会话
热点阅读
