csharpfritz / csharpfritz/WebFormsTest

WebApplicationProxy.cs GetHttpApplicationType() exception

オープン
#55 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
26
フォーク
14
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。