NET45-ify our Autofac functional test
- see loads of load failures after `kvm.ps1 upgrade -svrc50` otherwise
This commit is contained in:
parent
5149c7cd19
commit
23146787dc
|
|
@ -1,4 +1,5 @@
|
||||||
using System;
|
#if NET45
|
||||||
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using AutofacWebSite;
|
using AutofacWebSite;
|
||||||
|
|
@ -36,4 +37,5 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
|
||||||
Assert.Equal(expectedResponseBody, actualResponseBody);
|
Assert.Equal(expectedResponseBody, actualResponseBody);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -6,7 +6,6 @@
|
||||||
"BasicWebSite": "",
|
"BasicWebSite": "",
|
||||||
"ActivatorWebSite": "",
|
"ActivatorWebSite": "",
|
||||||
"InlineConstraintsWebSite": "",
|
"InlineConstraintsWebSite": "",
|
||||||
"AutofacWebSite": "",
|
|
||||||
"Microsoft.AspNet.TestHost": "1.0.0-*",
|
"Microsoft.AspNet.TestHost": "1.0.0-*",
|
||||||
"Microsoft.Framework.Runtime.Interfaces": "1.0.0-*",
|
"Microsoft.Framework.Runtime.Interfaces": "1.0.0-*",
|
||||||
"Xunit.KRunner": "1.0.0-*",
|
"Xunit.KRunner": "1.0.0-*",
|
||||||
|
|
@ -17,7 +16,11 @@
|
||||||
"test": "Xunit.KRunner"
|
"test": "Xunit.KRunner"
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"net45": { },
|
"net45": {
|
||||||
|
"dependencies": {
|
||||||
|
"AutofacWebSite": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"k10": { }
|
"k10": { }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue