Subsonic 3 templates in VS 2010 Beta 2

I am trying to set up Subsonic ActiveRecord in a web application in Visual Studio 2010 Beta 2. Anyway, I get the same error:

Warning 1 The path "D: \ Work \ Project \ tt \ SQLServer.ttinclude" must be local to this computer or part of your trusted zone.

Everything works fine on the same machine with VS 2008.

Does anyone else have this problem? Is it supposed to work with VS 2010 and .net 4.0, or should I stick with vs 2008 for the time being beeing?

+2


source to share


4 answers


Ok, figured out one solution. I'm sure there might be others. I got around this problem by opening VS.NET 2010 and selecting Tools | Extenstion Manager and clicking the Online Gallery button. I selected Tangible T4 Template Editor and installed the plugin / extension. If you don't see the extension, try sorting with the highest rating or searching.

I closed VS and reopened the tt file after closing it and voila! More compilation errors;)



NTN

+2


source


I had the same error "must be either local, or on this computer, or part of your trusted zone", I got it to work without adding anything to the trusted zone, the only thing I did was remove the "language" in the SQLServer.ttinclude file and then edit the files a bit (add a space, remove it, save, etc.), not sure if this is enough to convince it to build correctly the next time I did "Run Custom Tool" on each of the T4 files, but it worked, phew!



+1


source


I recently hit this on a fresh install of Windows 7 (64 bit). After downloading the archive, right click on the file and select "Unlock" before extracting it and you should be fine. Note that this also applies to the VS 2010 release.

+1


source


Add the network share to trusted sites. First, clear the Require Server Verification (https :) check box for all sites in this zone.

+1


source







All Articles