VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 Replies Last post: Nov 23, 2009 10:42 AM by WoodyZ  

Cannot Add Reference to Visual Studio 2008 Projects when running under Fusion 3.0 posted: Nov 23, 2009 10:00 AM

Click to view lvconley's profile Lurker 1 posts since
Dec 5, 2006
Hello,

I'm having horrific problems with Visual Studio 2008 running on Fusion 3.0. I have Visual Studio 2008 installed on a Windows Vista Enterprise virtual machine running on Fusion 3.0 on my unibody MacBook Pro which is running Snow Leopard.

Anyway, whenever I try to add a reference (such as a dll) to a Visual Studio 2008 project, I get the following error: "A reference to 'C:\Users\username\Documents\Visual Studio 2008\Projects\MyProjectName\MyProjectName\bin\my.dll' could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component."

Now, this has got to do with the file system and "shared folder" settings but it happens whether I have shared folders enabled or not. It also happens when I place the dlls to be added to my project on the actual virtual machine instead of on the Mac's drive. The name of the shared folder is (
vmware-host) (Z:) but it also happens if the share is called (
.host)(Z:)

Has anyone encountered this issue as well? This bug actually prevents me from using Visual Studio 2008 for any coding projects which involve adding a reference to the project, and that will probably happen 90% of the time which, of course, blocks almost all developers from being able to use Visual Studio on Fusion 3.0.

Any feedback would be most appreciated.

Thanks,

Larry
Click to view WoodyZ's profile Guru vExpert 10,722 posts since
Apr 22, 2004
I have not tried Visual Studio 2008 however I've had no problems with older versions (2005 and earlier) when everything is on the Virtual Machine itself, and that's the way I normally keep it. Also I do not use the VMware Shared Folders feature as it has always been problematic in general much less specifically with issues such as this. VMware does continue to improve its Shared Folders feature however I continue to use SMB/CIFS shares instead and typically do not experience the same issues as with the VMware Shared Folders feature. However to be fair I have not used this feature in VMware Fusion 3 even though VMware has made significant changes in its implementation between Fusion 2 and Fusion 3 because I really no longer use VMware Fusion as my primary virtualization product.

That said, I have to say if you are experiencing issues where everything is on the Virtual Machine itself and the VMware Shared Folders feature is not in play then the issue is more likely with Visual Studio and/or Windows itself.

So to be clear if you create a project and all files are contained on the guests filesystem and no references of any type are pointing outside of the guests filesystem you still have issues? If the answer to that is yes then as I have previously stated then the issue is more likely with Visual Studio and/or Windows itself.

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities