Tag | vs2010 Posts

For the last few months I have been secretly working away at the second version of an application that we initially released a few years ago. It’s called MaxCut and it is a free panel/cut optimizer for the woodwork, glass and metal industry. One of the motivations for writing MaxCut was to get an end to end experience in developing an application for general consumption. From the early days of v1 of MaxCut I would get the odd email thanking me for the software and then listing a few suggestions on ...
The Past A few years ago my small software company made the jump from storing code on a shared folder to source code control. At the time we had evaluated a few of the options and settled on Tortoise SVN. The main motivation for going the SVN route was that we found a great plugin for Visual Studio that allowed us to avoid the command prompt for uploading changes (like I said we are windows programmers… command prompt bad!! ) and it was free. Up to now we have been pretty happy with SVN as it removed ...
In this Issue: Mike Taulty, Timmy Kokke, Laurent Bugnion, Arik Poznanski, Deyan Ginev, Deborah Kurata(-2-), Johnny Tordgeman, Roy Dallal, Jaime Rodriguez, Samuel Jack(-2-), James Ashley. Above the Fold: Silverlight: "Customizing Silverlight properties for Visual Designers" Timmy Kokke WP7: "Back button press when using webbrowser control in WP7" Jaime Rodriguez Expression Blend: "Blend Bits 21–Importing from Photoshop & Illustrator…" Mike Taulty From SilverlightCream.com: Blend Bits 21–Importing ...
This error occured on our TFS2008 (RTM) build server after installing VS2010. This is caused because VS2010 updates the MSBuild targets file Microsoft.TeamFoundation.Bu... but not the Microsoft.TeamFoundation.Bu... file (which preforms the tasks mentioned in the targets file). To resolve you need to update TFS (build) server with SP1. See this article. HTH Tim ...
In this Issue: Michael James(-2-), Joost van Schaik, Colin Eberhardt, Jesse Liberty, John Papa, Levente Mihály(-2-), Peter Kuhn, WindowsPhoneGeek, and Daniel Egan. Above the Fold: Silverlight: "Creating Packs from the Silverlight Application Themes" Peter Kuhn WP7: "A Windows Phone 7 Jump List Control" Colin Eberhardt Shoutouts: Mike Ormond gave a Tech Days virtual confernece session on Thursday, and posted his material and links: Links from my “Silverlight for Windows Phone” session From SilverlightCream.com: ...
Silverlight is a great product right off the shelf. I use it, love it and spend a lot of time helping the community understand it. This however, doesn’t mean that I don’t think that it can get better. If I were invited to a Microsoft Focus Group about Silverlight here is 10 things I would say: We need more navigation templates. I’ve found (4) templates that Microsoft has released (Cosmo, Windows 7, Accent and JetPack). This number needs to be around 16. In order to get more people developing for ...
Microsoft have now released Web Matrix (and ASP.NET MVC3 if you so inclined!) One signifcant utility is IIS Express which will replace Cassini It is worth noting that SP1 for VS2010 should be out in Q1. Links: http://www.hanselman.com/bl... http://www.hanselman.com/bl... http://arstechnica.com/micr... ...
Last few weeks, I have been working on Application Packaging stuff using all the widely used tools like InstallShield, WISE, WiX and Visual Studio Installer. So, I thought it would be good to post about how to Build the Installers developed using these tools with Team Build 2010. This post will focus on how to build the InstallShield generated packages using Team Build 2010. For the release of VS2010, Microsoft has partnered with Flexera who are the makers of InstallShield to create InstallShield ...
Todays Apress $10 deal of the the day is: Windows Mobile Game Development: Building games for the Windows Phone and other mobile devices This book will provide you with a comprehensive guide to developing games for both the Windows Mobile platform and the Windows Phone using the industry standard programming languages C# and VB.NET. $49.99 | Published Apr 2010 | The book dates from the VS2005/VS2008 era but should still be useful to VS2010 developers. Given that such games development can now be ...
The DotNetZip Codeplex project at http://dotnetzip.codeplex.com/ looks to be an effective means of programmatically zipping and unzipping files. The source is also available. It is a VS2008 solution that requires "Windows Mobile Standard v6 SDK (for CF version)" If you like me would like a VS2010 upgrade, please leave a note at http://dotnetzip.codeplex.c... ...
I hate re-writing code. I also hate it when I find a great code snippet on the web and forget to bookmark it or it gets lost in my endless sea of bookmarks. So what do you do to get around this? This is the question that I was asking myself at the end of 2010. How can I get my Silverlight code organized? My requirements for a snippet manager were: Needs to be FREE. An easy way to view XAML/C# code behind together in one “view”. I wanted the ability to store the code snippets in cloud in case my HDD ...
In this all-submittal Issue: Michael Washington(-2-), Ian T. Lackey(-2-, -3-), Sandrino Di Mattia, Colin Eberhardt(-2-), and Antoni Dol. Above the Fold: Silverlight: "A Style for the Silverlight CoverFlow Control Slider" Antoni Dol WP7: "Getting the right behaviors in your Phone 7 App – Part 1 Phone Home" (and the other two parts) Ian T. Lackey Silverlight/WPF: "A Simplified Grid Markup for Silverlight and WPF" Colin Eberhardt Shoutouts: Dennis Doomen has updated his Coding Guidelines and provided ...
At http://weblogs.asp.net/infi... there is an excellent post on how to open a new windows from code behind. The purists may not like it but it helped solve a problem for a client's client. Here is an update for VS2010 users: using System; using System.Web; using System.Web.UI; /// <summary> /// Response Helper for opening popup windo from code behind. /// </summary> public static class ResponseHelper ...

