在asp.net App_Code目录中使用Nemerle
发布时间:2021-01-12 13:03:00 所属栏目: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 – ASP.NET MVC V2 – 好友类
- ASP.NET AJAX中的$create函数是什么?
- asp.net – 有谁知道如何摆脱我的.net网络服务的jsdebug请求
- asp.net-mvc – 所有请求获取HTTP错误401.2 – 未经授权的响
- asp.net – Telerik RadGrid GridDataItem – 如何确定列是
- asp.net-mvc – ViewModel中的最佳实践
- 用AJAX实现的无刷新的分页实现代码(asp.net)
- ASP.NET批量下载文件的方法
- asp.net – IIS Web Garden中的Singleton对象
- asp.net-web-api – MaxExpansionDepth,带有最新的webapi和
推荐文章
站长推荐
- asp.net-mvc – 如何在ASP.NET MVC中使用单选模式
- asp.net-mvc – 如何将html5属性和值导入mvc Hid
- asp.net-mvc – SSL安全SaaS应用程序的URL设计
- 优化 – 字典/客户端VS应用程序变量
- ASP.NET MVC Url路由支持(点)
- asp.net – 使用FormsAuthentication持久的cooki
- asp.net-mvc-3 – RedirectResult Object作为URL
- asp.net – Web Forms MVP项目有哪些好的资源?
- asp.net-mvc – 使用asp.net mvc 2功能与火花浏览
- asp.net – HttpWebRequest正在为404抛出异常
热点阅读
