Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 18, 2012 02:47 PM by David Lindon
Jul 04, 2012 08:26 PM|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 05, 2012 03:17 AM|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 07:55 PM|LINK
I've put a video on youtube (its a bit small so switch the quality to HD and view fullscreen)
Jul 11, 2012 01:11 AM|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 02:47 PM|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.