Enable app.debug.config app.release.config

September 15, 2014

Excellent post on how to transform App.config.

build. measure. learn.

For now only web.config supports transformation (web projects).
This transformations allow you can have different settings for different configurations (debug or release). A good example is transformation of a connection string. Probably you will have a different connection string when you release the app in production.

Doing the following steps you can obtain transformation on a app.config too.

1. Prepare your project and add app.config, app.debug.config and app.release.config. Make sure is running under .Net 4.0 .

2. Right click on the project, click Unload project and then Edit .csproj.

3. Below the last PropertyGroup add the following:

4. Modify the section ItemGroup that’s related to app.config/app.*.config files

5.Below the last Import tag insert this one

6.Right before end of Project tag add this

7.Now you can save the project, right click the project and choose Reload Project.

8.For app.debug.config / app.release.config files you can use the template that’s…

View original post 15 more words


Fiddler Only Log Specific Host(s)

September 11, 2014

Fiddler2 can be an amazing web traffic diagnostic tool, but often times it records way too many requests. It will even pop in random web requests from processes running on your machine. This can be solved with the filters option. You can limit the results to a specific host, process, etc. In the screenshot below I detail how to restrict Fiddler2 to only the hostname http://www.google.com.

Capture

1. Make sure to check Use Filters

2. Chose the Show only the following Hosts dropdown option

3. Type in the name of the host you would like to view (ex: http://www.google.com)


AdMob SDK For Windows 8 – Incompatible Assembly Error

September 6, 2014

I was recently working on my Windows Phone 8 App for Fuelizer and I came across the following error when I tried to import the AdMob SDK:

A reference to a higher version or incompatible assembly cannot be added to the project.

error

After spending almost an hour trying to determine what versions were incompatible, the solution was much easier that anticipated. To resolve this issue you simply need to unblock the assembly. The assembly became blocked since it was zipped up. After unblocking the assembly as shown below, I was able to add the reference to GoogleAds.dll successfully.

unblock