I'm having the problem described in this SO question when using Visual Studio T4 templates on a network share. The solution specified is to add your file share to your Trusted Sites Zone via Internet Explorer.
Here are two more guides on doing the same process, both via IE
- MSDN - Specify Your Network Servers as Trusted Sites
- Loading projects in Visual Studio using the Shared Profile feature in Parallels
While I am an admin on my machine, some of the settings on IE are locked by our enterprise system administrator:
While it's certainly a possible route to go to change our enterprise wide trusted sites, it seems heavy handed for a use case that really only affects me, as someone with full administrator over their own machine to boot.
Is there any other way to add a Trusted Site?
As a workaround, and proof that this is the root of the issue. When I use the same exact files on
C:\Projects it works fine, but
H:\Projects (which maps to a network share) throws the error. Yes, I could just migrate everything to C Drive, but we have a process already in place that makes that option inconvenient.