Question

I've inherited a number of ASP.Net C# projects that mix MVC and forms. Several projects have .resx files in App_GlobalResources. My guess is that the files were related to .aspx forms that were converted to MVC.

I can think of two strategies for determining whether the files are in use:

1) Remove and see what happens. Do missing .resx files cause run-time or compile-time errors?

2) Work backwards from the files and see what uses them. Not exactly sure what to look for though. String searches have come up empty.

Any help/suggestions appreciated.

Thanks.

Was it helpful?

Solution

You should be able to search for the name of the resource files. E.g. if the Resourcefile is called MyGlobalResource.resx then you can search for MyGlobalresource. If it does not come up anywhere, I think you can be safe to remove it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top