ASP.NET Website project without namespaces. Converting to ASP.NET Web application.
Hi guys, I have a legacy ASP.NET Website project which I want to convert to ASP.NET Website application. So I can actually reference it from outside and unit test. The problem is now. I have followed the guide and copied the code over to a new project. Everything went well. Just one big problem. Classes don't see each other references anymore. I get hundreds of errors.
So I tried using resharper to create namespaces for every class. This went kinda well and now every class has a namespace App_Code.
Now, for some reason using import App_Code doesn't work but I am able to directly reference classes by using var example = new App_Code.ExampleClass;
I have hundreds of lines I need to edit to directly reference the classes.
Anyone have any tip or advice how I can make my life less of a hell?
0 Replies