The behavior of automatically adding using (or Import for VB people) at the top of the file has changed in VS2015 compared to VS2013. Therefore, the following code:
namespace CommanderKeen.Enemies { class Dopefish { } } namespace CommanderKeen { using System; class GameLogic { public GameLogic() {
In VS2013, the following line will be added after the using System; directive using System; :
using CommanderKeen.Enemies;
For example, the full namespace. VS2015 , but shortens this to:
using Enemies;
... due to the fact that my using directives are all placed inside a namespace. However, I have never seen this as common practice, even with using directives located in this (less common) image.
I can fix this by moving my using directives outside of the namespace , but I really don't want to do this, because now all my projects are organized like this.
Does anyone know if this can be fixed, perhaps through an add-in?
source share