Tag | VS 2005 Posts

Been working with, and did quite a few demos during my short stint with Microsoft, VS 2005 Db Pro. The tool is Microsoft's 1st real entry into bringing the Database team into the Visual Studio experience. So, if anyone believes that DB Projects in VS as they exist prior to DB Pro were real tools, I'm suggesting you take a look at this immediately. The tool takes advantage of Per User Instancing of SQL Express in the design time part of using the Tool. So, all validation is done direct against a working ...
The CPU temperature monitor has been updated. http://www.cicoria.com/cs1/... I was seeing GDI exceptions and tracked it down to just not releasing GDI handles. So, dispose is not enough. Need to call DestroyIcon to ensure that any unused icons are actually destroyed. I had a Dispose() being called on the Icon object, but it wasn't enough. So, I put a little "swap" out the old and then call DestroyIcon in the Icon Handle. That seems to solve it. The GDI objects ...
To start up, I need to install the required software. First, I need to install .NET 3 framework. Before that, I have prepared a virtual PC that already has Windows XP Pro SP2 and VS 2005 Professional installed for my development environment. CJ’s Note: See this document for an overview of Vista Productshttp://msdn.microso... 1.1. Install .NET framework 3.0Download Microsoft .NET Framework 3.0 Redistributable Package fromhttp://www.microsoft.co... ...
I have recently installed vs 2005 beta 1 http://www.microsoft.com/do... and just opened up a very small solution and without even doing anything in the IDE - I was actually creating a previous post I get the dreaded bubble from the VS 2005 IDE which states:- Microsoft Visual Studio is busy Microsoft Visual Studio is waiting for an internal operation to complete. If you regularly encounter this delay during normal usage, ...
I wanted programmatically (for administrator) to update configuration settings for .Net 2.0 executable. The new in VS 2005 Properties.Settings class saves only user-scope settings, not application scope, which is inconvinient. I've decided to use The easiest way to read/write AppSettings from the very good article Read/Write App.config with .NET 2.0/Enterprise Library However I noticed two issues: config.AppSettings.Settings (KeyValueConfigurationColle... class) has Add and Remove methods, but ...
*Moved to: Installing Visual Studio 2005 on Windows vistaI have just installed VS2005 on vista. Although I was setup for a whole host of problems, I had relatively few. There were some errors during the instalation. But all seams well... Role on SP1Read more...Follow my new blog on http://blog.hinshelwood.com ...
I've used MS Installer class to provide custom actions during setup in a few projects(e.g.see Using VS 2005 Web Setup Project with custom actions).However if you have some complex logic to do as a part of setup, it is possible that some exception will occur. I don't like to hide exceptions, and they are shown to the user,causing installation to rollback. It is not good, becuse sometimes user wants to ignore exception and use installation even if some custom action failed.I found that moving code ...
I have been having a problem with VS 2005 and CSS files, often when i try and save a CSS file VS will crash. Some of you have probably got the same issue??? I have at work and home so I assume it's not just something with my install! So I emailed MS to see if the bug has been fixed in SP1....although not exactly sure they have asked me send them a crash dump and pointed me to this link for info so i thought i would share. http://blogs.msdn.com/mikha... Steve ...
A couple of months ago I have read the book "Visual Studio Hacks" by James Avery but I have never taken the time to write a small review so here it is. James is a .NET Architect and has previously written several books for Microsoft press and Wrox and has published several articles on the MSDN Magazin and ASPToday. In his book Visual Studio Hacks he has collected 100 tips and tricks from several Visual Studio experts that show you how to make the Visual Studio IDE even more powerful than ...
As promised Microsoft has released today the September CTP of Sandcastle. If you don't know what Sandcastle is, it is a documentation compiler that generates MSDN Library-like documentation from your code comments. What is new in the September CTP? (Excerpted from the Sandcastle blog)Visual Studio 2005 look and feel transforms State of Syntax tab persists across topics in HxS. We will provide a hot fix for CHM after the release of September CTP Transforms for hiding explicit interface implementationsNote: ...
After finsihing the implementation, I was about to deploy the solution. I built the solution in Release mode and was planning to deploy the solution from the output. I noticed that even the release o/p contains PDB files. I searched the net and found different ciews on this issue. This blog mentions that the .pdb files are of no overhead and has nothing to do with the code optimization. http://blogs.msdn.com/jayba... But I found opinions on the web telling that when ...
The RTM of VS 2005 Software Development Kit version 3.0 is now available on Microsoft downloads. Quotes from the download page: Brief Description The Visual Studio 2005 Software Development Kit (SDK) version 3.0 includes tools, documentation and samples for developers to write, build, test and deploy extensions for Visual Studio 2005. Overview This is the official Visual Studio 2005 software development kit that allows developers to integrate tools, editors, designers, languages, and much more inside ...
last week my project manager asked me to do training for our colleagues on Unit testing with Nunit. So I thought better to use VS 2005 with new inbuilt unit testing capabilities. I had installed VS Professional edition and I knew that Unit testing is not coming with that edition. I knew that we have VS team edition for architects also and I installed it. But after I installed it I couldn’t found built-in unit testing there. I thought this may be an installation problem or I haven’t to configure VS ...
Expression Web, formerly (and better) named "Sparkle" has moved up from CTP status to Beta status. Expression Web is Microsoft's attempt at a "Flash killer". I've seen it in action, and I'm very impressed with it's functionality and how well it fits into the VS 2005 Team System environment. However, I'm not a Flash developer, so I'm not the correct person to judge its features. I think that Microsoft has an uphill climb convincing Flash developers (definitely and indepent group) to "go corporate" ...
Man, ask me what I love to do most and I'd have to say programming. It's still a blast to bang it out. Well I've been knee deep in the weeds lately and am getting my fill. Thus all these little posts! So here is a fun one for me. I upgraded a VS 2003 .Net 1.1 web app to VS 2005 .Net 2.0. I was NOT the original developer on this app, but it is mine now. One of the little treasures I have to contend with is the IE WebControls. Did I ever mention that I hate .htc files? This is my first conversion so ...
I tried to use generated by VS 2005 typed dataset/adaptors with ObjectDataSource and got am error: Exception Details: System.InvalidOperationExce... ObjectDataSource 'odsCascadeRulesValues' could not find a non-generic method 'Update' that has parameters: .... I found the thread that suggested some workarounds, but the simple one “Change this OldValuesParameterFormatStr... to OldValuesParameterFormatStr... didn't work for me.I've found that the problem only happened if your ...
VS 2003 SP1 is now available for download. Too late of course, but, they stated before that it's set to August 2006 :-S I hope they meet their date for Visual Studio 2005 SP1 as well! (Q3 of the year.. not so accurate, but better than 3 years later than the product). Till now I haven't seen any listing of the fixes or generally contents of the service pack. I may update (I did, check the update in next phrase) the blog when I find any. Update: O.K., I found the release notes... good but not very ...
One of the readers of the my post "Using VS 2005 Web Setup Project with custom actions" asked how to pick web.config file. that is actually part of the web project, from custom action installer class located in a separate DLL. With an assumption that DLL with installer class located in the BIN folder of the web project , you can do the following: Dim asm As System.Reflection.Assembly = System.Reflection.Assembly.... sConfigFileName As String = FSHelperLib.AppSettingsHelp... ...
source: http://weblogs.asp.net/scot... ASP.NET Topics Sending Email in ASP.NET 2.0: This is a great article from Scott Mitchell that demonstrates how to use the new System.Net.Mail APIs in .NET 2.0 to send email from an ASP.NET application. Sending Email in ASP.NET 2.0: HTML-Formatted Emails, Attachments, and Gracefully Handling SMTP Exceptions: This is a great follow-up article on email from Scott Mitchell that discusses some more advanced ...
As web 2.0 gets a major consideration among the web development technology, AJAX has taken the place here by providing rich user experience. All though it has not been possible to provide FULL strength of operating system UI, but AJAX gets popular due to it's new approach. Although AJAX is providing a new, rich experience to the users, but the technology, based on which it is being utilized is not new at all. AJAX is basically the acronym of Asynchronous JavaScript and XML, as the elaboration says, ...
After a few attempts and much frustration, yes I can say that you CAN install Virtual Server 2005 R2 on Windows Vista B2. I installed Vista Ultimate - July 2006 CTP I went into gpEdit.msc and turned off UAP (User Account Protection) - I found a blog online that indicated that this could interfere with the setup of VS 2005, and I have tried the installation with it on and I ran into the blue screen of death a couple of times. After disabling UAP - I did not have this issue. I found an excellent post ...
Heah, this decreased the compilation time for website I work on these days from FIVE+ MINUTES of FROZEN VS 2005 to just TEN- SECONDS of normal build progress messages!!!Now I can use CTRL+SHIFT+B again :-D. Note: This is related to VS 2005 normal websites, sites built using VS2005 Application Projects (which is the same build model as VS 2003: single assembly, controls references having to exist in both page markup and code, etc) do NOT face this problem. (I helped a colleague to use the VS 2005 ...
Recently I have been designing an Application Framework in .NET/ASP.NET 2.0. It went well and I was thinking of generating the documentation using Visual Studio 2005 as I used to do in VS 2003. I could not find something like “Build Comment Web Pages” under Tools and I realized that that option has been removed in 2005. MS talks of automating a lot of things and getting less and less work done for the developer and instead of improving that feature, it was totally removed. I searched ...
I used a wizard today to create a dataset (.xsd) and when I ran my web application I had hundreds of warnings in my newly generated dataset telling me my code was not CLS-compliant. I checked out what CLS-compliant means and apparently this warning is new in VS 2005 and is used to check to see if your application is following CLS (Common Language Specifications). In other words the CLS are a set of rules used to check if the code in one language can be used in another language. I checked Google for ...
One reader of my post “How to fix "Visual Studio 2005 is very slow" problem -no solution so far“ asked me should he use VS 2005 or VS 2003: “We recently moved from VB6 environment to .net. We started our project in VS 2005 , asp.2.0 . But the issue is VS 2005 is VERY Slow on our computers. My Team members are getting frustrated. I increased the Ram to 1 GB... still no significant improvement! (yet to implement the hot fix).” I've posted his questions and my answers here: 1) ...
I have been a VB guy since VB3.0. IMHO it is the most productive language available. I flunk out of typing school so typing is not for me. VB has over the years made coding so easy without scarifying performance. When .Net was released it was tough to not have some of the productivity features we were used to for years like “Edit and Continue” etc. Most of that is now back again in VS 2005 and I am very happy. If you are still using VB6 now is the time to switch to .Net. I was also never ...
I was really glad when I first found the “Starter Kits” support in the VS.NET 2005 IDE. With few clicks I can just make a basic pre-defined .NET application, specially with commonly used custom codes. Well the second wonder was waiting for me, when I have seen how easy to built my own starter kits. Here is the very quick steps that is needed to be followed to built a starter kit. 1. Create your application with VS.NET (which might be a windows application or web site or any other type ...
I like VS 2005 Team System ability to generate test cases. Using it with TestDriven.Net “Test with Debugger” allows quickly debug and test a new or existing code. However if you do a relatively long debugger session with multiple edit changes, the test session is often interrupted. I found that “Edit and Continue” for Windows form(or console) application is more stable. So my question was: can I call TestMethod from Windows form test harness? The answer is YES, no problem. You need to add reference ...
Peter has a post giving an overview of some tools that are essential to him as a developer. http://jonesie.net.nz/Essen... I would say that I use most of them but not all and I would like to add a few to the list because i mainly do webdevelopment and that's a different story then winforms.Obviously I made the choice to go for The asp.net 2.0 atlas framework so I won't sum up any other ajax frameworks. That is reserved for a separate post. AJAX/Web development: Internet Explorer : Fiddler ...
It is too early to see if this will live up to promises... but way cool if it does!!! http://msdnwiki.microsoft.c... Info from the site: "Welcome to the MSDN Wiki Beta! On this site you can add content to VS 2005 documentation topics and edit contributions from other users. Our goal is to extend the documentation with code examples, tips and tricks, and other information that you add. To learn more about this site, check out our FAQ. To report bugs, make suggestions, and ...
On this site you can add content to VS 2005 documentation topics and edit contributions from other users. Our goal is to extend the documentation with code examples, tips and tricks, and other information that you add. To learn more about this site, check out our FAQ. To report bugs, make suggestions, and view information about our future plans, visit the MSDN Wiki Connect Workspace, MSDN Wiki Home Page ...
Well as I've come to expect after a Code Camp I am recharged and psyched about programming again. Like NJ Code Camp I, I met a lot of great people and made some new friends. I have to say that I'm a bit shocked that there was more controversy in my “Down with Datasets!” session than my session on “Living in an Out-Sourced World”. I appreciate the honest and open dialog in both sessions. I received some great challenges to my stance on using custom objects over datasets. I ...
I've been playing with the National Digitial Forecast Database (NDFD) provided by the National Weather Service. You can retrieve a forecast via a SOAP web service by providing your latitiude and longitude and a few other details. The web service worked fine when I called it from Python, but I was getting an error when calling it from .NET (using the generated proxy classes in VS 2003 and VS 2005). It turns out that the service needs HTTP version 1.0, not 1.1 (the default in .NET). Unfortunately, ...
As I said earlier, there's cool BETA testing in the meanwhile. MSDN Subscribers can now download Windows VISTA BETA 2 (Just Released - I think I need to check with my company, we're a Microsoft Gold Certified Partner You know!), and ANY ONE can FREELY download WinFX BETA 2 just right now (also just released - You can just Go Get It :) ). You'll also mostly want to take a look into the other related great stuuf, like: The Orcas WinFX Development Tools / Extensions For VS 2005 (HIGHLY RECOMMENDED By ...
Date:Wednesday, May 24, 2006 Topic:Unit Testing in VB.NET Speaker:Dave Lloyd, ObjectSharp Consulting Dave Lloyd from ObjectSharp Consulting will cover Unit Testing with VB.Net. Whether you are using VS 2005 Team System or a previous version of Visual Studio .net. Dave will show you how to implement unit tests so you can regression test your code and make changes with confidence. NUnit – See NUnit added to a test project and learn how to execute the Nunit GUI right from Visual Studio, Dave will ...
Kudos and cheers to: INETA for the speaker's bureau RV.NUG membership for the keen interest in .NETSahil Malik for a fantastic presentation Hard to believe that last fall I was considering giving up on being a UG leader. I sure am glad I didn't (our founder checks in often to make sure I don't quite). Since the VS 2005 / SQL Server 2005 Launch we keep growing and growing and ........The May meeting of RV.NUG was no exception. Sahil Malik (brought to us by INETA) presented on Transactions. He discussed ...
I am so stoked I looked at Phil Haack's Blog today. I noticed an article about SubText using Cruise Control for their open source development process. I had never heard of CruiseControl and didnt realize it was open source. I quickly hopped to sourceforge and downloaded the latest source. I noticed from the documentation that CCNet was 2.0 compatable. Within minutes I was fighting with VS 2005 to make it work on 2.0. I had to first edit the csproj file to force a WAP type conversion and everything ...
Tom Rizzo has moved from the SQL product team to the SharePoint product team, and I have been following his blog here But here is an entry from Scott Guthrie's blog (ASP.NET product team) that sounds like really good news for developers using the next release of SharePoint (due out 4th quarter 2006??). I was able to attend a couple of Scott's and a couple of Tom's presentations at Dev Connections last month; both of them were some of the favorite conference sessions. I'll definitely be watching Tom ...
The last month was pretty rich in terms of the free downloads I found available online, so, thought I needed to list some of those, and clearly got busy/late for that! however, I thought I'll also drop the list in case someone missed any. Form Scott Guthrie (AKA: ASP.NET Hero)'s Blog: Source Code for the Built-in ASP.NET 2.0 Providers! This really a BIG hit. The source code for the whole set of ASP.NET 2.0 providers downloadable for free, and also, Scoots points to 130+ pages of awasome pages walking ...
In previous versions, ASP.NET considered the web.config file to be untouchable. What you, the developer, wrote into the file may as well have been engraved like the Ten Commandments into stone tablets. But under the new compilation model, ASP.NET wants to collaborate with you in authoring the web.config file. Specifically, during site compilation, it will insert lines into the /configuration/system.web/c... element to make sure that the runtime JIT compiler knows how to link to ...
Mikhail Arkhipov has written a spell checker for HTML and ASP.NET Pages. Sweet. You do need Office 2003 installed to use it. Spell checker works in Source view, it is able to extract text from markup elements and use Office 2003 spell checker to check the text. Spell checker is able to handle entities to some extent (they are considered whitespace for now). It is also able to spell check values of attributes that typically contain human readable text. You can customize spell checker behavior by editing ...
If you are, you’ll want to check this out: VS 2005 Web Application Project Release Candidate Now Available. Their goal: The goal with this new project-option is to address some of the feedback we’ve heard from people who are finding migrating existing apps to the new web-site project model in VS 2005 more work than they’d like to-do (especially because of the new web site build semantics of compiling a web project into multiple assemblies). The new project-type will also help enable ...
I recently put together a VPC of the BizTalk 2006 RTM on Windows Server 2003. I followed the installation guide and I had no problems during the installation or configuration. A few days later, during an impromptu sales demo I was asked to show how you would set up an orchestration to call a web service. I didn’t have a local web service so I fired up VS 2005 to create one – only to discover that I couldn’t find the Web Services project template. Why? Because it is only installed ...

A few times when I re-start debugging of my ASP.NET application from VS 2005 I received

"Unable to start debugging on the Web Server. The operation has timed out".

I had to restart IIS to fix the error. Not sure what causes this.

We have invested a lot of effort into making the file paths for our projects mirror the SourceSafe project hierarchy, per the long-standing Microsoft “Team Development” whitepaper (especially chapter 3). The initial solution developer, typically the team lead, creates a blank Visual Studio solution, then adds the various projects at the solution root. To illustrate, here's the directory structure from a solution I created recently: After the solution is checked in to source control, the ...

In my VS 2005 installation,  these snippets are available out-the-box  for VB.Net but not for the C#.  We have to manually download and install from here....

http://msdn.microsoft.com/vstudio/downloads/codesnippets/default.aspx

The new refactor features of VS 2005 are nice. It wasn't until I tried using them when working on a VB.Net project that I realized....they're not there? It seems my installation of VS.Net 2005 doesn't provide the same refactor options available to C# developers out the box, at least in my installation of it. However.. a search on MSDN brings this link to download Refactor! for VB.Net as an additional plug-in. http://msdn.microsoft.com/v... ...
Update: I found that the issue with similar solution is already discussed in “Setting NullValue property for typed dataset” blog In generated Typed Datasets attempt to access field with DBNull value by default throw an exception. It is usually not convinient, and I prefer to change nullValue annotation to _null, as it was suggested here However I didn't find a way to change the default(Anyone knows???). I have to open each column in desigher and change the nullValue to _null. Alternatively I have ...
Now that VS 2005 RTM is out and pretty much visible among the developer community, I thought of what next. I happened to come across C# 3.0 and among the new features the one I liked much is LINQ . LINQ is an acronym for .NET Language Integrated Query. It helps to use general query notation for operations like selection, filtering etc on any IEnumerable <T> based datasource. You can read about this more from Don Box's article at MSDN . I tried some code snippets and found it pretty good. Notably, ...