There are some free E-books from Microsoft at http://blogs.msdn.com/b/microsoft_press/archive/2010/12/01/updated-summary-of-our-ebook-giveaways.aspx

The one on upgrading to VS2010 is well worth reading.

In this Issue: Michael Crump, Jesse Liberty, Shawn Wildermuth, Domagoj Pavlešic, Peter Kuhn, James Ashley, Sara Summers, Morten Nielsen, Peter Torr, and Tau Sick. Above the Fold: Silverlight: "Silverlight 4 – Coded UI Framework Video Tutorial" Michael Crump WP7: "Windows Phone From Scratch #12–Custom Behaviors (Part I)" Jesse Liberty From SilverlightCream.com: Silverlight 4 – Coded UI Framework Video Tutorial Michael Crump posted a video tutorial today on the Coded UI Test Framework that we got with ...
In this Issue: Adam Kinney, Jonathan van de Veen, René Schulte(-2-), Vikas, Chad Campbell, Chris Koenig, John Papa, and Martin Krüger. Above the Fold: Silverlight: "Silverlight TV #54: Introducing 11 Brand New Labs" John Papa WP7: "Gestures in Windows Phone 7" Chris Koenig Training: "New Windows Phone 7 tutorials for Designers on toolbox!" Adam Kinney Shoutouts: Jesse Liberty posted ways to get help when you get stuck: Top 10 Tips To Getting Help With Silverlight From SilverlightCream.com: New Windows ...
Just thought I’d pass on the word that the Visual Studio 2010 Service Pack 1 Beta is now available to download. VS2010 SP1 Beta ships with a go live license which means you can start using it for production work though I’m not sure I’m going to be that brave until I check it out a bit first. Jason Zanders has a blog post outlining the new features/fixes included in the beta. Here are a couple BREAKING news items you’ll want to TakeNote of… VS2010 SP1 Beta BREAKS ASP.NET MVC 3 RC Razor IntelliSense. ...
This error occurred on our TFS2008 build server which we had upgraded to cater for VS2010 projects (by installing VS2010 on the build server - see this article). Error MSB4019: The imported project "C:\Program Files\MSBuild\Microsoft\Vis... was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. However - although we had installed VS2010 on the build server - we had not installed ...
This is for TFS2008. This is based mainly on this article: http://blogs.msdn.com/b/jpr... But also had input from these: http://www.woodwardweb.com/... http://blogs.msdn.com/b/buc... http://blogs.msdn.com/b/jim... Also the following article discussing upgrading a ...
Whilst this book is about the building of a CMS system, the subtitle of "Advanced Techniques for C# Developers using the .Net 4 Framework" is better. Since the book is based upon a successful C# 2010 solution, it is book of Precept and Example rather than just Precept. Chapter 1 provides examples on how the new features of Visual Studio 2010 provide a real business benefit. Show it to budget holders that are holding out on upgrading to VS2010 - it will encourage them to agree to the upgrade. I am ...
In this Issue: Brad Tutterow, Kevin Dockx, Richard Waddell, Roberto Sonnino, Dustin Horne, Tim Greenfield, Rod Paddock, Timmy Kokke, Tim Heuer, Manuel Felício, Mike Taulty, and Brian Noyes. Above the Fold: Silverlight: "Using Visual States in custom controls in Silverlight" Timmy Kokke WP7: "Leveraging the Silverlight ecosystem with Windows Phone 7" Tim Greenfield Silverlight/JS: "JavaScript Can't Do Math - SilverlightCalculator A New Silverlight OSS Project" Rod Paddock Shoutouts: Telerik announced ...
So, what would seem to be a simple problem, automating the build of an MSI on the TFS build server – using a Microsoft .vdproj setup project type should be a doddle. Add a new build configuration (cunningly called ‘Setup’) ensure it’s building the setup project, create a build configuration to build the ‘Setup’ configuration, and attempt a build! No. Nothing. Works fine locally. Hmmmm Ok, let’s do some quick googling – there appear to be 2 (maybe 3) options: 1. Install VS2010 on the build server ...
I was lucky enough to attend Visual Studio Live! in Orlando on November 14th-17th. There were so many great speakers and the networking was great. I met a lot of really cool people and we talked about everything .NET (from WP7, Silverlight, C#, ASP.NET WebForms, AJAX, MVC 3.. and so forth). I took a lot of notes during all the sessions and wanted to provide it to those that could not come out. If you follow me on Twitter then you have seen most of these. Most of the authors put slides/source code ...
I create quite often some small console application to do this or that. But the standard Console Application project is rather … empty. To prevent me from reinventing the wheel over and over again I sat down and created a more usable Console Application skeleton. The features are Functional style command line parser Console Coloring Error Handler set up (try/catch around Main and AppDomain.UnhandledException Handler) Help Clean Code No additional dependencies required. Only 20 KB of additional source ...
Recently we upgraded one of our solutions from Visual Studio 2008 to Visual Studio 2010. After checking in our code to our 2008 Team Foundation Server, the CI build unexpectedly failed. We were getting errors like: c:\build\MyApplication\MyAp... error MSB4019: The imported project "C:\Program Files\MSBuild\Microsoft\Vis... was not found. Confirm that the path in the <Import> declaration is correct, and that the ...
Scott Guthrie just announced the release of ASP.Net MVC 3 RC. This new release features Intellisense and syntax colorization for Razor pages. It also includes the recently renamed NuGet (formerly known as NuPack) Library Package Manager. If NuGet is new to you, please check my blog post providing a quick introduction to this useful package. I also have a quick overview of Razor that you can reference if needed. For the authoritative and complete information, please check ScottGu’s blog. To install ...
Recently I had problems creating a web reference for a web reference written in J***. VS2010 simply would not create the web reference. Normal 0 false false false EN-GB X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.000... ...
Today at PDC 2010, they announced Asynchronous functions in C# and VB.NET. So what exactly does that mean? I’ll give you the definition first: Asynchronous operations are methods and other function members that may have most of their execution take place after they return. In .NET the recommended pattern for asynchronous operations is for them to return a task which represents the ongoing operation and allows waiting for its eventual outcome. You completely understand right? Me neither! I have been ...
In the past people could use services like the Microsoft Silverlight Streaming to host their Silverlight applications for free. This worked well in the past but it is now closed. What are the other alternatives? You can host your .XAP on Google App Engine but the process takes time and can be confusing. You could also find one of those free HTML host, but they could die tomorrow . This is where DropBox comes into play. Let me go ahead and stop and say, you probably don’t want to do this for a production ...
I love Silverlight and have written / talked about it a lot. I can’t help but notice that a lot of people are new to Silverlight or may have played with it a few times. Well this post is for you. It is a list of 15 things that I’ve discovered since I started developing for Silverlight. If you are a full-time Silverlight developer than I would hope you know most of these. I promise not to scare off anyone with talks of MVVM, Prism or MEF. 1) The line highlighted below represents the MIME type and ...
Normal 0 false false false EN-US X-NONE HI MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.000... mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman","serif";} Attended the windows phone jump start ...
Purchase at Amazon I wanted to talk for a minute about the author, Victor Gaudioso. I met Victor on Twitter earlier this year and ever since meeting him, I’ve seen how involved he is in the Silverlight/Blend community. He has always been willing to help or share knowledge of Blend with anyone – including me. I recently read a blog post about someone that went to one of his book signings and did not win anything. Victor found out that this person was disappointed and sent him a free year subscription ...
So I’ve been hearing a lot of folks (myself included) having issue with debugging there web application with VS 2010, Cassini (the VS web server) and IE9. It looks like this Well I found and easy solution, image that . Edit your hosts file at location c:\windows\system32\drivers... and make sure the localhost 127.0.0.1 line is uncommented and the localhost ::1 is commented or deleted. You can ping locahost host from a command line and make sure you see Reply from 127.0.0.1: bytes=32 time<1ms ...
In this Issue: David Anson, Jeff Blankenburg, Walt Ritscher(-2-, -3-, -4-), Dan Wahlin, xprblog, and Jeff Prosise. Above the Fold: Silverlight: "Sizeable, yet square, content control" Walt Ritscher WP7: "Creating Windows Phone 7 Application and Marketplace Icons" xprblog MVVM: "Getting Started with the MVVM Pattern" Dan Wahlin Shoutouts: Scott Hanselman brokered a deal for 2 lucky winners: WIN a FREE Phone with like NO effort and attend the Windows Phone 7 Developer Launch Michael Crump posted a ...
If you plan to compare a database project to a target database on a recurring basis, you can add the schema comparison to your database project. You can then re-compare the schemas by re-opening that comparison. By saving a schema comparison, you save connection information, session-specific options, and values for SQLCMD variables. Results are not saved, and they will be re-generated when you open the .scmp file for the saved schema comparison. To set this feature, go to "How to: Compare Database ...
When you first run Visual Studio 2010 (VS2010), it asks you to select a profile (e.g. C#, C++). This determines the Start Page displayed when VS2010 starts. Once you pick this, there appears to be no easy way to change your selection (at least none that I've found). To see which start pages are available to you, look in the following directory: 32-bit Windows: C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\StartPages\en 64-bit Windows: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\StartPages\en ...
Final Solution: I figured it out! Open your project in VS2010, select the Project menu and choose Properties..., and click the dropdown next to Platform Toolset. You can select between v100 (VS2010), v90 (VS2008), and Windows7.1SDK. Select the 7.1 SDK and click OK. Now you're all set. Note that you can use v90 to build apps that compile for older versions of Windows as long as you have VS2008 already installed on your machine. --------- The information below is just kept to remind me what I did. ...
I love Silverlight and have written / talked about it a lot. I can’t help but notice that a lot of people are new to Silverlight or may have played with it a few times. Well this post is for you. It is a list of 15 things that I’ve discovered since I started developing for Silverlight. If you are a full-time Silverlight developer than I would hope you know most of these. I promise not to scare off anyone with talks of MVVM, Prism or MEF. 1) The line highlighted below represents the MIME type and ...
In this Issue: Szilárd Szakács, Michael Washington, Mike Taulty(-2-), Chris Koenig, Tim Heuer, Kranthi Kiran Gullapalli, David Anson, Mohamed Mosallem, Michael Crump, Dan Wahlin. Above the Fold: Silverlight: "MVVM so easy a n00b can do it (Silverlight4) " Michael Crump WP7: "DeferredLoadListBox (and StackPanel) help Windows Phone 7 lists scroll smoothly and consistently " David Anson Lightswitch: "A LightSwitch Home Page " Michael Washington Shoutouts: Jesse Liberty has a ** DRAFT ** Community Comment ...
For those of you who have pinned any program to your Windows 7 taskbar, you can hold down the Ctrl and Shift keys when clicking the icon and it will launch it with Administrator privileges. I use this frequently when I need to run Visual Studio 2010 with Administrator privileges, but it will work with any program. Now I just need someone to write a VS2010 Extension to relaunch VS2010 with Administrative privileges for the same Solution file. Maybe I have a new project on my hands... Rob ...
A while back I looked into localising a WPF application. Because I prefer the MVVM application I wanted something that I could apply to the UI layer specifically in XAML. At the time I found a post on Codeplex that allowed me to achieve this, but when we moved from VS2008 to VS2010 it broke the whole system. I am glad to see that an update to this tool is now available here <Update> After speaking to my friend Brendon he pointed me to another post about the same topic… http://compositeextensions.... ...
One the coolest features of Internet Explorer 8 that most developers don’t know about are the built-in developer tools. You don’t have to download anything, install it, or enable it. There are two ways you can open the IE Developer Tools, you can either hit F12, or under the Tools menu icon, you can choose “Developer Tools”. HTML Tab This tab allows you to see and edit in real time the HTML and applied styles that make up your page as seen by the Internet Explorer DOM. The CSS Tab Shows you all of ...
In part 1 of Crack .Net Applications I demonstrated how easy it was to reverse engineer an an unprotected .Net application. In this post my aim is to highlight a few techniques that one can employ to protect ones code from this type of hacking. So, my take on software protection is that one can never be 100% protected – given infinite time you can guarantee someone with enough intelligence will be able to bypass all security measures that you ever implement – that being said, we don’t have infinite ...
I watched John Papa’s Silverlight TV Ep 42: Apply and Customize the new Silverlight Themes this morning and decided to try it out. I felt that the documentation for getting started was sparse, so I decided to write my own to help the community. First, what is is and why do I care? The themes are designed to provide a navigation template for a Silverlight Business Application. If you are not a designer then chances are you are not going to make something this pretty. =) First, you should download ...
We’ve got TFS installed now, and we’re beginning to test it in the team… At present we’re only using it as a BugTracker / Doc share – and the reason for this is that in 4 weeks (or so) we plan to update the solution to VS2010 (from VS2008) and quite frankly, we can live with our current source control until that point. Aanyhews, so far – so good, aaand (of course) so bad… Coming from the current solution here (Service Desk) it’s a vast improvement, the bugs are (in my opinion) easier to read and ...
You’ve heard good things about Visual Studio 2010 but you still need to answer the question “What’s in it for me?” You need to justify the cost the new software as well as the not insignificant cost of migration. The Entity Framework is a powerful tool for creating a conceptual model of your data store and abstract away the details of data access. Exposing these conceptual entities over the wire to client applications mean one of two things: ADO.NET Data Services (now called WCF Data Services) or ...
In this Issue: René Schulte, Haruhiro Isowa, Jesse Liberty, Jeremy Likness, Shawn Wildermuth, Evan Hutnick, Don Burne, Mark Tucker, On Ali Tinwala, Derik Whittaker, and Mark Arteaga. Shoutouts: Chris Cavanagh has converted his Soft Body Physics Demo to WP7: JelloPhone for Windows Phone 7 Joe Healy has his list of 7 Steps to Get You Going on Windows Phone 7 Dev ... I might add a couple more links to item 5, but I'm prejudiced :) If you're in the mood for purchasing a WP7 Toolkit for building apps, ...

 

For those using VS2010 with F#, this may be a useful reference for the default keyboard shortcuts in VS.

In this Issue: Max Paulousky, Jeff Fansler, Xianzhong Zhu(-2-), Anton Polimenov, Braulio Díez Botella, Alex Yakhnin, Willem Meints, Shawn Hargreaves, John Papa, and Roger Peters. Shoutout: I found this via Mike Taulty, and it's pretty darn cool: zoom.it from LiveLabs, and I did one of my blog From SilverlightCream.com: Visual Studio Solution Pivot Viewer. Add-on for VS2010 to Visualize Code Structure Max Paulousky has a post up about a VS2010 add-in that uses just too much of the goodness we all ...
One of the new features of XNA 4.0 is the Content Project. Those of us who’ve worked in XNA 3.1 and earlier are familiar with the old Content folder, which was simply a folder inside your game project into which you’d place your raw content and from which your game would load the compiled XNB files. In theory it could be named anything since one of the things you would do in the constructor for your game is specify the name of the Content folder. XNA 4.0 has moved content (i.e. game assets like music, ...