What's the best way for a VPC to access files on the host machine

I am running Vista64 as host for Win XP in Virtual PC 2007 SP1. I want to save files on the host machine and just access them from the virtual machine.

I am accessing files on the host via a network share via a loopback adapter. Everyone has read access to the share, and in the VPC, the share is mapped to the letter U: \.

When I tried to run a web project in Visual Studio 2008, it didn't create or throw an exception trying to load referenced DLLs. Msgstr "Failed to grant minimum permission requests." Error code: 0x80131417

It seems to be a code access issue, so I ran the following command for 1.1 and 2.0 frameworks.

CasPol.exe -m -ag 1.2 -url file://U:\* FullTrust

      

Now when I try to debug a web application, Visual Studio just hangs. How can I get this job done or is it a lost business?

+1


source to share


1 answer


I have exactly the same setup here.

Have you installed "add virtual machines" in the action menu?



This will give you the option to set up shared folders (in settings). This will map the network drive on the VPC to a folder on the host, thus avoiding network rollbacks and access permissions.

+1


source







All Articles