Make Visual Studio work with VMWare Fusion Shares

August, 19. 2009 at 05:17 PM

VMWare Fusion allows Mac users to run virtualized operating systems. The “Shared Folder” feature allows for sharing profile folders on the Mac (Desktop, Documents, Music, Pictures) with virtualized operating systems. Having a shared work space eliminates the need for duplication of files that need to be used in both operating systems.

I run a virtualized Windows XP operating system so that I can code in Visual Studio on my Mac. I prefer to do design (HTML, CSS) on the Mac side of things. Having shared storage for use in my projects eliminates the need to copy back and forth. It also allows me to backup my Visual Studio projects using Time Machine without having to make a copy of my VM every time. However, to make Visual Studio happy with the shared Documents folder, there some settings that need changed.

Change the Documents folder location to be a mapped drive

When working with web projects located on shared storage, Visual Studio doesn’t like the .host location shared by VMWare because of the dot in front of the share name. This is resolved by mapping the .host share to a network drive, and setting the My Documents folder in Windows to be located on the network drive. VMWare automatically maps its shares to the Z drive.

Get rid of the “failed to start monitoring changes” build error

Visual Studio’s default behavior is to monitor folders in web projects for changes. Because the Documents folder is on a UNC share, this behavior prevents web projects from building. The only solution I have found is to disable this behavior.

  1. Open regedit and navigate to HKLM\Software\Microsoft\ASP.NET\
  2. Create a new DWORD value named FCNMode
  3. Set FCNMode to have a decimal value of 1

Get rid of the “Project location not trusted” error

By default, the .NET configuration will not trust the shared folders from VMWare for projects. You will see an error when opening projects from the shared folder.

You must tell .NET to trust the location. Install the .NET Framework 2.0 SDK.When installing, you will only need “Tools and Debugger”; uncheck everything else. After the install, you will have a new tool under Administrative Tools for .NET 2.0 configuration.

  1. Open the .NET configuration tool
  2. Expand the tree on the left side to My Computer > Runtime Security Policy > Machine > Code Groups > All Code > LocalIntranet_Zone
  3. Right click on LocalIntranet_Zone and select the “new” option to create a new code group
  4. Name the code group “.host” (without the quotes) and click next
  5. Change the condition type dropdown to URL and enter “file:\\.host\*” (without the quotes) in the URL text box type and click next
  6. Choose “Full Trust” as the existing permission set, click next, then click finish. You should see a .host in the LocalIntranet_Zone as shown below. Save and close all windows.

 

You will now need to tell Internet explorer that .host is a trusted zone.

  1. Open up IE and go to Tools –>Internet Options
  2. Go to the Security tab, highlight Local Intranet and click the sites button
  3. Click the advanced button. In the “Add this website to zone” text box, type “file://..host/*” without the quotes and click add. Save and close all windows.

You’re all set. Visual Studio will now work with VMWare Fusion’s shared folders. Happy coding.

 

Comments

9/30/2009 7:16:21 AM

Peter de Voil

The IE options don't like “file://..host/*”. I used “*://*..host/*”

Peter de Voil Australia

11/17/2009 4:39:28 AM

pingback

Pingback from isnandi.net

dony isnandi journal  » Blog Archive   » VMWare Shared Folder dan `Failed to start monitoring changes` error di Visual Studio

isnandi.net

1/18/2010 6:27:46 PM

Netflix

Hi friends,
Do any of you no how to install Visual Studio on my mobile set.
Do tell me I will be glad to hear from you all.

Netflix United States

1/20/2010 4:22:24 AM

pingback

Pingback from topsy.com

Twitter Trackbacks for
        
        alextafoya.com | Make Visual Studio work with VMWare Fusion Shares
        [alextafoya.com]
        on Topsy.com

topsy.com

2/14/2010 7:28:51 PM

quiche recipe

Will give it a go, thanks!

quiche recipe United Kingdom

3/14/2010 6:04:54 PM

Eugena Kerrick

I concur that faults are difficult to trace and sometimes they can confound more novice software engineers who don’t know what you're speaking about, nevertheless, creating errors while you work out on a tutorial can sometimes be helpful by broadcasting how everyone can cause mistakes and instructs people not to make the identical errors.

Eugena Kerrick United States

3/18/2010 6:29:00 AM

seo tools

Not that I have any intention to copy your website, but I truly adore the look. would you tell me which template are you using? Or was it made especially for you?

seo tools Slovenia

3/27/2010 6:42:37 AM

