Wednesday, August 5, 2009

Visual Studio reference based on output type

We use CSLA in our application. We keep the source code in a vendor branch in our SVN repository. We then keep a debug as well as a release build of CSLA. We have a reference to the debug build in our project because we want to be able to step into the CSLA source code from time to time to see what is happening.

Here is the problem I encountered: I wanted to be able to have the reference to the CSLA library change based upon the output type. I didn't find anything that directly addressed my particular scenario. I was able to piece together a solution that addressed my needs.

This is what I had originally.


<Reference Include="Csla, Version=3.6.2.0, Culture=neutral, PublicKeyToken=93be5fdc093e4c30, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\lib\CSLA.NET\Csla.dll</HintPath>
</Reference>

And this is what solved my problem.


<Reference Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "
Include="Csla, Version=3.6.2.0, Culture=neutral, PublicKeyToken=93be5fdc093e4c30, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\lib\CSLA.NET\Debug\Csla.dll</HintPath>
</Reference>
<Reference Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "
Include="Csla, Version=3.6.2.0, Culture=neutral, PublicKeyToken=93be5fdc093e4c30, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\lib\CSLA.NET\Release\Csla.dll</HintPath>
</Reference>

Sunday, February 8, 2009

Big Bang Theory

Leonard: Sheldon lives in fear of the three tine fork.
Sheldon: Three tines is not a fork. Three tines is a trident. Forks are for eating. Tridents are for ruling the seven seas.

Monday, November 24, 2008

Page 56

Page 56 Rules: * Grab the book nearest you. Right now. * Turn to page 56. * Find the fifth sentence. * Post that sentence along with these instructions in a note to your wall. * Don't dig for your favorite book, the coolest, the most intellectual. Use the CLOSEST.  

He had gone so far so to steal a staple remover from an untended desk at church and then incorporate it into an Erector-set robot hunter-killer device with which he terrorized much of the neighborhood; its pit-viper yawn separated many a cheap plastic toy from its parts and accessories before the theft was discovered and Randy made an example of before God and man.  

Cryptonomicon by Neal Stephenson

Sunday, August 31, 2008

wiggitty (sp?)


It is so good to have graphic designers as friends.

Thursday, July 24, 2008

mix up

So, I don't know if anyone else does this, but I have a blogger account that I do my journaling to. I also have a public blogger account, that you are now reading. Yesterday, I posted something meant for the journal account, to this public account. If it blessed you, I am glad. If it was a bit too much information for you I apologize. Those were some private sentiments not meant for a larger audience.

Here's hoping I can keep things straight from here on out.

Monday, June 30, 2008

Netflix is keeping Profiles.

So there you go. They freaked me out for a bit. However, in the end they listened. They did what the customer wanted. I am happily sticking with Netflix for some time.

Thursday, June 19, 2008

Netflix threatening to discontinue profiles.

So Netflix sent me an email today explaining that they are going to shut down my profiles in September. That was a bit frustrating. We have the 3 unlimited plan. We also have 3 profiles, one for me, one for my wife, and one for the kids. It works great. The kids just queue up what they want, and they get a new one when they send the old one back. If they loose a movie, which they have, it doesn't screw up our stuff. Whenever they ask for a new movie, we just tell them to look for the old one.

At any rate, this stinks. Here is an online petition to sign if you are a Netflix user and are as disappointed as I am. If this goes through, I can't see us not switching to Blockbuster.