<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:45:51 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-3640] Issue with Building/Loading Projects in VS2015 after Upgrading to Driver 2.12.2</title>
                <link>https://jira.mongodb.org/browse/CSHARP-3640</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Hello ,&lt;/p&gt;

&lt;p&gt;We have been Using VS2015 as the IDE for development. We Upgraded to&#160;&#160;Driver 2.12.2 and now the Project does not load in VS2015. We get the following error:&lt;/p&gt;

&lt;p&gt;&apos;&lt;/p&gt;

&lt;p&gt;MongoDB.Libmongocrypt.targets error : Invalid static method invocation syntax: &quot;&lt;span class=&quot;error&quot;&gt;&amp;#91;MSBuild&amp;#93;&lt;/span&gt;::IsOsPlatform(&apos;Windows&apos;)&quot;. Method &apos;&lt;span class=&quot;error&quot;&gt;&amp;#91;MSBuild&amp;#93;&lt;/span&gt;::IsOsPlatform&apos; not found. Static method invocation should be of the form: $(&lt;span class=&quot;error&quot;&gt;&amp;#91;FullTypeName&amp;#93;&lt;/span&gt;::Method()), e.g. $(&lt;span class=&quot;error&quot;&gt;&amp;#91;System.IO.Path&amp;#93;&lt;/span&gt;::Combine(`a`, `b`)).&lt;/p&gt;</description>
                <environment>VS2015</environment>
        <key id="1700354">CSHARP-3640</key>
            <summary>Issue with Building/Loading Projects in VS2015 after Upgrading to Driver 2.12.2</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="13202">Works as Designed</resolution>
                                        <assignee username="james.kovacs@mongodb.com">James Kovacs</assignee>
                                    <reporter username="jsangari@enrollment.org">Jasmeet Sangari</reporter>
                        <labels>
                    </labels>
                <created>Tue, 4 May 2021 10:44:54 +0000</created>
                <updated>Fri, 27 Oct 2023 13:24:46 +0000</updated>
                            <resolved>Tue, 4 May 2021 19:47:17 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3755119" author="james.kovacs" created="Tue, 4 May 2021 19:56:06 +0000"  >&lt;p&gt;Hi, Jasmeet,&lt;/p&gt;

&lt;p&gt;I was incorrect. Operating system detection was added in the 2.10.0 version of the driver. So you would have to use 2.9.x or earlier if you wanted to go that route.&lt;/p&gt;

&lt;p&gt;James&lt;/p&gt;</comment>
                            <comment id="3755092" author="james.kovacs" created="Tue, 4 May 2021 19:46:50 +0000"  >&lt;p&gt;Hi, Jasmeet,&lt;/p&gt;

&lt;p&gt;Thank you for contacting MongoDB about the error when attempting to use recent versions of the MongoDB .NET/C# driver with Microsoft Visual Studio 2015.&lt;/p&gt;

&lt;p&gt;Our NuGet package uses &lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;MSBuild&amp;#93;&lt;/span&gt;::IsOsPlatform()&lt;/tt&gt; for operating system detection, which is unfortunately not available in the version of MSBuild shipped with VS2015. VS2015 is over 6 years old and &lt;a href=&quot;https://docs.microsoft.com/en-us/lifecycle/products/visual-studio-2015&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;reached mainstream end-of-life on 2020-10-13&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;We recommend upgrading to VS2017 or VS2019, which does support the required MSBuild method. If this is not possible, you can use a recent version of the command line tools (e.g. `msbuild.exe, `dotnet.exe`, and/or `nuget.exe`) to install packages and build your source while still using VS2015 to write your code. Driver versions 2.10.x and earlier did not include features requiring operating system detection and should still work in VS2015, though you would not benefit from features and bug fixes in the newer driver versions.&lt;/p&gt;

&lt;p&gt;Hopefully that provides you some options to work around this issue. The best option is definitely to update to VS2017 or VS2019.&lt;/p&gt;

&lt;p&gt;Sincerely,&lt;br/&gt;
James&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </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|hyszkf:</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>