Closed Towmeykaw closed 7 years ago
Hello, @Towmeykaw - sounds like you've been hit by #193. It is a known issue for all platforms but Windows running on full .NET framework.
I didn't know about PlatformServices
, looks very interesting. If you want to look into this further, I'm open for a PR that solves #193 on all platforms.
@pardahlman PlatformServices is actually deprecated for Core 2.0, so we're back to Assembly.GetEntryAssembly().GetName().Name to get the current application name again (> .NET Standard 1.5). See https://github.com/aspnet/PlatformAbstractions/issues/50
Thanks for your input, @garethrampton - there are some interesting discussion in that ticket. @Towmeykaw, I'll close this issue for now, as it is a duplicate of #193
Hello! I had an issue when using the ApplicationQueueSuffix plugin. When i use commandline parameters this tries to match the parameter instead of the name.
For now i fixed it by using
UseCustomQueueSuffix(PlatformServices.Default.Application.ApplicationName.Replace(".", "_"))
Which seems to work fine.