csharpfritz / csharpfritz/WebFormsTest

WebApplicationProxy.cs GetHttpApplicationType() exception

Open
#55 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
26
Forks
14
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.