<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:41:42 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-2133] Compilation Issues and Application Problems caused by C# Driver</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2133</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Details of the issue are in this link. I reported this issue, at this time, looks like this is happening because of MongoDB Dependencies.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://example.com&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://developercommunity.visualstudio.com/content/problem/164184/publish-tools-are-failing-after-upgrade-to-vs-2017.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Note that after trying everything mentioned there,  eventually ended up with the below error. I tried everything for days &amp;amp; nights - reinstalled nuget packages over and over again. The only way to get it to work was to install VS 2017 on my Azure VM and then the error stopped happening.&lt;/p&gt;

&lt;p&gt;I went through all the dependencies of the driver, found some documented ones missing - installed them manually - nothing worked.&lt;/p&gt;

&lt;p&gt;Very hard to debug this issue and it does not say which file is missing. VS 2017 install fix indicates that the missing dll was probably in the GAC.&lt;/p&gt;

&lt;p&gt;Note I even installed .NET 4.7.1 and latest .net core on that VM - even that did not get the below to work&lt;/p&gt;

&lt;p&gt;Application: Locus.SqlServer.ChangeManagement.Worker.ServiceFabric.exe&lt;br/&gt;
Framework Version: v4.0.30319&lt;br/&gt;
Description: The process was terminated due to an unhandled exception.&lt;br/&gt;
Exception Info: System.IO.FileNotFoundException&lt;/p&gt;

&lt;p&gt;Exception Info: System.IO.FileNotFoundException&lt;br/&gt;
   at MongoDB.Driver.Core.Connections.ClientDocumentHelper.CreateOSDocument()&lt;br/&gt;
   at System.Lazy`1[&lt;span class=&quot;error&quot;&gt;&amp;#91;System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;#93;&lt;/span&gt;].CreateValue()&lt;br/&gt;
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&lt;br/&gt;
   at System.Lazy`1[&lt;span class=&quot;error&quot;&gt;&amp;#91;System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;#93;&lt;/span&gt;].get_Value()&lt;br/&gt;
   at MongoDB.Driver.Core.Connections.ClientDocumentHelper.CreateClientDocument(System.String)&lt;br/&gt;
   at MongoDB.Driver.Core.Connections.BinaryConnectionFactory..ctor(MongoDB.Driver.Core.Configuration.ConnectionSettings, MongoDB.Driver.Core.Connections.IStreamFactory, MongoDB.Driver.Core.Events.IEventSubscriber)&lt;br/&gt;
   at MongoDB.Driver.Core.Configuration.ClusterBuilder.BuildCluster()&lt;br/&gt;
   at MongoDB.Driver.ClusterRegistry.CreateCluster(MongoDB.Driver.ClusterKey)&lt;br/&gt;
   at MongoDB.Driver.ClusterRegistry.GetOrCreateCluster(MongoDB.Driver.ClusterKey)&lt;br/&gt;
   at MongoDB.Driver.MongoClient..ctor(MongoDB.Driver.MongoClientSettings)&lt;br/&gt;
   at Locus.MongoDB.Core.LocusMongoClient+DedicatedCluster.Initialize(System.String, System.String, System.String, System.String, System.String)&lt;br/&gt;
   at Locus.MongoDB.Core.LocusMongoClient+DedicatedCluster.Get(System.String, System.String, System.String, System.String, System.String)&lt;br/&gt;
   at Locus.MongoDB.Config.LocusConfigData.Database()&lt;br/&gt;
   at Locus.Configuration.LocusCloudConfig.GetLoggingConfiguration()&lt;/p&gt;

&lt;p&gt;Exception Info: System.AggregateException&lt;br/&gt;
   at Locus.Core.Execute.InParallel(System.Collections.Generic.List`1&amp;lt;System.Collections.Generic.List`1&amp;lt;System.Action&amp;gt;&amp;gt;, System.Threading.Tasks.TaskCreationOptions)&lt;br/&gt;
   at Locus.Core.Execute.InParallel[&lt;span class=&quot;error&quot;&gt;&amp;#91;System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;#93;&lt;/span&gt;](System.Collections.Generic.ICollection`1&amp;lt;System._&lt;em&gt;Canon&amp;gt;, System.Action`1&amp;lt;System.&lt;/em&gt;_Canon&amp;gt;, Int32, System.Threading.Tasks.TaskCreationOptions)&lt;br/&gt;
   at Locus.SqlServer.ChangeManagement.ChangeTrackingTimer.ExecuteTimer()&lt;br/&gt;
   at Locus.Framework.ProtectedTimerMethod.Execute(System.Action)&lt;br/&gt;
   at Locus.Core.Timers.BaseWorkTimer._timer_Elapsed(System.Object)&lt;br/&gt;
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)&lt;br/&gt;
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)&lt;br/&gt;
   at System.Threading.TimerQueueTimer.CallCallback()&lt;br/&gt;
   at System.Threading.TimerQueueTimer.Fire()&lt;br/&gt;
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()&lt;br/&gt;
   at System.Threading.ThreadPoolWorkQueue.Dispatch()&lt;/p&gt;
</description>
                <environment></environment>
        <key id="475707">CSHARP-2133</key>
            <summary>Compilation Issues and Application Problems caused by C# Driver</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.mongodb.org/images/icons/priorities/blocker.svg">Blocker - P1</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="-1">Unassigned</assignee>
                                    <reporter username="vdevappa@locusrobotics.com">Vijay Devappa</reporter>
                        <labels>
                    </labels>
                <created>Fri, 22 Dec 2017 22:45:06 +0000</created>
                <updated>Mon, 15 Nov 2021 16:28:41 +0000</updated>
                            <resolved>Tue, 9 Jan 2018 19:34:53 +0000</resolved>
                                    <version>2.5</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1769572" author="vdevappa@locusrobotics.com" created="Tue, 9 Jan 2018 20:49:20 +0000"  >&lt;p&gt;Just note that the issue was finally resolved only after I installed VS 2017 community edition on the VM. Then it finally worked.&lt;/p&gt;</comment>
                            <comment id="1769452" author="rstam" created="Tue, 9 Jan 2018 19:34:45 +0000"  >&lt;p&gt;This appears to be a different manifestation of the same issue reported in &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-2033&quot; title=&quot;Update dependency on System.Runtime.InteropServices.RuntimeInformation to 4.3.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-2033&quot;&gt;&lt;del&gt;CSHARP-2033&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="418200">CSHARP-2033</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|hted8v:</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>