csharpfritz / csharpfritz/WebFormsTest

WebApplicationProxy.cs GetHttpApplicationType() exception

Abierto
#55 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
26
Forks
14
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Just by doing this in my xUnit test:
[Fact]
public void TestMethod1()
{
WebApplicationProxy.Create(typeof(Studio.StudioLogin));
}

I am getting this exception in WebApplicationProxy.cs GetHttpApplicationType() method.

'_Instance._compiler.GetCompiledType("/Default.aspx")' threw an exception of type 'System.Web.HttpException'

A bit more detail - System.InvalidOperationException : The WebApplicationProxy has not been created and initialized properly

So it seems like I'm missing some crucial step here. Is there something wrong with the web application? It is a rather old and complicated legacy application with some non-standard techniques being used.
@csharpfritz

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.