Ans: Yes he can build a shed against your fence at a specific distance that is defined according to your city building planning rules. It must not be too close to your fence as it could damage your property.