csharpfritz / csharpfritz/WebFormsTest

WebApplicationProxy.cs GetHttpApplicationType() exception

Đang mở
#55 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
26
Fork
14
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.