Last post Jul 18, 2012 10:47 AM by David Lindon
Jul 04, 2012 04:26 PM|David Lindon|LINK
Not sure if this is 2012 specific but I have a project hosted on a network share (for backup reasons). When I click run all I can see the project being built but nothing happens, it doesn't find any tests nor do they run. If I built the solution manually
the same thing happens. If I copy the project to my C drive it works fine.
I've been playing around with trying to make the network location a trusted using caspol but it says:
"WARNING: The .NET Framework does not apply CAS policy by default. Any settings
shown or modified by CasPol will only affect applications that opt into using
Jul 04, 2012 11:17 PM|Careed|LINK
Look at your unit testing code. You probably have some attributes there, specifically the UrlToTest and AspNetDevelopmentServerHost attributes. The parameters for these are usually location specific and is probably the source of your issues.
Jul 06, 2012 03:55 PM|David Lindon|LINK
I've put a video on youtube (its a bit small so switch the quality to HD and view fullscreen)
Jul 10, 2012 09:11 PM|Careed|LINK
I'm not sure of the restrictions that exist for VS 2012 Express for Web. Have you tried using the same solution with test project in the full version of VS 2012?
Jul 18, 2012 10:47 AM|David Lindon|LINK
Just tried VS2012 RC and exactly the same. Tests are found and can be run on local drive, on network drive nothing is disocvered.