Newbie - Use UI GitHub repo to get .NET source compiling

Using VS2013 and first time at using MiniProfiler

I found that to get the .NET source to compile I had to open the project and copy the files into StackExchange.Profiling\ui

There was also a missing reference to System.Data.SQLite in the Sample.Wcf project… Used NuGet to get this, and then compiled. However the WCF Sample seems unhappy when any links are pressed:

Cannot upload an image, but “new users cannot upload an image”

An exception of type ‘System.Configuration.ConfigurationErrorsException’ occurred in SampleWeb.dll but was not handled in user code

Additional information: An error occurred creating the configuration section handler for system.serviceModel/behaviors: Could not load file or assembly ‘Miniprofiler.Wcf, Version=, Culture=neutral’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Did you try to follow the instructions given in the dotnet project readme file:

Be sure to git submodule init and git submodule update after cloning to pull down the ui repo!

Runnig these commands should bring down the UI code without your having to manually copy it in (and will make it easier to bring in changes from that project).

Ahh - many thanks Yaakov. I’d been using download zip from GitHub. Now I cloned it (using Github for Windows as a nice GUI). Then shelled out and ran the 2 submodule commands.

Good to hear.

I also just updated the repo with updated package references to fix the SqlLite ref errors that you encountered earlier.