Keith Cainion

Hello I just wanted to ask on what is the difference between blogenenigne and wordpress blogs? Is it easier to use or more efficient? I amseeing a lot of blogs powered by this software popping up lately and wondering if it is better or not? Thanks...

Keith Cainion United States

3/28/2010 2:27:24 AM

Daniel Millions

Just wanted to say that you have some awesome content on your website. If it's allowed I would like to use some of the information you provided on my webiste. If I link back to your website would it be OK to do so?

Daniel Millions United States

4/1/2010 2:07:21 PM

Lamps

Where did you get this theme. Is this Wordpress?

Lamps United States

4/2/2010 1:19:04 PM

Sony Contract Deals

Just seen this on twitter cheers for the info.

Sony Contract Deals United Kingdom

4/3/2010 3:01:08 PM

Waneta Laranjo

[...] Trackback : alextafoya.com | Make Visual Studio work with VMWare Fusion Shares - alextafoya.com/.../...th-VMWare-Fusion-shares.aspx - Use IRA or 401(k) funds to invest in your Business or Franchise today! Financing a ... http://commercial-funding.org/ [...]

Waneta Laranjo United States

4/17/2010 4:49:25 PM

pingback

Pingback from sonicthehedgehogmusic.net

alextafoya.com | Make Visual Studio work with VMWare Fusion Shares | sonic the hedgehog music

sonicthehedgehogmusic.net

4/23/2010 11:29:00 AM

Damien Burgess

Hi, perhaps you could assist me? I found u are utilizing Blog Engine in your website. I lately made a decision to create a weblog for myself and i'm presently making use of the wordpress weblog. I study about blog engine and i was asking yourself if you can tell me where i could find very good instruction or videos on how to use it properly? Thanks for that assistance.

Damien Burgess United States

4/25/2010 5:44:50 AM

on site otpimization

Which blog platform are you using for this site? I'm getting tired of wordpress because I've had issues with hackers and I'm looking at options for another platform. It would be great if you could point me in the direction of a good platform.

on site otpimization United States

4/25/2010 8:20:06 AM

Alex

I use blogengine.net.

http://www.dotnetblogengine.net/

Cheers.

Alex United States

4/27/2010 12:56:55 AM

Insurance Lawyer California

If it's allowed I would like to use some of the information you provided on my webiste. If I link back to your website would it be OK to do so?

Insurance Lawyer California United States

4/28/2010 5:42:41 AM

Albert

I have been using VMWare Fusion for a year, and I am amazed it is working very good, it allows me to use my Mac pro as a server to which I can easily connect from my netbook.

Albert United States

4/28/2010 12:43:31 PM

Alex

I am very impressed with VMware in general. I use their hypervisor in both work and play. I just virtualized a datacenter and am very satisfied by the results. I'm sure the addition of a NetApp SAN and Nehalem Quad cores helped a bit too Smile

Alex United States

5/18/2010 7:37:37 AM

UltraHosting Review

I have been surfingonline just above 3 hours today, yet I by no means found any interesting piece similar to yours about asp.net It really is pretty worth enough for me. Personally, if all webmasters and bloggers made good content as you did, the internet are going to be much more functional than ever before.

UltraHosting Review United States

5/20/2010 2:12:25 PM

pingback

Pingback from 328.tijuanareader.com

04 Oldsmobile Alero Mpg, Alero Bulb Tail Light Cutlass Ciera

328.tijuanareader.com

5/29/2010 10:55:37 AM

James

The thing that makes me love VMWare Fusion, is that it works using similar algorithm with Denver.

James United Kingdom

5/29/2010 10:56:02 AM

James

The thing that makes me love VMWare Fusion, is that it works using similar algorithm with Denver.

James United Kingdom

6/13/2010 1:36:48 PM

pbs kids games

At least, I have an Mac and I am very happy it is possible now

pbs kids games United States

6/18/2010 10:15:51 PM

pingback

Pingback from lnmykys.com

Prueba de post | Marketing Online

lnmykys.com

6/25/2010 12:41:33 AM

dream interpretation

Eu estava procurando uma solução legal para upload com MVC e acabei encontrando por acaso em seu blog.

dream interpretation United States

7/13/2010 9:57:04 PM

Chris

I'm going to implement this method.

Chris United States

7/13/2010 9:58:08 PM

Chris

I'm going to implement this method.

Chris United States

7/13/2010 10:01:02 PM

Chris

I'm going to implement this method.

Chris Indonesia

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading