Category Archives: visual studio

Code Generation Error “There was a problem getting an AppDomain to run the transformation from the host.”

After installing CodeSmith 5.2.1, I found there’s an issue that Visual Studio 2010 cannot generate code by “Code Generation Item”, especially while generating Entity Framework entities. The error was “There was a problem getting an AppDomain to run the transformation from the host.” After uninstall the CodeSmith, everything is OK. Then I reinstall the CodeSmith… Read More »

Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in the Internet zone.

After I upgrading Internet Explorer, I got the following message that I cannot debug in visual studio: Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in the Internet zone. This is quite strange. Then I start granting permissions, iisreset… but… Read More »

Visual Studio的Solution Explorer 当前文件激活问题

今天在写程序的时候突然发现Visual Studio 2005的Solution Explorer不高亮当前文件了,也就是说不知道当前编辑的文件在Solution Explorer的哪个位置了,之前在VS2003也碰到过这个问题,还以为是VS2003坏了。 不高亮当前文件让人比较不爽,所以决定解决这个问题。 原来,在VS的options里有这样一个设置: Project and solutions > General > Track Active Item in Solution Explorer 将它勾上就好了,呵呵。