The Ramblings of Two Microsoft .NET Developers, TFS, and Visual Studio ALM Guys --- "Yes, we are both named Ed."

Team Build and Strong Naming or Click-Once



I woke up to a FAILED build report in my inbox this morning... Not the best of signs but it happens, right?

So I'm trying to figure out what in the world could have gone wrong.  What did we change since the last build that could have caused this madness?  OK, I know I'm being over-dramatic :-)

Here's what I had in the build report:

Target ResolveKeySource: 
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1718,7): error MSB4018: The "ResolveKeySource" task failed unexpectedly.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1718,7): error MSB4018: System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1718,7): error MSB4018: at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1718,7): error MSB4018: at System.Windows.Forms.Form.ShowDialog()
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1718,7): error MSB4018: at Microsoft.Build.Tasks.ResolveKeySource.ResolveManifestKey()
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1718,7): error MSB4018: at Microsoft.Build.Tasks.ResolveKeySource.Execute()
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1718,7): error MSB4018: at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound)
Done building target "ResolveKeySource" in project "untimyrm.tmp_proj" -- FAILED.

I think I knew what happened... I had just set up the Click-Once settings in our app and I bet the build server doesn't have the key file we are using.  Sure enough, I happened to be write!  I found out this could also happen if you are signing your assemblies as well with a strong name.  MSDN Forums has the details.

Here's Nagaraju Palla's answer:

For password protected signing keys to work on build without prompting, they need to be exported into a key container crypto store on the build machine under the account that performs the build. Once exported, the build will not ask for a password anymore. The crypto store will do the signing and take care to keep private key safe.

One of the quicker ways to do this:

- Logon to the build machine using the build service account

- Run msbuild on any project that uses this signing key. It will prompt for the password and will export the key.

- Now start the TeamBuild full build.

Ed B.

Posted in TFS


Dallas BizTalk User Group call for Speakers



I was  recently elected Vice President of Meetings for the Dallas BizTalk User Group. My responsibilities include managing sponsors and speakers. I am looking for speakers and sponsors for the rest of 2007 and early 2008.

We meet the 2nd Wednesday of each month @ the Microsoft Campus in Irving. The next meeting is August 8, 2007 and the speaking spot is open, so submit your topics. The speaking topics can be on BizTalk, WCF, or WF.

The current format we use for the meetings is as follows:

Each Meeting:
2 topics – 2 speakers
First speaker presents 30min beginner to intermediate level topic
Second speaker presents 1hour advance level topic

Leave a comment on this post if you are interested in presenting for the August Meeting or any future meetings and I will email you.

Meeting Location:
Microsoft Campus
7000 State Highway 161
Irving, TX 75039



Ed K

Technorati Tags: ,
Posted in


Building Apps Using NetAdvantage with Team Build



This post actually applies to many different situations in which you would automate a build on a separate server.  I just happen to be familiar with Team Build. :-)

Because of how NetAdvantage deals with licensing each build server will need a full copy of NetAdvantage installed.  Some build engineers have only copied the NetAdvantage assemblies over to their build server and will see LicenseException errors in their build reports.  Even copying them into the GAC isn't enough...  Just to save yourself a couple of headaches, take a few minutes to install using the product installer.  There is an option in the installer to install just the assemblies and licensing components.  I'd recommend deselecting all of the options if you don't need them installed on the build server.  Be sure to also apply any hot fixes that your application may use as well.

As an aside, according to Infragistics' current licensing agreement, each build server you install NetAdvantage on must have a separate license whoever creates the build script must be licensed.  If your team has separate build engineers, each of them should be licensed if they will be working on the build script.

 

Happy Building!

Ed B.

Posted in TFS | Tools


Paintball and Cactus



This weekend we had our annual "4th of July Paintball War" at my Dad's place. This year we had about 12 people playing, we divided the teams up by age, everyone 27 and under on team 1, everyone over 27 on team 2. If your wondering....I was on team 2 with the old farts.

The reason I am posting this is because something different happened this year during the big war.... I ending up having Surgery. I fell in a cactus patch and one of the cactus needles went into my wrist down to my tendon.  I had to go to the ER and then they put me in surgery to removed the 2 inch cactus needle.

I had no idea Cactus could cause so much damage.... and be so expensive lol

3 Days after Surgery:
PIC-0015

 

Ed K.

Posted in


iPhone without AT&T ???



Is it possible for the iPhone to work without AT&T service?

Here is a hacker that claims he has done it: Jon Lech Johansen’s blog

Here is the Bloomberg post about it: Apple's IPhone Can Work Without AT&T Service, Hacker Claims

 

Ed K.

Technorati Tags: ,
Posted in

Orcas and Team Projects



How is the Team Project limitation going to be addressed in Orcas? Is the problem going to be solved in Orcas or will it really be in Rosario? Read Brian Harry's blog post to learn more:  Orcas and Team Projects.

Looks like for Orcas they will be addressing the cost issue of having to purchase more servers to scale for greater number of team projects. Can you imagine what the Server and License cost is for a set up like CodePlex.... I would not like that bill. Orcas will support SQL named instances, so you can have multiple data tiers on one box. You will still have to have the app tiers on separate boxes but those are way cheaper than a beefy SQL box; you can (should) just VM the app tiers anyway's.

Ed K

 

Technorati Tags:
Posted in TFS


Steve Jobs in an interview on the eve of the iPhone launch



What we've done with the iPhone is we've made it so that it will automatically switch to a known Wi-Fi network whenever it finds it. So you don't have to go hunting around, resetting the phone, flipping a switch or doing anything. Most of us have Wi-Fi networks around us most of the time at home and at work. There's often times a Wi-Fi network that you can join whether you're sitting in a coffee shop or even walking along the street piggybacking on somebody's home Wi-Fi network. What we found is the combination is working really well.

"Known Wi-Fi Network" please explain. I would not want my phone connecting to some wireless access point, especially if I will be purchasing products online or viewing my bank details.

"PiggyBacking on somebody's home Wi-Fi Network" .....so...... Apple thinks this is ok?

Read the whole interview "iPhone 'Surfing' On AT&T Network Isn't Fast, Jobs Concedes"

Tomorrow @ 6pm is the official launch, I sure hope my Stock soars in the morning :)

 

Ed K.

Posted in


Safari 3 Beta



I have downloaded and installed Safari 3 Beta on my laptop today. I am not a Browser Guru, I just want to make sure our site looks pretty :)

image

 

Ed K. 

Posted in


I am not the Ed B in Today's Daily WTF



I've been asked so I'll just say, "Sorry, I'm not the Ed B. in today's Daily WTF."  Although very funny, it's not me.

 

Ed B.

Posted in

Debug that BizTalk Map



Ouch! Look at this map. I need to see what is happening in some of these functoids. What is a developer to do?????

BadMap

A map is just complex XSL.... So to debug the functoids we need to treat it as such. First, lets Validate our map and get the location of the XSLT.

Validate

Since it validated (no errors) we have the XSLT output location in the Output Window. Copy this location to your clip board. 

Location

Open the file with Visual Studio:

OpenXSLT

Now, right click on your XSL working area and select properties. Here you will enter the input file that will be used for the transform:
InputFile

Mark your break points, just as you would a code file, and start the debug:

DebugXSLT

Now you can step through just as if it was .Net code:

Step1

Even step into the functoid code:

Step2

 

Ed K.

Technorati Tags: ,
Posted in