[ 
https://issues.apache.org/jira/browse/TINKERPOP-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17707039#comment-17707039
 ] 

ASF GitHub Bot commented on TINKERPOP-2918:
-------------------------------------------

Cole-Greer commented on PR #2005:
URL: https://github.com/apache/tinkerpop/pull/2005#issuecomment-1490927667

   @thealmogg As this PR has already received 1 approving vote, it will likely 
be merged in about 1 week. There haven't yet been any official discussions of 
the next release date that I'm aware of although a release in or around April 
is typical for Tinkerpop and I wouldn't expect this year to be any different. 
You can follow the [email protected] maillist to stay up to date of any 
release discussions.




> Utils.GenerateUserAgent assumes Gremlin.Net.dll to be present when, in some 
> environments, it is not.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-2918
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2918
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: dotnet
>    Affects Versions: 3.6.2
>            Reporter: Daniel C. Weber
>            Priority: Blocker
>
> The dotnet driver in v3.6.2 adds the ability to add a user agent to the 
> request.
> To get the user agent name,  Gremlin.Net.Process.Utils.GenerateUserAgent uses 
> AssemblyName.GetAssemblyName("Gremlin.Net.dll") (see 
> [here|https://github.com/apache/tinkerpop/blob/125e5bf4560546c9727dd25ff4d590f34c7d625b/gremlin-dotnet/src/Gremlin.Net/Process/Utils.cs#L81])
> Because the dll is referenced in a relative manner, in some environments 
> (Visual studio debugging and Docker deployment for me), this results in a 
> FileNotFoundException. In my specific local case, the path prefixed is the 
> path where the csproj is.
> However, it works in a different project (also VS locally). I have no idea 
> yet why. Also, I would file a pull request that would just use 
> GetExecutingAssembly() instead of  AssemblyName.GetAssemblyName (because the 
> executing code is in that specific dll), but there's probably a reason for it 
> not being used. Then again, using GetExecutingAssembly for the application 
> name seems odd, was that supposed to be GetEntryAssembly?
> Will happily provide more insight and code.
> cc: [~Florian Hockmann]
> Edit: Proposed change in https://github.com/apache/tinkerpop/pull/2005



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to