Hi, I'm facing a problem with a conflict between the DateTime class and a namespace for some unknown reason was also called DateTime.
Assembly CompanyDateTime has namespace Company.DateTime
My Application is in the namespace: Company
the problem is that everytime I need to use DateTime class, I have to explicitely say System.DateTime is their any way of getting around this?
Is is possible to say SomeRandomStuff = Company.DateTime and have DateTime always be System.DateTime
Note:
- I need to reference this Assembly in my application eventhough I do not use it because some Assembly that I need actually uses this class.
- I can use an entry on the app.config file to identify a dependent assembly but I cannot do that since company policy is against it and all referenced assembly needs to be in the output folder.
- Deployment goes through a build server
Possible Resolution? Is is possible for CompanyDateTime to get automatically deployed to the output folder without adding it in the reference?