Question

I've taken the plunge and upgraded (or maybe downgraded?!) from WinXP to Vista.

Everything appeared to be working ok except that when I fired up my machine this morning and opened my C# application in Visual Studio I got a few "Load of property 'OutputPath' failed. The entered path is not a valid output path" errors.

I tried to rebuild the application and found that for some mysterious reason I'd lost access to the executables that Visual Studio creates. Everything else in the solution was still mine, but the compilation results weren't. In some cases the 'Administrator' owned them, and in some cases I still owned them but had no rights.

I'm running as Administrator, so to be denied access to my own files that I created myself is more than a little infuriating.

Have I missed something in the way Visual Studio and Vista play together, or do I wipe the machine and burn another two days reinstalling WinXP?

Was it helpful?

Solution

On top of my head:

  1. Disable User Access Control.
  2. Make sure you've not checked in your executables into source control (they may be readonly) :)

EDIT: I'd few problems on my Vista x64 box that got me confused as well [I was also running as Administrator]. Disabling UAC got rid of this 'Administrator' but not an Administrator problems :D

OTHER TIPS

Open your .csproj file and make sure your output path C:\test\ is correct that one more place to check.

Oh.. this is a cool one =D

have you tried to change your output path?

Well, click on the right button on your project in the "solution explorer". Go on properties, in the Build tab. There you can try to work some things out..

VS2008 is a very strange thing, since it was developed to run in Vista! =D

good luck!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top