在asp.net App_Code目录中使用Nemerle
发布时间:2021-01-12 10:52:48 所属栏目: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 Web应用程序安全性不适用于IIS 7?
- asp.net – 我应该使用WebMatrix构建一个真实世界的网站吗?
- asp.net-mvc – 在没有模型的情况下手动将验证添加到文本框
- 什么是使用aspnet_compiler.exe预编译ASP.NET项目的优势?
- asp.net – 我如何使用AJAX来确定用户的会话是否已过期,然后
- asp.net-mvc – 在一个页面中以两种不同的形式使用多个@ Ht
- asp.net-mvc – 使用asp.net mvc 2功能与火花浏览引擎
- 详解ASP.NET Core 中的框架级依赖注入
- asp.net-mvc – MVC 5 OWIN登录声明和AntiforgeryToken.我错
- asp.net – Orchard CMS Media中的文件大小上传限制
推荐文章
站长推荐
- asp.net-mvc – 如何将XML作为POST传递给ASP MVC
- asp.net – 我们可以在视图状态中放置哪些类型的
- 使用ASP.NET AJAX Control Toolkit设置焦点
- asp.net-mvc – Umbraco 7自定义cookie
- asp.net – 适用于多个用户的EWS通知中心
- asp.net – 如何MSDeploy构建的网站包到一个处女
- ASP.NET MVC是否使Web表单成为旧版平台?
- asp.net-mvc – 为什么DropDownListFor会在提交后
- 我应该在ASP.NET MVC中构建我的下一个Web应用程序
- asp.net-mvc – 使用Razor视图引擎 – 如何格式化
热点阅读
