<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:45:40 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CSHARP-3571] Strong name issues</title>
                <link>https://jira.mongodb.org/browse/CSHARP-3571</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I started to use the MongoDB packages in a C# environment. I recently saw that the package is signed but the DLLs are still no signed or without strong name. With that, when you have a project that signs the DLLs, I can&apos;t use MongoDB at all (I call mongodb DLLs using reflection).&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Below the error:&lt;/p&gt;

&lt;p&gt;1&amp;gt;CSC : warning CS8002: Referenced assembly &apos;MongoDB.Driver, Version=2.12.0.0, Culture=neutral, PublicKeyToken=null&apos; does not have a strong name.&lt;br/&gt;
1&amp;gt;CSC : warning CS8002: Referenced assembly &apos;MongoDB.Bson, Version=2.12.0.0, Culture=neutral, PublicKeyToken=null&apos; does not have a strong name.&lt;br/&gt;
1&amp;gt;CSC : warning CS8002: Referenced assembly &apos;MongoDB.Driver.Core, Version=2.12.0.0, Culture=neutral, PublicKeyToken=null&apos; does not have a strong name.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Do you have a plan to make the dll&apos;s strong named?&lt;/p&gt;

&lt;p&gt;If not, can you share somehow a way to just connect in a database using TcpClient?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thank you.&lt;/p&gt;</description>
                <environment>Windows using C#</environment>
        <key id="1678822">CSHARP-3571</key>
            <summary>Strong name issues</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="dmitry.lukyanov@mongodb.com">Dmitry Lukyanov</assignee>
                                    <reporter username="ednakamu@microsoft.com">Eddy Nakamura</reporter>
                        <labels>
                    </labels>
                <created>Tue, 13 Apr 2021 12:08:33 +0000</created>
                <updated>Mon, 19 Apr 2021 20:32:23 +0000</updated>
                            <resolved>Mon, 19 Apr 2021 20:32:23 +0000</resolved>
                                                                    <component>Packaging</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3725993" author="dmitry.lukyanov" created="Mon, 19 Apr 2021 19:26:57 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ednakamu%40microsoft.com&quot; class=&quot;user-hover&quot; rel=&quot;ednakamu@microsoft.com&quot;&gt;ednakamu@microsoft.com&lt;/a&gt;,&lt;br/&gt;
we will consider this work in the scope of &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1276&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/CSHARP-1276&lt;/a&gt;, For now, you can try using this guideline: &lt;a href=&quot;https://docs.microsoft.com/en-us/dotnet/standard/assembly/sign-strong-name#create-and-sign-an-assembly-with-a-strong-name-by-using-the-assembly-linker&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.microsoft.com/en-us/dotnet/standard/assembly/sign-strong-name#create-and-sign-an-assembly-with-a-strong-name-by-using-the-assembly-linker&lt;/a&gt;.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Is there an easy way to connect with Tcp?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;no, there is no such way&lt;/p&gt;</comment>
                            <comment id="3721017" author="JIRAUSER1259433" created="Thu, 15 Apr 2021 18:24:32 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;when you upload to nuget.org, the package is automatically signed by nuget.org.&lt;/p&gt;

&lt;p&gt;For that thread and looking for Microsoft guidance (that is in the comments thread), it&apos;s recommended to strong naming it. But yes. Not a lot of consensuses if should/should not strong name it.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I tried to inject with ildasm/ilasm/sn, but there are functions/methods that didn&apos;t work properly.&lt;/p&gt;

&lt;p&gt;I also tried just to understand the portion of the code where MongoDb authenticates, but that is a lot of source code.&lt;br/&gt;
Is there an easy way to connect with Tcp?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thank you&lt;/p&gt;</comment>
                            <comment id="3716007" author="dmitry.lukyanov" created="Tue, 13 Apr 2021 18:32:24 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ednakamu%40microsoft.com&quot; class=&quot;user-hover&quot; rel=&quot;ednakamu@microsoft.com&quot;&gt;ednakamu@microsoft.com&lt;/a&gt; ,&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&#160; I recently saw that the package is signed&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;not sure what you mean here, our NuGet package is not signed.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;but the DLLs are still no signed or without strong name.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;please see this comment in similar ticket:&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1276?focusedCommentId=3699110&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-3699110&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/CSHARP-1276?focusedCommentId=3699110&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-3699110&lt;/a&gt;&#160;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;If not, can you share somehow a way to just connect in a database using TcpClient?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I don&apos;t think that there is a simple way to do it since you need to use a binary wire protocol to work with the server.&lt;/p&gt;

&lt;p&gt;we&apos;re considering work to add strong-named versions of our libraries for further releases, currently, we don&apos;t have a particular roadmap but we will keep you informed here&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="203604">CSHARP-1276</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hypl07:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>