Im making a nuget package for work that will be included in some of our projects. My question is this: Is there a way to get the name of the project that the nuget package will be included in? So far, I've tried this:
Assembly.GetCallingAssembly().GetName().Name
but when I run it, that gives me the name of the project in the Nuget package, rather than the name of the project the Nuget package is included in.
Edit---- The reason I for this is to make a network call to a centralized service from multiple different projects. Getting the project/solution name will be how the calls are differentiated.