Contents tagged with VS2008
-
Visual Studio 2008 Web Test Not Recording on 64-bit Windows 7
I was about to record a web test in Visual Studio 2008 Team System today, and the recorder refused to record anything. And the Recorder “bar” in IE 8 was not showing. After some digging around, the issue was fixed by deleting a few registry keys. Found it on Michael Taute's Blog : Diagnosing and fixing Web Test recorder bar issues.
Quote from his blog page:
Vista caches the list of explorer bars you have available and the recorder bar was not included in your list. The fix is to force Windows to rebuild that cache. To do this, first make sure you have all Internet Explorer instances shut down, then open the 32 bit registry editor and delete the following keys:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories\{00021493-0000-0000-C000-000000000046}
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories\{00021494-0000-0000-C000-000000000046}[Note: by default, the 32 bit registry editor is located in %WINDIR%\SysWow64\RegEdt32.exe]
The next time you boot Internet Explorer, your explorer bar cache will be rebuilt and the recorder bar should be available.
-
T4 Support in VS2008
Did you know there's T4 (Text Template Transformation Toolkit) support inside VS2008 now? Add a file with the .tt or .t4 extension to your project and you got a T4 template which VS2008 will automatically run when you save it. If you're into this and want to try it out, go to http://www.t4editor.net/ and download the T4-editor from Clarius. It gives you proper editing support from within Visual Studio. They got a version for vs2003 as well.
This may not be as attractive as it used to be, now that we got designer tools for Linq to Sql, entity framework and so on to help us generate boilerplat code for database access, but I'm sure I can come up with some good use for this. The ASP3-like syntax is very easy to grasp, so basically there is no excuse for not using this if you know you're going to produce lots of code that looks or behaves the same. As long as you have some metadata to work from, be it a database, xml file or text file, I'm sure this can be of help to you. Ah yes, you can write the templates in either c# or VB.
Some T4 resources for you maybe:
Hilton Giesenow blogs about T4 and you can download a couple of VS T4 templates from him!
Oleg Sych has a large number of very, very good blog posts about T4, Oleg is THE T4 blogger out there.
The T4-editor website by Clarius has a couple of videos.
The Text Template documentation for vs2008 on MSDN.
On MSDN there's also a good intro video on the topic that you might want to look at if this is of interest to you.
-
March 2008 TFS/Team Suite Download List
Just what I was looking for - a list of all the URLs to the VPC-parts, easy to add to a download manager. Steve got the links from Martin Danner and I'm passing the links on :)
Martin Danner has passed along a list of the URLs to use to download the TFS/VSTS 2008 Trial VPC using Free Download Manager. Just copy the list and paste (using Ctrl+Shift+V) into Free Download Manager then wait...
This VPC includes Office 2007 SP1, all Windows Updates and the December 2007 power tools. It also contains 38 hands-on labs for your learning pleasure. The VPC is set to expire on Dec. 31, 2008.
-
[VS2008] New Serviec Reference Settings
Eric blogs about the new Service Reference Settings dialog in VS2008:.
There are some great possibilities in this dialog as for example to control what type of collection or array taht will be used. In previous versions it have been very difficult to reuse classes from projects in the solution when setting the reference.
-
It's Out on MSDN Now - VS2008
Go go go!!
...and good luck, the server is hammered with requests atm :)
-
[VS2008] Finally had Time to Sit Down and Play
I finally had some time to play around with VS2008 for a few hours, and I must say I do like c# 3.0, linq and all that. What I most wanted to try out was linq to sql, which I did. Nothing too complex, but I think I got the hang of it now. While looking at linq for sql I also tried out some of the other new featurs like the object and collection initializer (nice), some extension methods and of course the query language.
I'm still thinking about the extension methods and I think developers need to be a bit careful and not start using the feature just because it's there. I was glad to see the information that pops up in Visual Studio when you hover above the extension and the special intellisense icon, which makes it easier to spot them.
The linq to sql graphical designer was easy to use, but it doesn't seem to support file databases, I had to create a db in sqlexpress instead. Perhaps I did something wrong.
Something i noticed was that a stored procs which selects * from tablex returned a specific results class instead of a collection of tablex. Perhaps it's possible to cast or convert the result from the sp to a list of tablex or something, but I doubt it. The sample code from ScottGu's blog indicates it should work... I'll try again later :)
UPDATE: Thanks to Raj for pointing out that you have change the return type of the stored proc in the designer properties to be of the type you wish it to be. *cheers*
-
[VS2008] CTP1 of XML Schema Designer for VS2008 Announced
I completely missed this announcement from the Microsoft XML team a month ago, that they will release an XML Schema Designer for VS2008. What can I say - finally!
It looks promising so far, but I'm still waiting for some screenies of the graphical view of the designer.
EDIT:
I snapped up this from a forum post:
The original schema designer in VS has been removed from the product. There will be a new schema designer, but it will ship in off-cycle release after the Orcas is shipped. Currently, you have to use VS2005 to edit the schema file, or use the Xml Editor, which looks like a text editor, but does provide intellisense and schema validation.