***** UPDATE *****
In fairness it appears that I had downloaded the latest build, not the ‘official’ release. So I hear the release does NOT have this issue, only the latest drop.
***** END UPDATE *****
Today I had a few minutes so I thought I would grab the Oxite code to take a peek at the code. I have no plans in actually using the code or application for my site, but I always enjoy looking at other code examples as you can always learn something.
To get started I went over to the download section of the project to get the code and that was pretty easy, which ends any ‘easiness’ about this.
After the code was downloaded and unzipped I did what anyone would do, I double clicked on the Oxite.sln to open it. I fully expected to be able to open the project and compile… NOPE.
The first thing it did was bark that the project was under source control and that it could not connect to the source repository. It then proceeded to bark at me for each and every project in the solution. This is ok as I have seen this before, but then it did not load any of the projects at the end of all the barking. It simply opened the solution up and showed all the projects as being unavailable. The main reason for the source issues is because the source was checked into TFS and I do not have the TFS client installed on my box. This is a massive fail in my book.
In order to actually open the .sln file I needed to do the following.
- Delete all .vss files from the folder tree
- Open all .proj files in notepad and delete the following
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider> - Open the .sln file in notepad and remove the following section
GlobalSection(TeamFoundationVersionControl) = preSolution
SccNumberOfProjects = 10
SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
SccTeamFoundationServer = https://tfs04.codeplex.com/
….
EndGlobalSection
Once I did the following I was able to run and compile the solution.
So, what is my main beef with this? Simple. When you post code on the net in this fashion making it hard for people to work with is the exact opposite of what you want. Make it hard and people will leave, make it easy and people will stay.
Anyway, my rant is over.
Till next time,
Posted
12-13-2008 4:21 PM
by
Derik Whittaker