Don't say I didn't warn you#

A while ago I posted about a site where you could generate your own Official Seals. The site provided for some entertainment as friends and co-workers competed for the best "Seal". Well, now that that has subsided and I've become productive again the folks over at LifeHacker have provided me yet another way to distract myself from getting anything relevant done.

Ever have a special circumstance that you wanted to warn someone about but just couldn't find the perfect signage to get the message across? Well not anymore, now you can create your own personal warning labels for everything from invading 60ft reptiles to the consequences of spilling coffee in my car.

Visit the site to generate your own warnings and notices for use around the home or office.

Monday, November 27, 2006 1:04:20 AM (Pacific Standard Time, UTC-08:00) #    Comments [0]  |  Trackback

 

Though Meadows is closed, the snow continues to fall!!#

While access to Mt. Hood Meadows remains closed to the public ODOT & Tri-State construction crews worked non-stop to hit their Dec. 15 opening prediction. Meanwhile mother nature didn't get the memo about the road being closed and continues to dump snow like there is no tomorrow at the resort. Snow levels mid-mountain are already 6+ feet with more on the way. This is shaping up to be a really great season...once it starts.

Read about it on Dave Rileys blog.

Saturday, November 25, 2006 3:13:57 PM (Pacific Standard Time, UTC-08:00) #    Comments [0]  |  Trackback

 

The Peril is subsiding!!#

Dave Riley updated his blog with new news about the HWY 35 road re-construction. So far the results are very promising. While they doubt Mt Hood Meadows will be open by Thanksgiving, they are confident the resort will be open before Christmas! And when it does there will be TONS of fresh powder.

Read about it here.

Thursday, November 16, 2006 2:32:09 PM (Pacific Standard Time, UTC-08:00) #    Comments [0]  |  Trackback

 

It's Much Too Perilous#

A friend of mine sent me some pictures of the flood damage to HWY 35. Reading Dave's blog gave you an idea of the damage but these pictures really hit it home just how bad things are up there.

See them here courtesy of KGW news.

Sunday, November 12, 2006 4:08:58 AM (Pacific Standard Time, UTC-08:00) #    Comments [0]  |  Trackback

 

Mt. Hood Meadows In Peril#

Due to heavy rains on the glacier, massive amounts of dirt and debris have blocked HWY 35 access to Mt. Hood Meadows. ODOT, the US Forest Service and other governmental agencies are working hard to get the roads open in time for the snowboard season.

Dave Riley, President & COO of Mt. Hood Meadows keeps his blog updated with the latest news and progress.

Read the latest post here.

Friday, November 10, 2006 3:15:20 PM (Pacific Standard Time, UTC-08:00) #    Comments [0]  |  Trackback

 

Controlling Assembly Signing in Visual Studio 2003#

At my company I've become the go to guy for installers and the like. Naturally one of my jobs is doing builds in visual studio for including in those installers. As we write security software we always sign our assemblies to prevent tampering.

For anyone that has had this job you know that signing assemblies is a fairly trivial task. You change the AssemblyInfo file to point to your private key pair, set delay sign to false and off you go. In a matter of minutes you have a set of fully signed assemblies to deploy to your hearts content.

The problem lies in when your solutions start to get large, say greater than 8 projects. That 8 AssemblyInfo files to update. Since you all work in perfect worlds where builds go out on schedule and everything works magically I'm sure this has never happened to you. Imagine you receive word from a customer your software, which is in production, has a defect. *GASP* sound the alarm, drop everything and jump! Your team mobilizes into seek and destroy mode to find the defect and fix it. But you need to get the fix to the customer in a easy to deploy fashion. So you whip up a patch installer throw in the requisite assemblies and off it goes.

As your customer is happily installing your fix you start to wonder, did I update all the assembly info files in my solution?? Maybe I missed one. Just as you go check your code your customer calls back stating the installation failed due to a signed assembly problem. AHHHHH! If only there was a way to update one AssemblyInfo file and have it affect all projects. Well there is!

To begin solving this problem we turn to some built in functionality in Visual Studio. In Visual Studio there is a concept of linking files. The idea is you have one common file, an AssemblyInfo file in this case, and you link all your projects to that one file. So you change the file in one place and it is affected in all projects. Slick eh? The one exception to this is web projects. I'm guessing because of how web projects are built and ran (from temporary ASP.NET) you can't link files to them. To access the menu in the Add Existing Item dialog, click on the small arrow to the right of the Open button.

Now having a common file is really handy, but what if you type the path to the private key pair wrong or forget to turn off delay sign. Well you're in luck, by using #IF/#ENDIF statements you can control assembly signing simply by changing the configuration.

To make Visual Studio take advantage of this you will need to edit the project settings and define the symbols to switch on. The DEBUG symbol is already defined by default, so all you will need to do is define the RELEASE symbol. This is accomplished by opening the project properties, selecting Configuration Properties, selecting Build, and adding the word RELEASE to the list of semi-colon separated list for Conditional Compilation Constants.

When you put this all together you can control whether you delay sign or fully sign you assembly by changing one option in your development environment. By selecting Release from the configuration drop down the code in the AssemblyInfo file that controls signing is switched to use fully sign the assembly.

 | 
Thursday, November 09, 2006 1:02:13 AM (Pacific Standard Time, UTC-08:00) #    Comments [0]  |  Trackback

 

All content © 2010, Matthew Lapworth