<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to compile CONNECT examples in Visual Studio 2019</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/228465/how-to-compile-connect-examples-in-visual-studio-2019</link><description>I can compile all examples in the CONNECT SDK in the developer shell. Now I am trying to open the solutions in Visual Studio 2019 and compile inside VS. 
 I made a copy of MicroStationDeveloperShell.bat and added this line at the end so Visual Studio</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to compile CONNECT examples in Visual Studio 2019</title><link>https://communities.bentley.com/thread/706835?ContentTypeID=1</link><pubDate>Fri, 15 Apr 2022 13:46:30 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:33204302-5e85-4b9e-ac60-d25043303494</guid><dc:creator>Ken Adams</dc:creator><description>&lt;p&gt;That worked with a few adjustments. I had to change vs120comntoools to vs160comntools, and for myapp, I still needed to add the&amp;nbsp; bmake command line and include folder. But after that is compiles perfectly. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to compile CONNECT examples in Visual Studio 2019</title><link>https://communities.bentley.com/thread/706790?ContentTypeID=1</link><pubDate>Fri, 15 Apr 2022 06:15:12 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:8414ac9c-4f54-4c4d-a953-d475867a76f1</guid><dc:creator>Jon Summers</dc:creator><description>[quote userid="338809" url="~/products/programming/microstation_programming/f/microstation-programming---forum/228465/how-to-compile-connect-examples-in-visual-studio-2019"]I can compile all examples in the CONNECT SDK in the developer shell. Now I am trying to open the solutions in Visual Studio 2019[/quote]
&lt;p&gt;Examine the folder that contains each SDK example. Most have file &lt;code&gt;openSln.bat&lt;/code&gt;.&amp;nbsp; When you run that batch file from the SDK command window, it starts the Viz Studio solution (e.g.&amp;nbsp;&lt;code&gt;myapp.sln&lt;/code&gt;) with the SDK environment defined, so that Viz Studio can find the necessary header and library files.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>