<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.rws.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12 Non-Production</generator><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021</link><pubDate>Thu, 08 Oct 2020 10:53:19 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Paul</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Current Revision posted to Studio Developers WIKI by Paul on 10/8/2020 10:53:19 AM&lt;br /&gt;
&lt;p&gt;&lt;span style="background-color:#ffff99;font-size:150%;"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;NOTE:&lt;/strong&gt;&amp;nbsp;If t&lt;/span&gt;he visual Studio extension for Trados Studio 2021 is temporarily unavailable in the marketplace you can also download and install it manually from here:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.rws.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-03-50/SDL-Trados-Studio-project-templates-for-Microsoft-Visual-Studio_5F00_2.4.zip"&gt;community.rws.com/.../SDL-Trados-Studio-project-templates-for-Microsoft-Visual-Studio_5F00_2.4.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2 id="mcetoc_1e9snmaet0"&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;.NET Framework 4.8&lt;/li&gt;
&lt;li&gt;Visual Studio extension for Studio 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet1"&gt;How to download .NET Framework&lt;/h2&gt;
&lt;p&gt;The new .Net Framework&amp;nbsp;&amp;nbsp;can be downloaded from the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://dotnet.microsoft.com/download/dotnet-framework/net48"&gt;Microsoft site&lt;/a&gt;. After you install the framework a&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;restart is required&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet2"&gt;How check if the framework was installed correctly&lt;/h3&gt;
&lt;p&gt;After restart, you can check if the version was installed correctly using Powershell.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and open it as Administrator.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x641/__key/communityserver-wikis-components-files/00-00-00-03-50/7343.Powershell.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type following command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;gci &amp;lsquo;HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP&amp;rsquo; -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match &amp;lsquo;^(?!S)\p{L}&amp;rsquo;} | select PSChildName, Version&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Make sure in the displayed list that the 4.8... version is installed.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/829x170/__key/communityserver-wikis-components-files/00-00-00-03-50/6685.comm.png" /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h2 id="mcetoc_1e9snmaet3"&gt;How to migrate your plugins without Visual Studio extension&lt;/h2&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9so5i036"&gt;&amp;nbsp; Plugin manifest changes&lt;/h3&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;Studio 2021 provides a tight integration to the AppStore and will allow users to install/uninstall plugins directly from Studio. Because of this it&amp;#39;s mandatory for the&amp;nbsp;&lt;strong&gt;pluginpackage.manifest.xml &lt;/strong&gt;file to have following data:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Plugin name. &lt;/strong&gt;Please make sure the plugin name is added in the manifest file&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Version. &lt;/strong&gt;Please make sure the version of the plugin does not contain any words in it ( example of correct format: 1.0.0.0) and that it&amp;#39;s higher than&amp;nbsp;2019 plugin version.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MinVersion 16.0. &lt;/strong&gt;Please make sure that the minversion is set to &lt;strong&gt;&amp;quot;16.0&amp;quot; (&lt;/strong&gt;If for example you make a mistake and set the version to &lt;strong&gt;16&lt;/strong&gt;,&lt;strong&gt;&amp;nbsp;then&amp;nbsp;&lt;/strong&gt;in visual studio an error will appear.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1180x889/__key/communityserver-wikis-components-files/00-00-00-03-50/image_2D00_2020_2D00_04_2D00_30_2D00_14_2D00_53_2D00_31_2D00_476.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i037"&gt;Target Framework changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;The Project .Net Framework needs to be changed to 4.8. Right click on the &lt;strong&gt;project -&amp;gt; Properties -&amp;gt; Application-&amp;gt; Target framework&lt;/strong&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/400x200/__key/communityserver-wikis-components-files/00-00-00-03-50/pastedimage1591176314619v1.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i038"&gt;package.config changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Right click on &lt;strong&gt;package.config file -&amp;gt; &amp;quot;Migrate to PackageReference&amp;quot;&lt;/strong&gt;.&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/596x133/__key/communityserver-wikis-components-files/00-00-00-03-50/packageConf.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9sop7tl0"&gt;Sdl.Core.PluginFramework and Sdl.Core.PluginFramework.Build Nuget update&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Update the PluginFramework and PluginFramework.Build&amp;nbsp; Nuget Packages to the latest version.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9sop7tl1"&gt;&amp;nbsp; .csproj&amp;nbsp;update&lt;/h3&gt;
&lt;p style="padding-left:30px;"&gt;&amp;nbsp;A couple of changes need to be implemented in the .csproj. &lt;strong&gt;Right click on the project -&amp;gt; &amp;quot;Unload project&amp;quot;-&amp;gt;&amp;quot;Edit..&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Search for &amp;quot;&lt;strong&gt;PluginDeploymentPath&lt;/strong&gt;&amp;quot; and change the path to point to the&amp;nbsp;&lt;strong&gt;16&lt;/strong&gt; folder:&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:60px;"&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make sure all the&amp;nbsp;&lt;strong&gt;Studio references point to the Studio16 folder:&amp;nbsp; &lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:60px;"&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL&lt;strong&gt; Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.dll&amp;lt;/HintPath&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Reload the project and build the solution. If the following error appears:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img alt=" " src="/resized-image/__size/691x696/__key/communityserver-wikis-components-files/00-00-00-03-50/plfrerror.png" /&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;Make sure SDL.Core.PluginFramework Nuget is installed.&lt;/strong&gt; If it&amp;#39;s not installed then please install it:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img alt=" " src="/resized-image/__size/1301x271/__key/communityserver-wikis-components-files/00-00-00-03-50/install.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffff99;font-size:200%;"&gt;&lt;strong&gt;Working with the Visual Studio Extension&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h2 id="mcetoc_1e9snmaet4"&gt;Why do I need the Visual Studio Extension&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It will install the templates needed to&amp;nbsp;create Trados Studio 2021 plugins in&amp;nbsp;Visual Studio.&lt;/li&gt;
&lt;li&gt;It will install an action which&amp;nbsp;will migrate the existing plugin solutions to Studio 2021.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet5"&gt;How to download the Visual Studio Extension for Studio 2021&lt;/h2&gt;
&lt;p&gt;The Visual Studio extension can be&amp;nbsp;installed in&lt;span&gt;&amp;nbsp;&lt;/span&gt;Visual Studio 2017 and 2019.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet6"&gt;Visual Studio 2019&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Extensions-&amp;gt; Manage Extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/888x56/__key/communityserver-wikis-components-files/00-00-00-03-50/2021.extensions.png" /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Manage Extensio&lt;/strong&gt;n window&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Online Tab,&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDL -&amp;gt;&amp;nbsp;&lt;/strong&gt;Install&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-03-50/pastedimage1588757096900v4.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet7"&gt;Visual Studio 2017&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Tools&lt;/strong&gt;-&amp;gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Extensions and Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/713x102/__key/communityserver-wikis-components-files/00-00-00-03-50/5635.tools.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;strong&gt;Extensions and Updates&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;window&amp;nbsp;&lt;strong&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;Online Tab&lt;span&gt;&amp;nbsp;search for&amp;nbsp;&lt;/span&gt;SDL -&amp;gt;&amp;nbsp;&lt;span&gt;Install&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet8"&gt;&lt;strong&gt;How to update a old plugin solution to Studio 2021&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;After the extension was installed, open the solution of the plugin which you want to migrate to Studio 2021. In the Solution explorer a new button should be available:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/709x112/__key/communityserver-wikis-components-files/00-00-00-03-50/8358.arrow.png" /&gt;&lt;/p&gt;
&lt;p&gt;Click on &amp;quot;&lt;strong&gt;Update&lt;/strong&gt;&amp;quot; button. A warning message will appear. Click on &amp;quot;&lt;strong&gt;Reload All&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/699x211/__key/communityserver-wikis-components-files/00-00-00-03-50/4201.reload.png" /&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet9"&gt;&lt;strong&gt;What the Visual Studio extension changes to your solution&lt;/strong&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.&lt;/strong&gt;NET Framwwork of your project should be 4.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Right click on project -&amp;gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/779x207/__key/communityserver-wikis-components-files/00-00-00-03-50/3652.target.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the references from .csproj should point to the Studio16 folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Right click on project-&amp;gt; Unload project-&amp;gt; Edit .csproj&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/561x213/__key/communityserver-wikis-components-files/00-00-00-03-50/6366.edit.png" /&gt;&lt;/p&gt;
&lt;p&gt;PluginDeploymentPath should point to Studio version &amp;quot;16&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All references should point to Studio16 folder:&lt;br /&gt;&lt;strong&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.Extensions.dll&amp;lt;/HintPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="mcetoc_1e9snmaeta"&gt;&lt;strong&gt;A couple of errors which might appear&amp;nbsp;in Visual Studio&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PluginFramework error in editor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If after migration the following error appears and all the references are not loaded:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1134x71/__key/communityserver-wikis-components-files/00-00-00-03-50/NugetError.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on &lt;strong&gt;packages.config&amp;rarr;Migrate packages.config to PackageReference&amp;nbsp;&amp;rarr; Ok&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/516x148/__key/communityserver-wikis-components-files/00-00-00-03-50/migratePackage.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unload the project and edit the .csproj&amp;nbsp;&amp;rarr; Remove the following code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1442x561/__key/communityserver-wikis-components-files/00-00-00-03-50/RemoveFromCsProj.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reload the project and build the solution, all the references should be recognised and the plugin should compile without any errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.NetFramework is higher than the current targeted framework&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1093x324/__key/communityserver-wikis-components-files/00-00-00-03-50/CurrentTargetFrError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unload the project and edit the .csproj&amp;nbsp; -&amp;gt;Search for &amp;quot;TargetFrameworkVersion&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make sure you only have referenced the 4.8 framework version . &lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/427x30/__key/communityserver-wikis-components-files/00-00-00-03-50/TargetFrameworkVersion.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you have another reference like this, or another version which is not 4.8:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/513x117/__key/communityserver-wikis-components-files/00-00-00-03-50/RemoveDuplicateTargetFr.png" /&gt;&lt;/p&gt;
&lt;p&gt;Remove that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Plugins Migration Documentation, Studio2021&lt;/div&gt;
</description></item><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021/revision/18</link><pubDate>Thu, 13 Aug 2020 15:16:51 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Paul</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Revision 18 posted to Studio Developers WIKI by Paul on 8/13/2020 3:16:51 PM&lt;br /&gt;
&lt;p&gt;&lt;span style="background-color:#ffff99;font-size:150%;"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;NOTE:&lt;/strong&gt;&amp;nbsp;If t&lt;/span&gt;he visual Studio extension for Trados Studio 2021 is temporarily unavailable in the marketplace so you can download this and install it manually from here:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.rws.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-39/SDL-Trados-Studio-project-templates-for-Microsoft-Visual-Studio_5F00_2.4.zip"&gt;community.rws.com/.../SDL-Trados-Studio-project-templates-for-Microsoft-Visual-Studio_5F00_2.4.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2 id="mcetoc_1e9snmaet0"&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;.NET Framework 4.8&lt;/li&gt;
&lt;li&gt;Visual Studio extension for Studio 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet1"&gt;How to download .NET Framework&lt;/h2&gt;
&lt;p&gt;The new .Net Framework&amp;nbsp;&amp;nbsp;can be downloaded from the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://dotnet.microsoft.com/download/dotnet-framework/net48"&gt;Microsoft site&lt;/a&gt;. After you install the framework a&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;restart is required&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet2"&gt;How check if the framework was installed correctly&lt;/h3&gt;
&lt;p&gt;After restart, you can check if the version was installed correctly using Powershell.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and open it as Administrator.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x641/__key/communityserver-wikis-components-files/00-00-00-00-39/7343.Powershell.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type following command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;gci &amp;lsquo;HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP&amp;rsquo; -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match &amp;lsquo;^(?!S)\p{L}&amp;rsquo;} | select PSChildName, Version&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Make sure in the displayed list that the 4.8... version is installed.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/829x170/__key/communityserver-wikis-components-files/00-00-00-00-39/6685.comm.png" /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h2 id="mcetoc_1e9snmaet3"&gt;How to migrate your plugins without Visual Studio extension&lt;/h2&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9so5i036"&gt;&amp;nbsp; Plugin manifest changes&lt;/h3&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;Studio 2021 provides a tight integration to the AppStore and will allow users to install/uninstall plugins directly from Studio. Because of this it&amp;#39;s mandatory for the&amp;nbsp;&lt;strong&gt;pluginpackage.manifest.xml &lt;/strong&gt;file to have following data:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Plugin name. &lt;/strong&gt;Please make sure the plugin name is added in the manifest file&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Version. &lt;/strong&gt;Please make sure the version of the plugin does not contain any words in it ( example of correct format: 1.0.0.0) and that it&amp;#39;s higher than&amp;nbsp;2019 plugin version.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MinVersion 16.0. &lt;/strong&gt;Please make sure that the minversion is set to &lt;strong&gt;&amp;quot;16.0&amp;quot; (&lt;/strong&gt;If for example you make a mistake and set the version to &lt;strong&gt;16&lt;/strong&gt;,&lt;strong&gt;&amp;nbsp;then&amp;nbsp;&lt;/strong&gt;in visual studio an error will appear.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1180x889/__key/communityserver-wikis-components-files/00-00-00-00-39/image_2D00_2020_2D00_04_2D00_30_2D00_14_2D00_53_2D00_31_2D00_476.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i037"&gt;Target Framework changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;The Project .Net Framework needs to be changed to 4.8. Right click on the &lt;strong&gt;project -&amp;gt; Properties -&amp;gt; Application-&amp;gt; Target framework&lt;/strong&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/400x200/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1591176314619v1.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i038"&gt;package.config changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Right click on &lt;strong&gt;package.config file -&amp;gt; &amp;quot;Migrate to PackageReference&amp;quot;&lt;/strong&gt;.&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/596x133/__key/communityserver-wikis-components-files/00-00-00-00-39/packageConf.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9sop7tl0"&gt;Sdl.Core.PluginFramework and Sdl.Core.PluginFramework.Build Nuget update&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Update the PluginFramework and PluginFramework.Build&amp;nbsp; Nuget Packages to the latest version.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9sop7tl1"&gt;&amp;nbsp; .csproj&amp;nbsp;update&lt;/h3&gt;
&lt;p style="padding-left:30px;"&gt;&amp;nbsp;A couple of changes need to be implemented in the .csproj. &lt;strong&gt;Right click on the project -&amp;gt; &amp;quot;Unload project&amp;quot;-&amp;gt;&amp;quot;Edit..&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Search for &amp;quot;&lt;strong&gt;PluginDeploymentPath&lt;/strong&gt;&amp;quot; and change the path to point to the&amp;nbsp;&lt;strong&gt;16&lt;/strong&gt; folder:&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:60px;"&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make sure all the&amp;nbsp;&lt;strong&gt;Studio references point to the Studio16 folder:&amp;nbsp; &lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:60px;"&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL&lt;strong&gt; Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.dll&amp;lt;/HintPath&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Reload the project and build the solution. If the following error appears:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img alt=" " src="/resized-image/__size/691x696/__key/communityserver-wikis-components-files/00-00-00-00-39/plfrerror.png" /&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;Make sure SDL.Core.PluginFramework Nuget is installed.&lt;/strong&gt; If it&amp;#39;s not installed then please install it:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img alt=" " src="/resized-image/__size/1301x271/__key/communityserver-wikis-components-files/00-00-00-00-39/install.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffff99;font-size:200%;"&gt;&lt;strong&gt;Working with the Visual Studio Extension&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h2 id="mcetoc_1e9snmaet4"&gt;Why do I need the Visual Studio Extension&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It will install the templates needed to&amp;nbsp;create Trados Studio 2021 plugins in&amp;nbsp;Visual Studio.&lt;/li&gt;
&lt;li&gt;It will install an action which&amp;nbsp;will migrate the existing plugin solutions to Studio 2021.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet5"&gt;How to download the Visual Studio Extension for Studio 2021&lt;/h2&gt;
&lt;p&gt;The Visual Studio extension can be&amp;nbsp;installed in&lt;span&gt;&amp;nbsp;&lt;/span&gt;Visual Studio 2017 and 2019.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet6"&gt;Visual Studio 2019&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Extensions-&amp;gt; Manage Extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/888x56/__key/communityserver-wikis-components-files/00-00-00-00-39/2021.extensions.png" /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Manage Extensio&lt;/strong&gt;n window&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Online Tab,&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDL -&amp;gt;&amp;nbsp;&lt;/strong&gt;Install&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v4.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet7"&gt;Visual Studio 2017&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Tools&lt;/strong&gt;-&amp;gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Extensions and Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/713x102/__key/communityserver-wikis-components-files/00-00-00-00-39/5635.tools.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;strong&gt;Extensions and Updates&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;window&amp;nbsp;&lt;strong&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;Online Tab&lt;span&gt;&amp;nbsp;search for&amp;nbsp;&lt;/span&gt;SDL -&amp;gt;&amp;nbsp;&lt;span&gt;Install&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet8"&gt;&lt;strong&gt;How to update a old plugin solution to Studio 2021&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;After the extension was installed, open the solution of the plugin which you want to migrate to Studio 2021. In the Solution explorer a new button should be available:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/709x112/__key/communityserver-wikis-components-files/00-00-00-00-39/8358.arrow.png" /&gt;&lt;/p&gt;
&lt;p&gt;Click on &amp;quot;&lt;strong&gt;Update&lt;/strong&gt;&amp;quot; button. A warning message will appear. Click on &amp;quot;&lt;strong&gt;Reload All&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/699x211/__key/communityserver-wikis-components-files/00-00-00-00-39/4201.reload.png" /&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet9"&gt;&lt;strong&gt;What the Visual Studio extension changes to your solution&lt;/strong&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.&lt;/strong&gt;NET Framwwork of your project should be 4.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Right click on project -&amp;gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/779x207/__key/communityserver-wikis-components-files/00-00-00-00-39/3652.target.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the references from .csproj should point to the Studio16 folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Right click on project-&amp;gt; Unload project-&amp;gt; Edit .csproj&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/561x213/__key/communityserver-wikis-components-files/00-00-00-00-39/6366.edit.png" /&gt;&lt;/p&gt;
&lt;p&gt;PluginDeploymentPath should point to Studio version &amp;quot;16&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All references should point to Studio16 folder:&lt;br /&gt;&lt;strong&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.Extensions.dll&amp;lt;/HintPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="mcetoc_1e9snmaeta"&gt;&lt;strong&gt;A couple of errors which might appear&amp;nbsp;in Visual Studio&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PluginFramework error in editor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If after migration the following error appears and all the references are not loaded:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1134x71/__key/communityserver-wikis-components-files/00-00-00-00-39/NugetError.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on &lt;strong&gt;packages.config&amp;rarr;Migrate packages.config to PackageReference&amp;nbsp;&amp;rarr; Ok&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/516x148/__key/communityserver-wikis-components-files/00-00-00-00-39/migratePackage.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unload the project and edit the .csproj&amp;nbsp;&amp;rarr; Remove the following code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1442x561/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveFromCsProj.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reload the project and build the solution, all the references should be recognised and the plugin should compile without any errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.NetFramework is higher than the current targeted framework&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1093x324/__key/communityserver-wikis-components-files/00-00-00-00-39/CurrentTargetFrError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unload the project and edit the .csproj&amp;nbsp; -&amp;gt;Search for &amp;quot;TargetFrameworkVersion&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make sure you only have referenced the 4.8 framework version . &lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/427x30/__key/communityserver-wikis-components-files/00-00-00-00-39/TargetFrameworkVersion.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you have another reference like this, or another version which is not 4.8:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/513x117/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveDuplicateTargetFr.png" /&gt;&lt;/p&gt;
&lt;p&gt;Remove that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Plugins Migration Documentation, Studio2021&lt;/div&gt;
</description></item><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021/revision/17</link><pubDate>Tue, 28 Jul 2020 07:27:16 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Paul</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Revision 17 posted to Studio Developers WIKI by Paul on 7/28/2020 7:27:16 AM&lt;br /&gt;
&lt;p&gt;&lt;span style="background-color:#ffff99;font-size:150%;"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; &lt;/span&gt;The visual Studio extension for Trados Studio 2021 is temporarily unavailable in the marketplace so you can download this and install it manually from here:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.rws.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-39/SDL-Trados-Studio-project-templates-for-Microsoft-Visual-Studio_5F00_2.4.zip"&gt;community.rws.com/.../SDL-Trados-Studio-project-templates-for-Microsoft-Visual-Studio_5F00_2.4.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2 id="mcetoc_1e9snmaet0"&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;.NET Framework 4.8&lt;/li&gt;
&lt;li&gt;Visual Studio extension for Studio 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet1"&gt;How to download .NET Framework&lt;/h2&gt;
&lt;p&gt;The new .Net Framework&amp;nbsp;&amp;nbsp;can be downloaded from the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://dotnet.microsoft.com/download/dotnet-framework/net48"&gt;Microsoft site&lt;/a&gt;. After you install the framework a&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;restart is required&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet2"&gt;How check if the framework was installed correctly&lt;/h3&gt;
&lt;p&gt;After restart, you can check if the version was installed correctly using Powershell.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and open it as Administrator.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x641/__key/communityserver-wikis-components-files/00-00-00-00-39/7343.Powershell.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type following command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;gci &amp;lsquo;HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP&amp;rsquo; -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match &amp;lsquo;^(?!S)\p{L}&amp;rsquo;} | select PSChildName, Version&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Make sure in the displayed list that the 4.8... version is installed.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/829x170/__key/communityserver-wikis-components-files/00-00-00-00-39/6685.comm.png" /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h2 id="mcetoc_1e9snmaet3"&gt;How to migrate your plugins without Visual Studio extension&lt;/h2&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9so5i036"&gt;&amp;nbsp; Plugin manifest changes&lt;/h3&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;Studio 2021 provides a tight integration to the AppStore and will allow users to install/uninstall plugins directly from Studio. Because of this it&amp;#39;s mandatory for the&amp;nbsp;&lt;strong&gt;pluginpackage.manifest.xml &lt;/strong&gt;file to have following data:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Plugin name. &lt;/strong&gt;Please make sure the plugin name is added in the manifest file&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Version. &lt;/strong&gt;Please make sure the version of the plugin does not contain any words in it ( example of correct format: 1.0.0.0) and that it&amp;#39;s higher than&amp;nbsp;2019 plugin version.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MinVersion 16.0. &lt;/strong&gt;Please make sure that the minversion is set to &lt;strong&gt;&amp;quot;16.0&amp;quot; (&lt;/strong&gt;If for example you make a mistake and set the version to &lt;strong&gt;16&lt;/strong&gt;,&lt;strong&gt;&amp;nbsp;then&amp;nbsp;&lt;/strong&gt;in visual studio an error will appear.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1180x889/__key/communityserver-wikis-components-files/00-00-00-00-39/image_2D00_2020_2D00_04_2D00_30_2D00_14_2D00_53_2D00_31_2D00_476.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i037"&gt;Target Framework changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;The Project .Net Framework needs to be changed to 4.8. Right click on the &lt;strong&gt;project -&amp;gt; Properties -&amp;gt; Application-&amp;gt; Target framework&lt;/strong&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/400x200/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1591176314619v1.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i038"&gt;package.config changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Right click on &lt;strong&gt;package.config file -&amp;gt; &amp;quot;Migrate to PackageReference&amp;quot;&lt;/strong&gt;.&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/596x133/__key/communityserver-wikis-components-files/00-00-00-00-39/packageConf.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9sop7tl0"&gt;Sdl.Core.PluginFramework and Sdl.Core.PluginFramework.Build Nuget update&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Update the PluginFramework and PluginFramework.Build&amp;nbsp; Nuget Packages to the latest version.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9sop7tl1"&gt;&amp;nbsp; .csproj&amp;nbsp;update&lt;/h3&gt;
&lt;p style="padding-left:30px;"&gt;&amp;nbsp;A couple of changes need to be implemented in the .csproj. &lt;strong&gt;Right click on the project -&amp;gt; &amp;quot;Unload project&amp;quot;-&amp;gt;&amp;quot;Edit..&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Search for &amp;quot;&lt;strong&gt;PluginDeploymentPath&lt;/strong&gt;&amp;quot; and change the path to point to the&amp;nbsp;&lt;strong&gt;16&lt;/strong&gt; folder:&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:60px;"&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make sure all the&amp;nbsp;&lt;strong&gt;Studio references point to the Studio16 folder:&amp;nbsp; &lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:60px;"&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL&lt;strong&gt; Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.dll&amp;lt;/HintPath&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Reload the project and build the solution. If the following error appears:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img alt=" " src="/resized-image/__size/691x696/__key/communityserver-wikis-components-files/00-00-00-00-39/plfrerror.png" /&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;Make sure SDL.Core.PluginFramework Nuget is installed.&lt;/strong&gt; If it&amp;#39;s not installed then please install it:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img alt=" " src="/resized-image/__size/1301x271/__key/communityserver-wikis-components-files/00-00-00-00-39/install.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffff99;font-size:200%;"&gt;&lt;strong&gt;Working with the Visual Studio Extension&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h2 id="mcetoc_1e9snmaet4"&gt;Why do I need the Visual Studio Extension&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It will install the templates needed to&amp;nbsp;create Trados Studio 2021 plugins in&amp;nbsp;Visual Studio.&lt;/li&gt;
&lt;li&gt;It will install an action which&amp;nbsp;will migrate the existing plugin solutions to Studio 2021.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet5"&gt;How to download the Visual Studio Extension for Studio 2021&lt;/h2&gt;
&lt;p&gt;The Visual Studio extension can be&amp;nbsp;installed in&lt;span&gt;&amp;nbsp;&lt;/span&gt;Visual Studio 2017 and 2019.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet6"&gt;Visual Studio 2019&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Extensions-&amp;gt; Manage Extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/888x56/__key/communityserver-wikis-components-files/00-00-00-00-39/2021.extensions.png" /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Manage Extensio&lt;/strong&gt;n window&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Online Tab,&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDL -&amp;gt;&amp;nbsp;&lt;/strong&gt;Install&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v4.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet7"&gt;Visual Studio 2017&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Tools&lt;/strong&gt;-&amp;gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Extensions and Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/713x102/__key/communityserver-wikis-components-files/00-00-00-00-39/5635.tools.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;strong&gt;Extensions and Updates&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;window&amp;nbsp;&lt;strong&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;Online Tab&lt;span&gt;&amp;nbsp;search for&amp;nbsp;&lt;/span&gt;SDL -&amp;gt;&amp;nbsp;&lt;span&gt;Install&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet8"&gt;&lt;strong&gt;How to update a old plugin solution to Studio 2021&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;After the extension was installed, open the solution of the plugin which you want to migrate to Studio 2021. In the Solution explorer a new button should be available:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/709x112/__key/communityserver-wikis-components-files/00-00-00-00-39/8358.arrow.png" /&gt;&lt;/p&gt;
&lt;p&gt;Click on &amp;quot;&lt;strong&gt;Update&lt;/strong&gt;&amp;quot; button. A warning message will appear. Click on &amp;quot;&lt;strong&gt;Reload All&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/699x211/__key/communityserver-wikis-components-files/00-00-00-00-39/4201.reload.png" /&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet9"&gt;&lt;strong&gt;What the Visual Studio extension changes to your solution&lt;/strong&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.&lt;/strong&gt;NET Framwwork of your project should be 4.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Right click on project -&amp;gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/779x207/__key/communityserver-wikis-components-files/00-00-00-00-39/3652.target.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the references from .csproj should point to the Studio16 folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Right click on project-&amp;gt; Unload project-&amp;gt; Edit .csproj&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/561x213/__key/communityserver-wikis-components-files/00-00-00-00-39/6366.edit.png" /&gt;&lt;/p&gt;
&lt;p&gt;PluginDeploymentPath should point to Studio version &amp;quot;16&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All references should point to Studio16 folder:&lt;br /&gt;&lt;strong&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.Extensions.dll&amp;lt;/HintPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="mcetoc_1e9snmaeta"&gt;&lt;strong&gt;A couple of errors which might appear&amp;nbsp;in Visual Studio&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PluginFramework error in editor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If after migration the following error appears and all the references are not loaded:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1134x71/__key/communityserver-wikis-components-files/00-00-00-00-39/NugetError.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on &lt;strong&gt;packages.config&amp;rarr;Migrate packages.config to PackageReference&amp;nbsp;&amp;rarr; Ok&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/516x148/__key/communityserver-wikis-components-files/00-00-00-00-39/migratePackage.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unload the project and edit the .csproj&amp;nbsp;&amp;rarr; Remove the following code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1442x561/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveFromCsProj.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reload the project and build the solution, all the references should be recognised and the plugin should compile without any errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.NetFramework is higher than the current targeted framework&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1093x324/__key/communityserver-wikis-components-files/00-00-00-00-39/CurrentTargetFrError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unload the project and edit the .csproj&amp;nbsp; -&amp;gt;Search for &amp;quot;TargetFrameworkVersion&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make sure you only have referenced the 4.8 framework version . &lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/427x30/__key/communityserver-wikis-components-files/00-00-00-00-39/TargetFrameworkVersion.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you have another reference like this, or another version which is not 4.8:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/513x117/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveDuplicateTargetFr.png" /&gt;&lt;/p&gt;
&lt;p&gt;Remove that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Plugins Migration Documentation, Studio2021&lt;/div&gt;
</description></item><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021/revision/16</link><pubDate>Thu, 23 Jul 2020 07:15:34 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Andrea-Melinda Ghisa</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Revision 16 posted to Studio Developers WIKI by Andrea-Melinda Ghisa on 7/23/2020 7:15:34 AM&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2 id="mcetoc_1e9snmaet0"&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;.NET Framework 4.8&lt;/li&gt;
&lt;li&gt;Visual Studio extension for Studio 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet1"&gt;How to download .NET Framework&lt;/h2&gt;
&lt;p&gt;The new .Net Framework&amp;nbsp;&amp;nbsp;can be downloaded from the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://dotnet.microsoft.com/download/dotnet-framework/net48"&gt;Microsoft site&lt;/a&gt;. After you install the framework a&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;restart is required&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet2"&gt;How check if the framework was installed correctly&lt;/h3&gt;
&lt;p&gt;After restart, you can check if the version was installed correctly using Powershell.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and open it as Administrator.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x641/__key/communityserver-wikis-components-files/00-00-00-00-39/7343.Powershell.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type following command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;gci &amp;lsquo;HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP&amp;rsquo; -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match &amp;lsquo;^(?!S)\p{L}&amp;rsquo;} | select PSChildName, Version&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Make sure in the displayed list that the 4.8... version is installed.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/829x170/__key/communityserver-wikis-components-files/00-00-00-00-39/6685.comm.png" /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h2 id="mcetoc_1e9snmaet3"&gt;How to migrate your plugins without Visual Studio extension&lt;/h2&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9so5i036"&gt;&amp;nbsp; Plugin manifest changes&lt;/h3&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;Studio 2021 provides a tight integration to the AppStore and will allow users to install/uninstall plugins directly from Studio. Because of this it&amp;#39;s mandatory for the&amp;nbsp;&lt;strong&gt;pluginpackage.manifest.xml &lt;/strong&gt;file to have following data:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Plugin name. &lt;/strong&gt;Please make sure the plugin name is added in the manifest file&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Version. &lt;/strong&gt;Please make sure the version of the plugin does not contain any words in it ( example of correct format: 1.0.0.0) and that it&amp;#39;s higher than&amp;nbsp;2019 plugin version.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MinVersion 16.0. &lt;/strong&gt;Please make sure that the minversion is set to &lt;strong&gt;&amp;quot;16.0&amp;quot; (&lt;/strong&gt;If for example you make a mistake and set the version to &lt;strong&gt;16&lt;/strong&gt;,&lt;strong&gt;&amp;nbsp;then&amp;nbsp;&lt;/strong&gt;in visual studio an error will appear.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1180x889/__key/communityserver-wikis-components-files/00-00-00-00-39/image_2D00_2020_2D00_04_2D00_30_2D00_14_2D00_53_2D00_31_2D00_476.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i037"&gt;Target Framework changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;The Project .Net Framework needs to be changed to 4.8. Right click on the &lt;strong&gt;project -&amp;gt; Properties -&amp;gt; Application-&amp;gt; Target framework&lt;/strong&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/400x200/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1591176314619v1.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i038"&gt;package.config changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Right click on &lt;strong&gt;package.config file -&amp;gt; &amp;quot;Migrate to PackageReference&amp;quot;&lt;/strong&gt;.&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/596x133/__key/communityserver-wikis-components-files/00-00-00-00-39/packageConf.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9sop7tl0"&gt;Sdl.Core.PluginFramework and Sdl.Core.PluginFramework.Build Nuget update&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Update the PluginFramework and PluginFramework.Build&amp;nbsp; Nuget Packages to the latest version.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9sop7tl1"&gt;&amp;nbsp; .csproj&amp;nbsp;update&lt;/h3&gt;
&lt;p style="padding-left:30px;"&gt;&amp;nbsp;A couple of changes need to be implemented in the .csproj. &lt;strong&gt;Right click on the project -&amp;gt; &amp;quot;Unload project&amp;quot;-&amp;gt;&amp;quot;Edit..&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Search for &amp;quot;&lt;strong&gt;PluginDeploymentPath&lt;/strong&gt;&amp;quot; and change the path to point to the&amp;nbsp;&lt;strong&gt;16&lt;/strong&gt; folder:&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:60px;"&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make sure all the&amp;nbsp;&lt;strong&gt;Studio references point to the Studio16 folder:&amp;nbsp; &lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:60px;"&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL&lt;strong&gt; Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.dll&amp;lt;/HintPath&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Reload the project and build the solution. If the following error appears:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img alt=" " src="/resized-image/__size/691x696/__key/communityserver-wikis-components-files/00-00-00-00-39/plfrerror.png" /&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;Make sure SDL.Core.PluginFramework Nuget is installed.&lt;/strong&gt; If it&amp;#39;s not installed then please install it:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img alt=" " src="/resized-image/__size/1301x271/__key/communityserver-wikis-components-files/00-00-00-00-39/install.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:200%;"&gt;&lt;strong&gt;Working with the Visual Studio Extension&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h2 id="mcetoc_1e9snmaet4"&gt;Why do I need the Visual Studio Extension&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It will install the templates needed to&amp;nbsp;create Trados Studio 2021 plugins in&amp;nbsp;Visual Studio.&lt;/li&gt;
&lt;li&gt;It will install an action which&amp;nbsp;will migrate the existing plugin solutions to Studio 2021.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet5"&gt;How to download the Visual Studio Extension for Studio 2021&lt;/h2&gt;
&lt;p&gt;The Visual Studio extension can be&amp;nbsp;installed in&lt;span&gt;&amp;nbsp;&lt;/span&gt;Visual Studio 2017 and 2019.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet6"&gt;Visual Studio 2019&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Extensions-&amp;gt; Manage Extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/888x56/__key/communityserver-wikis-components-files/00-00-00-00-39/2021.extensions.png" /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Manage Extensio&lt;/strong&gt;n window&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Online Tab,&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDL -&amp;gt;&amp;nbsp;&lt;/strong&gt;Install&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v4.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet7"&gt;Visual Studio 2017&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Tools&lt;/strong&gt;-&amp;gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Extensions and Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/713x102/__key/communityserver-wikis-components-files/00-00-00-00-39/5635.tools.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;strong&gt;Extensions and Updates&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;window&amp;nbsp;&lt;strong&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;Online Tab&lt;span&gt;&amp;nbsp;search for&amp;nbsp;&lt;/span&gt;SDL -&amp;gt;&amp;nbsp;&lt;span&gt;Install&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet8"&gt;&lt;strong&gt;How to update a old plugin solution to Studio 2021&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;After the extension was installed, open the solution of the plugin which you want to migrate to Studio 2021. In the Solution explorer a new button should be available:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/709x112/__key/communityserver-wikis-components-files/00-00-00-00-39/8358.arrow.png" /&gt;&lt;/p&gt;
&lt;p&gt;Click on &amp;quot;&lt;strong&gt;Update&lt;/strong&gt;&amp;quot; button. A warning message will appear. Click on &amp;quot;&lt;strong&gt;Reload All&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/699x211/__key/communityserver-wikis-components-files/00-00-00-00-39/4201.reload.png" /&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet9"&gt;&lt;strong&gt;What the Visual Studio extension changes to your solution&lt;/strong&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.&lt;/strong&gt;NET Framwwork of your project should be 4.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Right click on project -&amp;gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/779x207/__key/communityserver-wikis-components-files/00-00-00-00-39/3652.target.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the references from .csproj should point to the Studio16 folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Right click on project-&amp;gt; Unload project-&amp;gt; Edit .csproj&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/561x213/__key/communityserver-wikis-components-files/00-00-00-00-39/6366.edit.png" /&gt;&lt;/p&gt;
&lt;p&gt;PluginDeploymentPath should point to Studio version &amp;quot;16&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All references should point to Studio16 folder:&lt;br /&gt;&lt;strong&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.Extensions.dll&amp;lt;/HintPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="mcetoc_1e9snmaeta"&gt;&lt;strong&gt;A couple of errors which might appear&amp;nbsp;in Visual Studio&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PluginFramework error in editor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If after migration the following error appears and all the references are not loaded:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1134x71/__key/communityserver-wikis-components-files/00-00-00-00-39/NugetError.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on &lt;strong&gt;packages.config&amp;rarr;Migrate packages.config to PackageReference&amp;nbsp;&amp;rarr; Ok&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/516x148/__key/communityserver-wikis-components-files/00-00-00-00-39/migratePackage.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unload the project and edit the .csproj&amp;nbsp;&amp;rarr; Remove the following code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1442x561/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveFromCsProj.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reload the project and build the solution, all the references should be recognised and the plugin should compile without any errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.NetFramework is higher than the current targeted framework&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1093x324/__key/communityserver-wikis-components-files/00-00-00-00-39/CurrentTargetFrError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unload the project and edit the .csproj&amp;nbsp; -&amp;gt;Search for &amp;quot;TargetFrameworkVersion&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make sure you only have referenced the 4.8 framework version . &lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/427x30/__key/communityserver-wikis-components-files/00-00-00-00-39/TargetFrameworkVersion.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you have another reference like this, or another version which is not 4.8:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/513x117/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveDuplicateTargetFr.png" /&gt;&lt;/p&gt;
&lt;p&gt;Remove that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Plugins Migration Documentation, Studio2021&lt;/div&gt;
</description></item><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021/revision/15</link><pubDate>Fri, 05 Jun 2020 13:59:23 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Paul</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Revision 15 posted to Studio Developers WIKI by Paul on 6/5/2020 1:59:23 PM&lt;br /&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1591365543833v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2 id="mcetoc_1e9snmaet0"&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;.NET Framework 4.8&lt;/li&gt;
&lt;li&gt;Visual Studio extension for Studio 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet1"&gt;How to download .NET Framework&lt;/h2&gt;
&lt;p&gt;The new .Net Framework&amp;nbsp;&amp;nbsp;can be downloaded from the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://dotnet.microsoft.com/download/dotnet-framework/net48"&gt;Microsoft site&lt;/a&gt;. After you install the framework a&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;restart is required&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet2"&gt;How check if the framework was installed correctly&lt;/h3&gt;
&lt;p&gt;After restart, you can check if the version was installed correctly using Powershell.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and open it as Administrator.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x641/__key/communityserver-wikis-components-files/00-00-00-00-39/7343.Powershell.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type following command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;gci &amp;lsquo;HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP&amp;rsquo; -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match &amp;lsquo;^(?!S)\p{L}&amp;rsquo;} | select PSChildName, Version&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Make sure in the displayed list that the 4.8... version is installed.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/829x170/__key/communityserver-wikis-components-files/00-00-00-00-39/6685.comm.png" /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h2 id="mcetoc_1e9snmaet3"&gt;How to migrate your plugins without Visual Studio extension&lt;/h2&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9so5i036"&gt;&amp;nbsp; Plugin manifest changes&lt;/h3&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;Studio 2021 provides a tight integration to the AppStore and will allow users to install/uninstall plugins directly from Studio. Because of this it&amp;#39;s mandatory for the&amp;nbsp;&lt;strong&gt;pluginpackage.manifest.xml &lt;/strong&gt;file to have following data:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Plugin name. &lt;/strong&gt;Please make sure the plugin name is added in the manifest file&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Version. &lt;/strong&gt;Please make sure the version of the plugin does not contain any words in it ( example of correct format: 1.0.0.0) and that it&amp;#39;s higher than&amp;nbsp;2019 plugin version.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MinVersion 16.0. &lt;/strong&gt;Please make sure that the minversion is set to &lt;strong&gt;&amp;quot;16.0&amp;quot; (&lt;/strong&gt;If for example you make a mistake and set the version to &lt;strong&gt;16&lt;/strong&gt;,&lt;strong&gt;&amp;nbsp;then&amp;nbsp;&lt;/strong&gt;in visual studio an error will appear.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1180x889/__key/communityserver-wikis-components-files/00-00-00-00-39/image_2D00_2020_2D00_04_2D00_30_2D00_14_2D00_53_2D00_31_2D00_476.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i037"&gt;Target Framework changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;The Project .Net Framework needs to be changed to 4.8. Right click on the &lt;strong&gt;project -&amp;gt; Properties -&amp;gt; Application-&amp;gt; Target framework&lt;/strong&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/400x200/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1591176314619v1.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i038"&gt;package.config changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Right click on &lt;strong&gt;package.config file -&amp;gt; &amp;quot;Migrate to PackageReference&amp;quot;&lt;/strong&gt;.&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/596x133/__key/communityserver-wikis-components-files/00-00-00-00-39/packageConf.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9sop7tl0"&gt;Sdl.Core.PluginFramework and Sdl.Core.PluginFramework.Build Nuget update&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Update the PluginFramework and PluginFramework.Build&amp;nbsp; Nuget Packages to the latest version.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9sop7tl1"&gt;&amp;nbsp; .csproj&amp;nbsp;update&lt;/h3&gt;
&lt;p style="padding-left:30px;"&gt;&amp;nbsp;A couple of changes need to be implemented in the .csproj. &lt;strong&gt;Right click on the project -&amp;gt; &amp;quot;Unload project&amp;quot;-&amp;gt;&amp;quot;Edit..&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Search for &amp;quot;&lt;strong&gt;PluginDeploymentPath&lt;/strong&gt;&amp;quot; and change the path to point to the&amp;nbsp;&lt;strong&gt;16&lt;/strong&gt; folder:&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:60px;"&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make sure all the&amp;nbsp;&lt;strong&gt;Studio references point to the Studio16 folder:&amp;nbsp; &lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:60px;"&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL&lt;strong&gt; Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.dll&amp;lt;/HintPath&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Reload the project and build the solution. If the following error appears:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img alt=" " src="/resized-image/__size/691x696/__key/communityserver-wikis-components-files/00-00-00-00-39/plfrerror.png" /&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;Make sure SDL.Core.PluginFramework Nuget is installed.&lt;/strong&gt; If it&amp;#39;s not installed then please install it:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img alt=" " src="/resized-image/__size/1301x271/__key/communityserver-wikis-components-files/00-00-00-00-39/install.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:200%;"&gt;&lt;strong&gt;Working with the Visual Studio Extension&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h2 id="mcetoc_1e9snmaet4"&gt;Why do I need the Visual Studio Extension&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It will install the templates needed to&amp;nbsp;create Trados Studio 2021 plugins in&amp;nbsp;Visual Studio.&lt;/li&gt;
&lt;li&gt;It will install an action which&amp;nbsp;will migrate the existing plugin solutions to Studio 2021.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet5"&gt;How to download the Visual Studio Extension for Studio 2021&lt;/h2&gt;
&lt;p&gt;The Visual Studio extension can be&amp;nbsp;installed in&lt;span&gt;&amp;nbsp;&lt;/span&gt;Visual Studio 2017 and 2019.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet6"&gt;Visual Studio 2019&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Extensions-&amp;gt; Manage Extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/888x56/__key/communityserver-wikis-components-files/00-00-00-00-39/2021.extensions.png" /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Manage Extensio&lt;/strong&gt;n window&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Online Tab,&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDL -&amp;gt;&amp;nbsp;&lt;/strong&gt;Install&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v4.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet7"&gt;Visual Studio 2017&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Tools&lt;/strong&gt;-&amp;gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Extensions and Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/713x102/__key/communityserver-wikis-components-files/00-00-00-00-39/5635.tools.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;strong&gt;Extensions and Updates&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;window&amp;nbsp;&lt;strong&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;Online Tab&lt;span&gt;&amp;nbsp;search for&amp;nbsp;&lt;/span&gt;SDL -&amp;gt;&amp;nbsp;&lt;span&gt;Install&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet8"&gt;&lt;strong&gt;How to update a old plugin solution to Studio 2021&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;After the extension was installed, open the solution of the plugin which you want to migrate to Studio 2021. In the Solution explorer a new button should be available:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/709x112/__key/communityserver-wikis-components-files/00-00-00-00-39/8358.arrow.png" /&gt;&lt;/p&gt;
&lt;p&gt;Click on &amp;quot;&lt;strong&gt;Update&lt;/strong&gt;&amp;quot; button. A warning message will appear. Click on &amp;quot;&lt;strong&gt;Reload All&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/699x211/__key/communityserver-wikis-components-files/00-00-00-00-39/4201.reload.png" /&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet9"&gt;&lt;strong&gt;What the Visual Studio extension changes to your solution&lt;/strong&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.&lt;/strong&gt;NET Framwwork of your project should be 4.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Right click on project -&amp;gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/779x207/__key/communityserver-wikis-components-files/00-00-00-00-39/3652.target.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the references from .csproj should point to the Studio16 folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Right click on project-&amp;gt; Unload project-&amp;gt; Edit .csproj&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/561x213/__key/communityserver-wikis-components-files/00-00-00-00-39/6366.edit.png" /&gt;&lt;/p&gt;
&lt;p&gt;PluginDeploymentPath should point to Studio version &amp;quot;16&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All references should point to Studio16 folder:&lt;br /&gt;&lt;strong&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.Extensions.dll&amp;lt;/HintPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="mcetoc_1e9snmaeta"&gt;&lt;strong&gt;A couple of errors which might appear&amp;nbsp;in Visual Studio&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PluginFramework error in editor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If after migration the following error appears and all the references are not loaded:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1134x71/__key/communityserver-wikis-components-files/00-00-00-00-39/NugetError.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on &lt;strong&gt;packages.config&amp;rarr;Migrate packages.config to PackageReference&amp;nbsp;&amp;rarr; Ok&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/516x148/__key/communityserver-wikis-components-files/00-00-00-00-39/migratePackage.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unload the project and edit the .csproj&amp;nbsp;&amp;rarr; Remove the following code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1442x561/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveFromCsProj.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reload the project and build the solution, all the references should be recognised and the plugin should compile without any errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.NetFramework is higher than the current targeted framework&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1093x324/__key/communityserver-wikis-components-files/00-00-00-00-39/CurrentTargetFrError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unload the project and edit the .csproj&amp;nbsp; -&amp;gt;Search for &amp;quot;TargetFrameworkVersion&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make sure you only have referenced the 4.8 framework version . &lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/427x30/__key/communityserver-wikis-components-files/00-00-00-00-39/TargetFrameworkVersion.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you have another reference like this, or another version which is not 4.8:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/513x117/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveDuplicateTargetFr.png" /&gt;&lt;/p&gt;
&lt;p&gt;Remove that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Plugins Migration Documentation, Studio2021&lt;/div&gt;
</description></item><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021/revision/14</link><pubDate>Fri, 05 Jun 2020 13:55:20 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Paul</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Revision 14 posted to Studio Developers WIKI by Paul on 6/5/2020 1:55:20 PM&lt;br /&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1589442770778v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2 id="mcetoc_1e9snmaet0"&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;.NET Framework 4.8&lt;/li&gt;
&lt;li&gt;Visual Studio extension for Studio 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet1"&gt;How to download .NET Framework&lt;/h2&gt;
&lt;p&gt;The new .Net Framework&amp;nbsp;&amp;nbsp;can be downloaded from the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://dotnet.microsoft.com/download/dotnet-framework/net48"&gt;Microsoft site&lt;/a&gt;. After you install the framework a&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;restart is required&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet2"&gt;How check if the framework was installed correctly&lt;/h3&gt;
&lt;p&gt;After restart, you can check if the version was installed correctly using Powershell.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and open it as Administrator.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x641/__key/communityserver-wikis-components-files/00-00-00-00-39/7343.Powershell.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type following command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;gci &amp;lsquo;HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP&amp;rsquo; -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match &amp;lsquo;^(?!S)\p{L}&amp;rsquo;} | select PSChildName, Version&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Make sure in the displayed list that the 4.8... version is installed.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/829x170/__key/communityserver-wikis-components-files/00-00-00-00-39/6685.comm.png" /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h2 id="mcetoc_1e9snmaet3"&gt;How to migrate your plugins without Visual Studio extension&lt;/h2&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9so5i036"&gt;&amp;nbsp; Plugin manifest changes&lt;/h3&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;Studio 2021 provides a tight integration to the AppStore and will allow users to install/uninstall plugins directly from Studio. Because of this it&amp;#39;s mandatory for the&amp;nbsp;&lt;strong&gt;pluginpackage.manifest.xml &lt;/strong&gt;file to have following data:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Plugin name. &lt;/strong&gt;Please make sure the plugin name is added in the manifest file&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Version. &lt;/strong&gt;Please make sure the version of the plugin does not contain any words in it ( example of correct format: 1.0.0.0) and that it&amp;#39;s higher than&amp;nbsp;2019 plugin version.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MinVersion 16.0. &lt;/strong&gt;Please make sure that the minversion is set to &lt;strong&gt;&amp;quot;16.0&amp;quot; (&lt;/strong&gt;If for example you make a mistake and set the version to &lt;strong&gt;16&lt;/strong&gt;,&lt;strong&gt;&amp;nbsp;then&amp;nbsp;&lt;/strong&gt;in visual studio an error will appear.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1180x889/__key/communityserver-wikis-components-files/00-00-00-00-39/image_2D00_2020_2D00_04_2D00_30_2D00_14_2D00_53_2D00_31_2D00_476.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i037"&gt;Target Framework changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;The Project .Net Framework needs to be changed to 4.8. Right click on the &lt;strong&gt;project -&amp;gt; Properties -&amp;gt; Application-&amp;gt; Target framework&lt;/strong&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/400x200/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1591176314619v1.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i038"&gt;package.config changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Right click on &lt;strong&gt;package.config file -&amp;gt; &amp;quot;Migrate to PackageReference&amp;quot;&lt;/strong&gt;.&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/596x133/__key/communityserver-wikis-components-files/00-00-00-00-39/packageConf.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9sop7tl0"&gt;Sdl.Core.PluginFramework and Sdl.Core.PluginFramework.Build Nuget update&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Update the PluginFramework and PluginFramework.Build&amp;nbsp; Nuget Packages to the latest version.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9sop7tl1"&gt;&amp;nbsp; .csproj&amp;nbsp;update&lt;/h3&gt;
&lt;p style="padding-left:30px;"&gt;&amp;nbsp;A couple of changes need to be implemented in the .csproj. &lt;strong&gt;Right click on the project -&amp;gt; &amp;quot;Unload project&amp;quot;-&amp;gt;&amp;quot;Edit..&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Search for &amp;quot;&lt;strong&gt;PluginDeploymentPath&lt;/strong&gt;&amp;quot; and change the path to point to the&amp;nbsp;&lt;strong&gt;16&lt;/strong&gt; folder:&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:60px;"&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make sure all the&amp;nbsp;&lt;strong&gt;Studio references point to the Studio16 folder:&amp;nbsp; &lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:60px;"&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL&lt;strong&gt; Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.dll&amp;lt;/HintPath&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Reload the project and build the solution. If the following error appears:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img alt=" " src="/resized-image/__size/691x696/__key/communityserver-wikis-components-files/00-00-00-00-39/plfrerror.png" /&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;Make sure SDL.Core.PluginFramework Nuget is installed.&lt;/strong&gt; If it&amp;#39;s not installed then please install it:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img alt=" " src="/resized-image/__size/1301x271/__key/communityserver-wikis-components-files/00-00-00-00-39/install.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet4"&gt;Why do I need the Visual Studio Extension&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It will install the templates needed to&amp;nbsp;create Trados Studio 2021 plugins in&amp;nbsp;Visual Studio.&lt;/li&gt;
&lt;li&gt;It will install an action which&amp;nbsp;will migrate the existing plugin solutions to Studio 2021.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet5"&gt;How to download the Visual Studio Extension for Studio 2021&lt;/h2&gt;
&lt;p&gt;The Visual Studio extension can be&amp;nbsp;installed in&lt;span&gt;&amp;nbsp;&lt;/span&gt;Visual Studio 2017 and 2019.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet6"&gt;Visual Studio 2019&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Extensions-&amp;gt; Manage Extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/888x56/__key/communityserver-wikis-components-files/00-00-00-00-39/2021.extensions.png" /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Manage Extensio&lt;/strong&gt;n window&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Online Tab,&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDL -&amp;gt;&amp;nbsp;&lt;/strong&gt;Install&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v4.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet7"&gt;Visual Studio 2017&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Tools&lt;/strong&gt;-&amp;gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Extensions and Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/713x102/__key/communityserver-wikis-components-files/00-00-00-00-39/5635.tools.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;strong&gt;Extensions and Updates&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;window&amp;nbsp;&lt;strong&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;Online Tab&lt;span&gt;&amp;nbsp;search for&amp;nbsp;&lt;/span&gt;SDL -&amp;gt;&amp;nbsp;&lt;span&gt;Install&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet8"&gt;&lt;strong&gt;How to update a old plugin solution to Studio 2021&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;After the extension was installed, open the solution of the plugin which you want to migrate to Studio 2021. In the Solution explorer a new button should be available:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/709x112/__key/communityserver-wikis-components-files/00-00-00-00-39/8358.arrow.png" /&gt;&lt;/p&gt;
&lt;p&gt;Click on &amp;quot;&lt;strong&gt;Update&lt;/strong&gt;&amp;quot; button. A warning message will appear. Click on &amp;quot;&lt;strong&gt;Reload All&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/699x211/__key/communityserver-wikis-components-files/00-00-00-00-39/4201.reload.png" /&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet9"&gt;&lt;strong&gt;What the Visual Studio extension changes to your solution&lt;/strong&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.&lt;/strong&gt;NET Framwwork of your project should be 4.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Right click on project -&amp;gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/779x207/__key/communityserver-wikis-components-files/00-00-00-00-39/3652.target.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the references from .csproj should point to the Studio16 folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Right click on project-&amp;gt; Unload project-&amp;gt; Edit .csproj&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/561x213/__key/communityserver-wikis-components-files/00-00-00-00-39/6366.edit.png" /&gt;&lt;/p&gt;
&lt;p&gt;PluginDeploymentPath should point to Studio version &amp;quot;16&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All references should point to Studio16 folder:&lt;br /&gt;&lt;strong&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.Extensions.dll&amp;lt;/HintPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="mcetoc_1e9snmaeta"&gt;&lt;strong&gt;A couple of errors which might appear&amp;nbsp;in Visual Studio&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PluginFramework error in editor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If after migration the following error appears and all the references are not loaded:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1134x71/__key/communityserver-wikis-components-files/00-00-00-00-39/NugetError.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on &lt;strong&gt;packages.config&amp;rarr;Migrate packages.config to PackageReference&amp;nbsp;&amp;rarr; Ok&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/516x148/__key/communityserver-wikis-components-files/00-00-00-00-39/migratePackage.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unload the project and edit the .csproj&amp;nbsp;&amp;rarr; Remove the following code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1442x561/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveFromCsProj.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reload the project and build the solution, all the references should be recognised and the plugin should compile without any errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.NetFramework is higher than the current targeted framework&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1093x324/__key/communityserver-wikis-components-files/00-00-00-00-39/CurrentTargetFrError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unload the project and edit the .csproj&amp;nbsp; -&amp;gt;Search for &amp;quot;TargetFrameworkVersion&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make sure you only have referenced the 4.8 framework version . &lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/427x30/__key/communityserver-wikis-components-files/00-00-00-00-39/TargetFrameworkVersion.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you have another reference like this, or another version which is not 4.8:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/513x117/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveDuplicateTargetFr.png" /&gt;&lt;/p&gt;
&lt;p&gt;Remove that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Plugins Migration Documentation, Studio2021&lt;/div&gt;
</description></item><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021/revision/13</link><pubDate>Wed, 03 Jun 2020 09:53:33 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Andrea-Melinda Ghisa</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Revision 13 posted to Studio Developers WIKI by Andrea-Melinda Ghisa on 6/3/2020 9:53:33 AM&lt;br /&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1589442770778v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2 id="mcetoc_1e9snmaet0"&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;.NET Framework 4.8&lt;/li&gt;
&lt;li&gt;Visual Studio extension for Studio 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet1"&gt;How to download .NET Framework&lt;/h2&gt;
&lt;p&gt;The new .Net Framework&amp;nbsp;&amp;nbsp;can be downloaded from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://dotnet.microsoft.com/download/dotnet-framework/net48"&gt;Microsoft site&lt;/a&gt;. After you install the framework an&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;restart is required&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet2"&gt;How check if the framework was installed correctly&lt;/h3&gt;
&lt;p&gt;After restart using PowerShell you can check if the version was installed correctly.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and open it as Administrator.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x641/__key/communityserver-wikis-components-files/00-00-00-00-39/7343.Powershell.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type following command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;gci &amp;lsquo;HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP&amp;rsquo; -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match &amp;lsquo;^(?!S)\p{L}&amp;rsquo;} | select PSChildName, Version&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Make sure in the displayed list 4.8... version is installed.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/829x170/__key/communityserver-wikis-components-files/00-00-00-00-39/6685.comm.png" /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h2 id="mcetoc_1e9snmaet3"&gt;How to migrate&amp;nbsp; plugin without Visual Studio extension&lt;/h2&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9so5i036"&gt;&amp;nbsp; Plugin manifest changes&lt;/h3&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;Studio 2021 is&amp;nbsp; with the AppStore and will allow users to install/uninstall plugins directly from Studio, because of this &lt;strong&gt;pluginpackage.manifest.xml file needs to have following required data:&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Plugin name. &lt;/strong&gt;Please make sure the plugin name is added in the manifest file&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Version. &lt;/strong&gt;Please make sure the version of the plugin does not contain any words in it ( example of correct format: 1.0.0.0) &lt;strong&gt;and is highier than&amp;nbsp;2019 plugin version&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MinVersion 16.0. &lt;/strong&gt;Please make sure the minversion is set to &lt;strong&gt;&amp;quot;16.0&amp;quot; (&lt;/strong&gt;If by mistake the version is set to &lt;strong&gt;16, &lt;/strong&gt;in visual studio will appear an error.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1180x889/__key/communityserver-wikis-components-files/00-00-00-00-39/image_2D00_2020_2D00_04_2D00_30_2D00_14_2D00_53_2D00_31_2D00_476.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i037"&gt;Target Framework changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Project .Net Framework needs to be changed to 4.8. Right click on the project -&amp;gt; Properties -&amp;gt; Application-&amp;gt; Target framework&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/400x200/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1591176314619v1.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i038"&gt;package.config changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Right click on package.config file -&amp;gt; &amp;quot;Migrate to PackageReference&amp;quot;.&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/596x133/__key/communityserver-wikis-components-files/00-00-00-00-39/packageConf.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9sop7tl0"&gt;Sdl.Core.PluginFramework and Sdl.Core.PluginFramework.Build Nuget update&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Update the PluginFramework and PluginFramework.Build&amp;nbsp; Nuget Packages to latest version.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9sop7tl1"&gt;&amp;nbsp; .csproj&amp;nbsp;update&lt;/h3&gt;
&lt;p style="padding-left:30px;"&gt;&amp;nbsp;Couple of changes needs to be done on the .csproj. &lt;strong&gt;Right click on the project -&amp;gt; &amp;quot;Unload project&amp;quot;-&amp;gt;&amp;quot;Edit..&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Search for &amp;quot;&lt;strong&gt;PluginDeploymentPath&lt;/strong&gt;&amp;quot; and change the path to point to &lt;strong&gt;16&lt;/strong&gt; folder:&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:60px;"&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make sure all &lt;strong&gt;Studio references point to Studio16 folder:&amp;nbsp; &lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:60px;"&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL&lt;strong&gt; Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.dll&amp;lt;/HintPath&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Reload the project and build the solution if the following error appears:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img alt=" " src="/resized-image/__size/691x696/__key/communityserver-wikis-components-files/00-00-00-00-39/plfrerror.png" /&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;Make sure SDL.Core.PluginFramework Nuget is installed.&lt;/strong&gt; If is not installed please install it:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img alt=" " src="/resized-image/__size/1301x271/__key/communityserver-wikis-components-files/00-00-00-00-39/install.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet4"&gt;Why do I need Visual Studio Extensions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It will install in Visual Studio the templates needed to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;create Trados Studio 2021 plugins&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;It will install a action which&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;will migrate the existing plugin solution to Studio 2021&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet5"&gt;How to download&amp;nbsp;Visual Studio Extension for Studio 2021&lt;/h2&gt;
&lt;p&gt;Visual Studio extension can be&amp;nbsp;installed in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Visual Studio 2017 and 2019&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet6"&gt;Visual Studio 2019&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Extensions-&amp;gt; Manage Extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/888x56/__key/communityserver-wikis-components-files/00-00-00-00-39/2021.extensions.png" /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Manage Extensio&lt;/strong&gt;n window&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Online Tab&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDL -&amp;gt;&amp;nbsp;&lt;/strong&gt;Install&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v4.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet7"&gt;Visual Studio 2017&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Tools&lt;/strong&gt;-&amp;gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Extensions and Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/713x102/__key/communityserver-wikis-components-files/00-00-00-00-39/5635.tools.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;strong&gt;Extensions and Updates&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;window&amp;nbsp;&lt;strong&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;Online Tab&lt;span&gt;&amp;nbsp;search for&amp;nbsp;&lt;/span&gt;SDL -&amp;gt;&amp;nbsp;&lt;span&gt;Install&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet8"&gt;&lt;strong&gt;How to update a old plugin solution to Studio 2021&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;After the extension was installed open the solution of the plugin which you want to migrate to Studio 2021. In the Solution explorer a new button should be available:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/709x112/__key/communityserver-wikis-components-files/00-00-00-00-39/8358.arrow.png" /&gt;&lt;/p&gt;
&lt;p&gt;Click on &amp;quot;&lt;strong&gt;Update&lt;/strong&gt;&amp;quot; button. A warning message will appear click on &amp;quot;&lt;strong&gt;Reload All&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/699x211/__key/communityserver-wikis-components-files/00-00-00-00-39/4201.reload.png" /&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet9"&gt;&lt;strong&gt;What the Visual Studio exension changed to your solution&lt;/strong&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.&lt;/strong&gt;NET Framwwork of your project should be 4.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Right click on project -&amp;gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/779x207/__key/communityserver-wikis-components-files/00-00-00-00-39/3652.target.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the references from .csproj should point to Studio16 folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Right click on project-&amp;gt; Unload project-&amp;gt; Edit .csproj&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/561x213/__key/communityserver-wikis-components-files/00-00-00-00-39/6366.edit.png" /&gt;&lt;/p&gt;
&lt;p&gt;PluginDeploymentPath should point to Studio version &amp;quot;16&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All references should point to Studio16 folder:&lt;br /&gt;&lt;strong&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.Extensions.dll&amp;lt;/HintPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="mcetoc_1e9snmaeta"&gt;&lt;strong&gt;Couple of errors which might appear&amp;nbsp;in Visual Studio&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PluginFramework error in editor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If after migration following error appears and all the references are not loaded:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1134x71/__key/communityserver-wikis-components-files/00-00-00-00-39/NugetError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on &lt;strong&gt;packages.config&amp;rarr;Migrate packages.config to PackageReference&amp;nbsp;&amp;rarr; Ok&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/516x148/__key/communityserver-wikis-components-files/00-00-00-00-39/migratePackage.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unload the project and edit the .csproj&amp;nbsp;&amp;rarr; Remove following code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1442x561/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveFromCsProj.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reload the project and build the solution, all the references should be recognized and the plugin will compile without any errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.NetFramework is higher than the current targeted framework&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1093x324/__key/communityserver-wikis-components-files/00-00-00-00-39/CurrentTargetFrError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unload the project and edit the .csproj&amp;nbsp; -&amp;gt;Search for &amp;quot;TargetFrameworkVersion&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make sure you only have referenced the 4.8 framework version . &lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/427x30/__key/communityserver-wikis-components-files/00-00-00-00-39/TargetFrameworkVersion.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you have another reference like this, or another version which is not 4.8:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/513x117/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveDuplicateTargetFr.png" /&gt;&lt;/p&gt;
&lt;p&gt;Remove that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Plugins Migration Documentation, Studio2021&lt;/div&gt;
</description></item><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021/revision/12</link><pubDate>Wed, 03 Jun 2020 09:49:56 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Andrea-Melinda Ghisa</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Revision 12 posted to Studio Developers WIKI by Andrea-Melinda Ghisa on 6/3/2020 9:49:56 AM&lt;br /&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1589442770778v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2 id="mcetoc_1e9snmaet0"&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;.NET Framework 4.8&lt;/li&gt;
&lt;li&gt;Visual Studio extension for Studio 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet1"&gt;How to download .NET Framework&lt;/h2&gt;
&lt;p&gt;The new .Net Framework&amp;nbsp;&amp;nbsp;can be downloaded from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://dotnet.microsoft.com/download/dotnet-framework/net48"&gt;Microsoft site&lt;/a&gt;. After you install the framework an&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;restart is required&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet2"&gt;How check if the framework was installed correctly&lt;/h3&gt;
&lt;p&gt;After restart using PowerShell you can check if the version was installed correctly.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and open it as Administrator.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x641/__key/communityserver-wikis-components-files/00-00-00-00-39/7343.Powershell.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type following command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;gci &amp;lsquo;HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP&amp;rsquo; -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match &amp;lsquo;^(?!S)\p{L}&amp;rsquo;} | select PSChildName, Version&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Make sure in the displayed list 4.8... version is installed.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/829x170/__key/communityserver-wikis-components-files/00-00-00-00-39/6685.comm.png" /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h2 id="mcetoc_1e9snmaet3"&gt;How to migrate&amp;nbsp; plugin without Visual Studio extension&lt;/h2&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9so5i036"&gt;&amp;nbsp; Plugin manifest changes&lt;/h3&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;Studio 2021 is&amp;nbsp; with the AppStore and will allow users to install/uninstall plugins directly from Studio, because of this &lt;strong&gt;pluginpackage.manifest.xml file needs to have following required data:&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Plugin name. &lt;/strong&gt;Please make sure the plugin name is added in the manifest file&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Version. &lt;/strong&gt;Please make sure the version of the plugin does not contain any words in it ( example of correct format: 1.0.0.0)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MinVersion 16.0. &lt;/strong&gt;Please make sure the minversion is set to &lt;strong&gt;&amp;quot;16.0&amp;quot; (&lt;/strong&gt;If by mistake the version is set to &lt;strong&gt;16, &lt;/strong&gt;in visual studio will appear an error.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1180x889/__key/communityserver-wikis-components-files/00-00-00-00-39/image_2D00_2020_2D00_04_2D00_30_2D00_14_2D00_53_2D00_31_2D00_476.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i037"&gt;Target Framework changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Project .Net Framework needs to be changed to 4.8. Right click on the project -&amp;gt; Properties -&amp;gt; Application-&amp;gt; Target framework&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/400x200/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1591176314619v1.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i038"&gt;package.config changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Right click on package.config file -&amp;gt; &amp;quot;Migrate to PackageReference&amp;quot;.&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/596x133/__key/communityserver-wikis-components-files/00-00-00-00-39/packageConf.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9sop7tl0"&gt;Sdl.Core.PluginFramework and Sdl.Core.PluginFramework.Build Nuget update&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Update the PluginFramework and PluginFramework.Build&amp;nbsp; Nuget Packages to latest version.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9sop7tl1"&gt;&amp;nbsp; .csproj&amp;nbsp;update&lt;/h3&gt;
&lt;p style="padding-left:30px;"&gt;&amp;nbsp;Couple of changes needs to be done on the .csproj. &lt;strong&gt;Right click on the project -&amp;gt; &amp;quot;Unload project&amp;quot;-&amp;gt;&amp;quot;Edit..&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Search for &amp;quot;&lt;strong&gt;PluginDeploymentPath&lt;/strong&gt;&amp;quot; and change the path to point to &lt;strong&gt;16&lt;/strong&gt; folder:&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:60px;"&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make sure all &lt;strong&gt;Studio references point to Studio16 folder:&amp;nbsp; &lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:60px;"&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL&lt;strong&gt; Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.dll&amp;lt;/HintPath&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Reload the project and build the solution if the following error appears:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img alt=" " src="/resized-image/__size/691x696/__key/communityserver-wikis-components-files/00-00-00-00-39/plfrerror.png" /&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;Make sure SDL.Core.PluginFramework Nuget is installed.&lt;/strong&gt; If is not installed please install it:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;img alt=" " src="/resized-image/__size/1301x271/__key/communityserver-wikis-components-files/00-00-00-00-39/install.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet4"&gt;Why do I need Visual Studio Extensions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It will install in Visual Studio the templates needed to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;create Trados Studio 2021 plugins&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;It will install a action which&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;will migrate the existing plugin solution to Studio 2021&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet5"&gt;How to download&amp;nbsp;Visual Studio Extension for Studio 2021&lt;/h2&gt;
&lt;p&gt;Visual Studio extension can be&amp;nbsp;installed in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Visual Studio 2017 and 2019&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet6"&gt;Visual Studio 2019&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Extensions-&amp;gt; Manage Extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/888x56/__key/communityserver-wikis-components-files/00-00-00-00-39/2021.extensions.png" /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Manage Extensio&lt;/strong&gt;n window&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Online Tab&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDL -&amp;gt;&amp;nbsp;&lt;/strong&gt;Install&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v4.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet7"&gt;Visual Studio 2017&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Tools&lt;/strong&gt;-&amp;gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Extensions and Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/713x102/__key/communityserver-wikis-components-files/00-00-00-00-39/5635.tools.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;strong&gt;Extensions and Updates&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;window&amp;nbsp;&lt;strong&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;Online Tab&lt;span&gt;&amp;nbsp;search for&amp;nbsp;&lt;/span&gt;SDL -&amp;gt;&amp;nbsp;&lt;span&gt;Install&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet8"&gt;&lt;strong&gt;How to update a old plugin solution to Studio 2021&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;After the extension was installed open the solution of the plugin which you want to migrate to Studio 2021. In the Solution explorer a new button should be available:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/709x112/__key/communityserver-wikis-components-files/00-00-00-00-39/8358.arrow.png" /&gt;&lt;/p&gt;
&lt;p&gt;Click on &amp;quot;&lt;strong&gt;Update&lt;/strong&gt;&amp;quot; button. A warning message will appear click on &amp;quot;&lt;strong&gt;Reload All&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/699x211/__key/communityserver-wikis-components-files/00-00-00-00-39/4201.reload.png" /&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet9"&gt;&lt;strong&gt;What the Visual Studio exension changed to your solution&lt;/strong&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.&lt;/strong&gt;NET Framwwork of your project should be 4.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Right click on project -&amp;gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/779x207/__key/communityserver-wikis-components-files/00-00-00-00-39/3652.target.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the references from .csproj should point to Studio16 folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Right click on project-&amp;gt; Unload project-&amp;gt; Edit .csproj&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/561x213/__key/communityserver-wikis-components-files/00-00-00-00-39/6366.edit.png" /&gt;&lt;/p&gt;
&lt;p&gt;PluginDeploymentPath should point to Studio version &amp;quot;16&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All references should point to Studio16 folder:&lt;br /&gt;&lt;strong&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.Extensions.dll&amp;lt;/HintPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="mcetoc_1e9snmaeta"&gt;&lt;strong&gt;Couple of errors which might appear&amp;nbsp;in Visual Studio&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PluginFramework error in editor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If after migration following error appears and all the references are not loaded:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1134x71/__key/communityserver-wikis-components-files/00-00-00-00-39/NugetError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on &lt;strong&gt;packages.config&amp;rarr;Migrate packages.config to PackageReference&amp;nbsp;&amp;rarr; Ok&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/516x148/__key/communityserver-wikis-components-files/00-00-00-00-39/migratePackage.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unload the project and edit the .csproj&amp;nbsp;&amp;rarr; Remove following code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1442x561/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveFromCsProj.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reload the project and build the solution, all the references should be recognized and the plugin will compile without any errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.NetFramework is higher than the current targeted framework&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1093x324/__key/communityserver-wikis-components-files/00-00-00-00-39/CurrentTargetFrError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unload the project and edit the .csproj&amp;nbsp; -&amp;gt;Search for &amp;quot;TargetFrameworkVersion&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make sure you only have referenced the 4.8 framework version . &lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/427x30/__key/communityserver-wikis-components-files/00-00-00-00-39/TargetFrameworkVersion.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you have another reference like this, or another version which is not 4.8:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/513x117/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveDuplicateTargetFr.png" /&gt;&lt;/p&gt;
&lt;p&gt;Remove that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Plugins Migration Documentation, Studio2021&lt;/div&gt;
</description></item><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021/revision/11</link><pubDate>Wed, 03 Jun 2020 09:42:18 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Andrea-Melinda Ghisa</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Revision 11 posted to Studio Developers WIKI by Andrea-Melinda Ghisa on 6/3/2020 9:42:18 AM&lt;br /&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1589442770778v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2 id="mcetoc_1e9snmaet0"&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;.NET Framework 4.8&lt;/li&gt;
&lt;li&gt;Visual Studio extension for Studio 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet1"&gt;How to download .NET Framework&lt;/h2&gt;
&lt;p&gt;The new .Net Framework&amp;nbsp;&amp;nbsp;can be downloaded from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://dotnet.microsoft.com/download/dotnet-framework/net48"&gt;Microsoft site&lt;/a&gt;. After you install the framework an&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;restart is required&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet2"&gt;How check if the framework was installed correctly&lt;/h3&gt;
&lt;p&gt;After restart using PowerShell you can check if the version was installed correctly.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and open it as Administrator.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x641/__key/communityserver-wikis-components-files/00-00-00-00-39/7343.Powershell.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type following command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;gci &amp;lsquo;HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP&amp;rsquo; -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match &amp;lsquo;^(?!S)\p{L}&amp;rsquo;} | select PSChildName, Version&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Make sure in the displayed list 4.8... version is installed.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/829x170/__key/communityserver-wikis-components-files/00-00-00-00-39/6685.comm.png" /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h2 id="mcetoc_1e9snmaet3"&gt;How to migrate&amp;nbsp; plugin without Visual Studio extension&lt;/h2&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9so5i036"&gt;&amp;nbsp; Plugin manifest changes&lt;/h3&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;Studio 2021 is&amp;nbsp; with the AppStore and will allow users to install/uninstall plugins directly from Studio, because of this &lt;strong&gt;pluginpackage.manifest.xml file needs to have following required data:&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Plugin name. &lt;/strong&gt;Please make sure the plugin name is added in the manifest file&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Version. &lt;/strong&gt;Please make sure the version of the plugin does not contain any words in it ( example of correct format: 1.0.0.0)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MinVersion 16.0. &lt;/strong&gt;Please make sure the minversion is set to &lt;strong&gt;&amp;quot;16.0&amp;quot; (&lt;/strong&gt;If by mistake the version is set to &lt;strong&gt;16, &lt;/strong&gt;in visual studio will appear an error.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1180x889/__key/communityserver-wikis-components-files/00-00-00-00-39/image_2D00_2020_2D00_04_2D00_30_2D00_14_2D00_53_2D00_31_2D00_476.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i037"&gt;Target Framework changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Project .Net Framework needs to be changed to 4.8. Right click on the project -&amp;gt; Properties -&amp;gt; Application-&amp;gt; Target framework&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/400x200/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1591176314619v1.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i038"&gt;package.config changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Right click on package.config file -&amp;gt; &amp;quot;Migrate to PackageReference&amp;quot;.&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/596x133/__key/communityserver-wikis-components-files/00-00-00-00-39/packageConf.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9sop7tl0"&gt;Sdl.Core.PluginFramework.Build update&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Update the PluginFramework Nuget Package to latest version.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9sop7tl1"&gt;&amp;nbsp; .csproj&amp;nbsp;update&lt;/h3&gt;
&lt;p style="padding-left:30px;"&gt;&amp;nbsp;Couple of changes needs to be done on the .csproj. &lt;strong&gt;Right click on the project -&amp;gt; &amp;quot;Unload project&amp;quot;-&amp;gt;&amp;quot;Edit..&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Search for &amp;quot;&lt;strong&gt;PluginDeploymentPath&lt;/strong&gt;&amp;quot; and change the path to point to &lt;strong&gt;16&lt;/strong&gt; folder:&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:60px;"&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make sure all &lt;strong&gt;Studio references point to Studio16 folder:&amp;nbsp; &lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:60px;"&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL&lt;strong&gt; Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.dll&amp;lt;/HintPath&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet4"&gt;Why do I need Visual Studio Extensions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It will install in Visual Studio the templates needed to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;create Trados Studio 2021 plugins&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;It will install a action which&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;will migrate the existing plugin solution to Studio 2021&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet5"&gt;How to download&amp;nbsp;Visual Studio Extension for Studio 2021&lt;/h2&gt;
&lt;p&gt;Visual Studio extension can be&amp;nbsp;installed in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Visual Studio 2017 and 2019&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet6"&gt;Visual Studio 2019&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Extensions-&amp;gt; Manage Extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/888x56/__key/communityserver-wikis-components-files/00-00-00-00-39/2021.extensions.png" /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Manage Extensio&lt;/strong&gt;n window&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Online Tab&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDL -&amp;gt;&amp;nbsp;&lt;/strong&gt;Install&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v4.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet7"&gt;Visual Studio 2017&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Tools&lt;/strong&gt;-&amp;gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Extensions and Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/713x102/__key/communityserver-wikis-components-files/00-00-00-00-39/5635.tools.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;strong&gt;Extensions and Updates&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;window&amp;nbsp;&lt;strong&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;Online Tab&lt;span&gt;&amp;nbsp;search for&amp;nbsp;&lt;/span&gt;SDL -&amp;gt;&amp;nbsp;&lt;span&gt;Install&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet8"&gt;&lt;strong&gt;How to update a old plugin solution to Studio 2021&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;After the extension was installed open the solution of the plugin which you want to migrate to Studio 2021. In the Solution explorer a new button should be available:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/709x112/__key/communityserver-wikis-components-files/00-00-00-00-39/8358.arrow.png" /&gt;&lt;/p&gt;
&lt;p&gt;Click on &amp;quot;&lt;strong&gt;Update&lt;/strong&gt;&amp;quot; button. A warning message will appear click on &amp;quot;&lt;strong&gt;Reload All&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/699x211/__key/communityserver-wikis-components-files/00-00-00-00-39/4201.reload.png" /&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet9"&gt;&lt;strong&gt;What the Visual Studio exension changed to your solution&lt;/strong&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.&lt;/strong&gt;NET Framwwork of your project should be 4.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Right click on project -&amp;gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/779x207/__key/communityserver-wikis-components-files/00-00-00-00-39/3652.target.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the references from .csproj should point to Studio16 folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Right click on project-&amp;gt; Unload project-&amp;gt; Edit .csproj&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/561x213/__key/communityserver-wikis-components-files/00-00-00-00-39/6366.edit.png" /&gt;&lt;/p&gt;
&lt;p&gt;PluginDeploymentPath should point to Studio version &amp;quot;16&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All references should point to Studio16 folder:&lt;br /&gt;&lt;strong&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.Extensions.dll&amp;lt;/HintPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="mcetoc_1e9snmaeta"&gt;&lt;strong&gt;Couple of errors which might appear&amp;nbsp;in Visual Studio&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PluginFramework error in editor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If after migration following error appears and all the references are not loaded:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1134x71/__key/communityserver-wikis-components-files/00-00-00-00-39/NugetError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on &lt;strong&gt;packages.config&amp;rarr;Migrate packages.config to PackageReference&amp;nbsp;&amp;rarr; Ok&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/516x148/__key/communityserver-wikis-components-files/00-00-00-00-39/migratePackage.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unload the project and edit the .csproj&amp;nbsp;&amp;rarr; Remove following code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1442x561/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveFromCsProj.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reload the project and build the solution, all the references should be recognized and the plugin will compile without any errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.NetFramework is higher than the current targeted framework&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1093x324/__key/communityserver-wikis-components-files/00-00-00-00-39/CurrentTargetFrError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unload the project and edit the .csproj&amp;nbsp; -&amp;gt;Search for &amp;quot;TargetFrameworkVersion&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make sure you only have referenced the 4.8 framework version . &lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/427x30/__key/communityserver-wikis-components-files/00-00-00-00-39/TargetFrameworkVersion.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you have another reference like this, or another version which is not 4.8:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/513x117/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveDuplicateTargetFr.png" /&gt;&lt;/p&gt;
&lt;p&gt;Remove that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Plugins Migration Documentation, Studio2021&lt;/div&gt;
</description></item><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021/revision/10</link><pubDate>Wed, 03 Jun 2020 09:29:01 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Andrea-Melinda Ghisa</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Revision 10 posted to Studio Developers WIKI by Andrea-Melinda Ghisa on 6/3/2020 9:29:01 AM&lt;br /&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1589442770778v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2 id="mcetoc_1e9snmaet0"&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;.NET Framework 4.8&lt;/li&gt;
&lt;li&gt;Visual Studio extension for Studio 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet1"&gt;How to download .NET Framework&lt;/h2&gt;
&lt;p&gt;The new .Net Framework&amp;nbsp;&amp;nbsp;can be downloaded from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://dotnet.microsoft.com/download/dotnet-framework/net48"&gt;Microsoft site&lt;/a&gt;. After you install the framework an&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;restart is required&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet2"&gt;How check if the framework was installed correctly&lt;/h3&gt;
&lt;p&gt;After restart using PowerShell you can check if the version was installed correctly.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and open it as Administrator.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x641/__key/communityserver-wikis-components-files/00-00-00-00-39/7343.Powershell.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type following command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;gci &amp;lsquo;HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP&amp;rsquo; -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match &amp;lsquo;^(?!S)\p{L}&amp;rsquo;} | select PSChildName, Version&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Make sure in the displayed list 4.8... version is installed.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/829x170/__key/communityserver-wikis-components-files/00-00-00-00-39/6685.comm.png" /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h2 id="mcetoc_1e9snmaet3"&gt;How to migrate&amp;nbsp; plugin without Visual Studio extension&lt;/h2&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="padding-left:30px;" id="mcetoc_1e9so5i036"&gt;&amp;nbsp; Plugin manifest changes&lt;/h3&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;Studio 2021 is&amp;nbsp; with the AppStore and will allow users to install/uninstall plugins directly from Studio, because of this &lt;strong&gt;pluginpackage.manifest.xml file needs to have following required data:&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Plugin name. &lt;/strong&gt;Please make sure the plugin name is added in the manifest file&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Version. &lt;/strong&gt;Please make sure the version of the plugin does not contain any words in it ( example of correct format: 1.0.0.0)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MinVersion 16.0. &lt;/strong&gt;Please make sure the minversion is set to &lt;strong&gt;&amp;quot;16.0&amp;quot; (&lt;/strong&gt;If by mistake the version is set to &lt;strong&gt;16, &lt;/strong&gt;in visual studio will appear an error.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1180x889/__key/communityserver-wikis-components-files/00-00-00-00-39/image_2D00_2020_2D00_04_2D00_30_2D00_14_2D00_53_2D00_31_2D00_476.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i037"&gt;Target Framework changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Project .Net Framework needs to be changed to 4.8. Right click on the project -&amp;gt; Properties -&amp;gt; Application-&amp;gt; Target framework&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/400x200/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1591176314619v1.png" /&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h3 id="mcetoc_1e9so5i038"&gt;package.config changes&lt;/h3&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Right click on package.config file -&amp;gt; &amp;quot;Migrate to PackageReference&amp;quot;.&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;&lt;img alt=" " src="/resized-image/__size/596x133/__key/communityserver-wikis-components-files/00-00-00-00-39/packageConf.png" /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet4"&gt;Why do I need Visual Studio Extensions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It will install in Visual Studio the templates needed to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;create Trados Studio 2021 plugins&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;It will install a action which&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;will migrate the existing plugin solution to Studio 2021&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet5"&gt;How to download&amp;nbsp;Visual Studio Extension for Studio 2021&lt;/h2&gt;
&lt;p&gt;Visual Studio extension can be&amp;nbsp;installed in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Visual Studio 2017 and 2019&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet6"&gt;Visual Studio 2019&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Extensions-&amp;gt; Manage Extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/888x56/__key/communityserver-wikis-components-files/00-00-00-00-39/2021.extensions.png" /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Manage Extensio&lt;/strong&gt;n window&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Online Tab&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDL -&amp;gt;&amp;nbsp;&lt;/strong&gt;Install&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v4.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet7"&gt;Visual Studio 2017&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Tools&lt;/strong&gt;-&amp;gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Extensions and Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/713x102/__key/communityserver-wikis-components-files/00-00-00-00-39/5635.tools.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;strong&gt;Extensions and Updates&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;window&amp;nbsp;&lt;strong&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;Online Tab&lt;span&gt;&amp;nbsp;search for&amp;nbsp;&lt;/span&gt;SDL -&amp;gt;&amp;nbsp;&lt;span&gt;Install&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet8"&gt;&lt;strong&gt;How to update a old plugin solution to Studio 2021&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;After the extension was installed open the solution of the plugin which you want to migrate to Studio 2021. In the Solution explorer a new button should be available:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/709x112/__key/communityserver-wikis-components-files/00-00-00-00-39/8358.arrow.png" /&gt;&lt;/p&gt;
&lt;p&gt;Click on &amp;quot;&lt;strong&gt;Update&lt;/strong&gt;&amp;quot; button. A warning message will appear click on &amp;quot;&lt;strong&gt;Reload All&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/699x211/__key/communityserver-wikis-components-files/00-00-00-00-39/4201.reload.png" /&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet9"&gt;&lt;strong&gt;What the Visual Studio exension changed to your solution&lt;/strong&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.&lt;/strong&gt;NET Framwwork of your project should be 4.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Right click on project -&amp;gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/779x207/__key/communityserver-wikis-components-files/00-00-00-00-39/3652.target.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the references from .csproj should point to Studio16 folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Right click on project-&amp;gt; Unload project-&amp;gt; Edit .csproj&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/561x213/__key/communityserver-wikis-components-files/00-00-00-00-39/6366.edit.png" /&gt;&lt;/p&gt;
&lt;p&gt;PluginDeploymentPath should point to Studio version &amp;quot;16&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All references should point to Studio16 folder:&lt;br /&gt;&lt;strong&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.Extensions.dll&amp;lt;/HintPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="mcetoc_1e9snmaeta"&gt;&lt;strong&gt;Couple of errors which might appear&amp;nbsp;in Visual Studio&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PluginFramework error in editor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If after migration following error appears and all the references are not loaded:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1134x71/__key/communityserver-wikis-components-files/00-00-00-00-39/NugetError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on &lt;strong&gt;packages.config&amp;rarr;Migrate packages.config to PackageReference&amp;nbsp;&amp;rarr; Ok&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/516x148/__key/communityserver-wikis-components-files/00-00-00-00-39/migratePackage.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unload the project and edit the .csproj&amp;nbsp;&amp;rarr; Remove following code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1442x561/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveFromCsProj.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reload the project and build the solution, all the references should be recognized and the plugin will compile without any errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.NetFramework is higher than the current targeted framework&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1093x324/__key/communityserver-wikis-components-files/00-00-00-00-39/CurrentTargetFrError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unload the project and edit the .csproj&amp;nbsp; -&amp;gt;Search for &amp;quot;TargetFrameworkVersion&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make sure you only have referenced the 4.8 framework version . &lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/427x30/__key/communityserver-wikis-components-files/00-00-00-00-39/TargetFrameworkVersion.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you have another reference like this, or another version which is not 4.8:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/513x117/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveDuplicateTargetFr.png" /&gt;&lt;/p&gt;
&lt;p&gt;Remove that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Plugins Migration Documentation, Studio2021&lt;/div&gt;
</description></item><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021/revision/9</link><pubDate>Wed, 03 Jun 2020 09:21:07 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Andrea-Melinda Ghisa</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Revision 9 posted to Studio Developers WIKI by Andrea-Melinda Ghisa on 6/3/2020 9:21:07 AM&lt;br /&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1589442770778v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2 id="mcetoc_1e9snmaet0"&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;.NET Framework 4.8&lt;/li&gt;
&lt;li&gt;Visual Studio extension for Studio 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet1"&gt;How to download .NET Framework&lt;/h2&gt;
&lt;p&gt;The new .Net Framework&amp;nbsp;&amp;nbsp;can be downloaded from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://dotnet.microsoft.com/download/dotnet-framework/net48"&gt;Microsoft site&lt;/a&gt;. After you install the framework an&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;restart is required&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet2"&gt;How check if the framework was installed correctly&lt;/h3&gt;
&lt;p&gt;After restart using PowerShell you can check if the version was installed correctly.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and open it as Administrator.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x641/__key/communityserver-wikis-components-files/00-00-00-00-39/7343.Powershell.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type following command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;gci &amp;lsquo;HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP&amp;rsquo; -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match &amp;lsquo;^(?!S)\p{L}&amp;rsquo;} | select PSChildName, Version&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Make sure in the displayed list 4.8... version is installed.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/829x170/__key/communityserver-wikis-components-files/00-00-00-00-39/6685.comm.png" /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;h2 id="mcetoc_1e9snmaet3"&gt;How to migrate&amp;nbsp; plugin without Visual Studio extension&lt;/h2&gt;
&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;Studio 2021 is&amp;nbsp; with the AppStore and will allow users to install/uninstall plugins directly from Studio, because of this &lt;strong&gt;pluginpackage.manifest.xml file needs to have following required data:&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Plugin name. &lt;/strong&gt;Please make sure the plugin name is added in the manifest file&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Version. &lt;/strong&gt;Please make sure the version of the plugin does not contain any words in it ( example of correct format: 1.0.0.0)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MinVersion 16. &lt;/strong&gt;Please make sure the minversion is set to &lt;strong&gt;&amp;quot;16.0&amp;quot; (&lt;/strong&gt;If by mistake the version is set to &lt;strong&gt;16, &lt;/strong&gt;in visual studio will appear an error.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1180x889/__key/communityserver-wikis-components-files/00-00-00-00-39/image_2D00_2020_2D00_04_2D00_30_2D00_14_2D00_53_2D00_31_2D00_476.png" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;&amp;nbsp;&lt;/li&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet4"&gt;Why do I need Visual Studio Extensions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It will install in Visual Studio the templates needed to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;create Trados Studio 2021 plugins&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;It will install a action which&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;will migrate the existing plugin solution to Studio 2021&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mcetoc_1e9snmaet5"&gt;How to download&amp;nbsp;Visual Studio Extension for Studio 2021&lt;/h2&gt;
&lt;p&gt;Visual Studio extension can be&amp;nbsp;installed in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Visual Studio 2017 and 2019&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet6"&gt;Visual Studio 2019&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Extensions-&amp;gt; Manage Extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/888x56/__key/communityserver-wikis-components-files/00-00-00-00-39/2021.extensions.png" /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Manage Extensio&lt;/strong&gt;n window&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Online Tab&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDL -&amp;gt;&amp;nbsp;&lt;/strong&gt;Install&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v4.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3 id="mcetoc_1e9snmaet7"&gt;Visual Studio 2017&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Tools&lt;/strong&gt;-&amp;gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Extensions and Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/713x102/__key/communityserver-wikis-components-files/00-00-00-00-39/5635.tools.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;strong&gt;Extensions and Updates&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;window&amp;nbsp;&lt;strong&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;Online Tab&lt;span&gt;&amp;nbsp;search for&amp;nbsp;&lt;/span&gt;SDL -&amp;gt;&amp;nbsp;&lt;span&gt;Install&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet8"&gt;&lt;strong&gt;How to update a old plugin solution to Studio 2021&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;After the extension was installed open the solution of the plugin which you want to migrate to Studio 2021. In the Solution explorer a new button should be available:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/709x112/__key/communityserver-wikis-components-files/00-00-00-00-39/8358.arrow.png" /&gt;&lt;/p&gt;
&lt;p&gt;Click on &amp;quot;&lt;strong&gt;Update&lt;/strong&gt;&amp;quot; button. A warning message will appear click on &amp;quot;&lt;strong&gt;Reload All&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/699x211/__key/communityserver-wikis-components-files/00-00-00-00-39/4201.reload.png" /&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1e9snmaet9"&gt;&lt;strong&gt;What the Visual Studio exension changed to your solution&lt;/strong&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.&lt;/strong&gt;NET Framwwork of your project should be 4.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Right click on project -&amp;gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/779x207/__key/communityserver-wikis-components-files/00-00-00-00-39/3652.target.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the references from .csproj should point to Studio16 folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Right click on project-&amp;gt; Unload project-&amp;gt; Edit .csproj&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/561x213/__key/communityserver-wikis-components-files/00-00-00-00-39/6366.edit.png" /&gt;&lt;/p&gt;
&lt;p&gt;PluginDeploymentPath should point to Studio version &amp;quot;16&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All references should point to Studio16 folder:&lt;br /&gt;&lt;strong&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.Extensions.dll&amp;lt;/HintPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="mcetoc_1e9snmaeta"&gt;&lt;strong&gt;Couple of errors which might appear&amp;nbsp;in Visual Studio&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PluginFramework error in editor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If after migration following error appears and all the references are not loaded:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1134x71/__key/communityserver-wikis-components-files/00-00-00-00-39/NugetError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on &lt;strong&gt;packages.config&amp;rarr;Migrate packages.config to PackageReference&amp;nbsp;&amp;rarr; Ok&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/516x148/__key/communityserver-wikis-components-files/00-00-00-00-39/migratePackage.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unload the project and edit the .csproj&amp;nbsp;&amp;rarr; Remove following code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1442x561/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveFromCsProj.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reload the project and build the solution, all the references should be recognized and the plugin will compile without any errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.NetFramework is higher than the current targeted framework&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1093x324/__key/communityserver-wikis-components-files/00-00-00-00-39/CurrentTargetFrError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unload the project and edit the .csproj&amp;nbsp; -&amp;gt;Search for &amp;quot;TargetFrameworkVersion&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make sure you only have referenced the 4.8 framework version . &lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/427x30/__key/communityserver-wikis-components-files/00-00-00-00-39/TargetFrameworkVersion.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you have another reference like this, or another version which is not 4.8:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/513x117/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveDuplicateTargetFr.png" /&gt;&lt;/p&gt;
&lt;p&gt;Remove that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Plugins Migration Documentation, Studio2021&lt;/div&gt;
</description></item><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021/revision/8</link><pubDate>Thu, 14 May 2020 07:52:20 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Paul</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Revision 8 posted to Studio Developers WIKI by Paul on 5/14/2020 7:52:20 AM&lt;br /&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1589442770778v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;.NET Framework 4.8&lt;/li&gt;
&lt;li&gt;Visual Studio extension for Studio 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How to download .NET Framework&lt;/h2&gt;
&lt;p&gt;The new .Net Framework&amp;nbsp;&amp;nbsp;can be downloaded from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://dotnet.microsoft.com/download/dotnet-framework/net48"&gt;Microsoft site&lt;/a&gt;. After you install the framework an&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;restart is required&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;How check if the framework was installed correctly&lt;/h3&gt;
&lt;p&gt;After restart using PowerShell you can check if the version was installed correctly.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and open it as Administrator.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x641/__key/communityserver-wikis-components-files/00-00-00-00-39/7343.Powershell.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type following command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;gci &amp;lsquo;HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP&amp;rsquo; -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match &amp;lsquo;^(?!S)\p{L}&amp;rsquo;} | select PSChildName, Version&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Make sure in the displayed list 4.8... version is installed.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/829x170/__key/communityserver-wikis-components-files/00-00-00-00-39/6685.comm.png" /&gt;&lt;/p&gt;
&lt;h2&gt;Why do I need Visual Studio Extensions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It will install in Visual Studio the templates needed to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;create Trados Studio 2021 plugins&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;It will install a action which&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;will migrate the existing plugin solution to Studio 2021&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How to download&amp;nbsp;Visual Studio Extension for Studio 2021&lt;/h2&gt;
&lt;p&gt;Visual Studio extension can be&amp;nbsp;installed in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Visual Studio 2017 and 2019&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;Visual Studio 2019&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Extensions-&amp;gt; Manage Extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/888x56/__key/communityserver-wikis-components-files/00-00-00-00-39/2021.extensions.png" /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Manage Extensio&lt;/strong&gt;n window&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Online Tab&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDL -&amp;gt;&amp;nbsp;&lt;/strong&gt;Install&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v4.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;Visual Studio 2017&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Tools&lt;/strong&gt;-&amp;gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Extensions and Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/713x102/__key/communityserver-wikis-components-files/00-00-00-00-39/5635.tools.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;strong&gt;Extensions and Updates&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;window&amp;nbsp;&lt;strong&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;Online Tab&lt;span&gt;&amp;nbsp;search for&amp;nbsp;&lt;/span&gt;SDL -&amp;gt;&amp;nbsp;&lt;span&gt;Install&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;&lt;strong&gt;How to update a old plugin solution to Studio 2021&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;After the extension was installed open the solution of the plugin which you want to migrate to Studio 2021. In the Solution explorer a new button should be available:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/709x112/__key/communityserver-wikis-components-files/00-00-00-00-39/8358.arrow.png" /&gt;&lt;/p&gt;
&lt;p&gt;Click on &amp;quot;&lt;strong&gt;Update&lt;/strong&gt;&amp;quot; button. A warning message will appear click on &amp;quot;&lt;strong&gt;Reload All&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/699x211/__key/communityserver-wikis-components-files/00-00-00-00-39/4201.reload.png" /&gt;&lt;/p&gt;
&lt;h2&gt;&lt;strong&gt;What the Visual Studio exension changed to your solution&lt;/strong&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.&lt;/strong&gt;NET Framwwork of your project should be 4.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Right click on project -&amp;gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/779x207/__key/communityserver-wikis-components-files/00-00-00-00-39/3652.target.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the references from .csproj should point to Studio16 folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Right click on project-&amp;gt; Unload project-&amp;gt; Edit .csproj&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/561x213/__key/communityserver-wikis-components-files/00-00-00-00-39/6366.edit.png" /&gt;&lt;/p&gt;
&lt;p&gt;PluginDeploymentPath should point to Studio version &amp;quot;16&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All references should point to Studio16 folder:&lt;br /&gt;&lt;strong&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.Extensions.dll&amp;lt;/HintPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;strong&gt;Couple of errors which might appear&amp;nbsp;in Visual Studio&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PluginFramework error in editor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If after migration following error appears and all the references are not loaded:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1134x71/__key/communityserver-wikis-components-files/00-00-00-00-39/NugetError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on &lt;strong&gt;packages.config&amp;rarr;Migrate packages.config to PackageReference&amp;nbsp;&amp;rarr; Ok&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/516x148/__key/communityserver-wikis-components-files/00-00-00-00-39/migratePackage.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unload the project and edit the .csproj&amp;nbsp;&amp;rarr; Remove following code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1442x561/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveFromCsProj.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reload the project and build the solution, all the references should be recognized and the plugin will compile without any errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.NetFramework is higher than the current targeted framework&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1093x324/__key/communityserver-wikis-components-files/00-00-00-00-39/CurrentTargetFrError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unload the project and edit the .csproj&amp;nbsp; -&amp;gt;Search for &amp;quot;TargetFrameworkVersion&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make sure you only have referenced the 4.8 framework version . &lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/427x30/__key/communityserver-wikis-components-files/00-00-00-00-39/TargetFrameworkVersion.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you have another reference like this, or another version which is not 4.8:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/513x117/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveDuplicateTargetFr.png" /&gt;&lt;/p&gt;
&lt;p&gt;Remove that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Plugins Migration Documentation, Studio2021&lt;/div&gt;
</description></item><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021/revision/7</link><pubDate>Wed, 06 May 2020 10:19:35 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Andrea-Melinda Ghisa</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Revision 7 posted to Studio Developers WIKI by Andrea-Melinda Ghisa on 5/6/2020 10:19:35 AM&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;.NET Framework 4.8&lt;/li&gt;
&lt;li&gt;Visual Studio extension for Studio 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How to download .NET Framework&lt;/h2&gt;
&lt;p&gt;The new .Net Framework&amp;nbsp;&amp;nbsp;can be downloaded from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://dotnet.microsoft.com/download/dotnet-framework/net48"&gt;Microsoft site&lt;/a&gt;. After you install the framework an&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;restart is required&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;How check if the framework was installed correctly&lt;/h3&gt;
&lt;p&gt;After restart using PowerShell you can check if the version was installed correctly.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and open it as Administrator.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x641/__key/communityserver-wikis-components-files/00-00-00-00-39/7343.Powershell.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type following command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;gci &amp;lsquo;HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP&amp;rsquo; -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match &amp;lsquo;^(?!S)\p{L}&amp;rsquo;} | select PSChildName, Version&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Make sure in the displayed list 4.8... version is installed.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/829x170/__key/communityserver-wikis-components-files/00-00-00-00-39/6685.comm.png" /&gt;&lt;/p&gt;
&lt;h2&gt;Why do I need Visual Studio Extensions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It will install in Visual Studio the templates needed to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;create Trados Studio 2021 plugins&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;It will install a action which&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;will migrate the existing plugin solution to Studio 2021&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How to download&amp;nbsp;Visual Studio Extension for Studio 2021&lt;/h2&gt;
&lt;p&gt;Visual Studio extension can be&amp;nbsp;installed in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Visual Studio 2017 and 2019&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;Visual Studio 2019&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Extensions-&amp;gt; Manage Extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/888x56/__key/communityserver-wikis-components-files/00-00-00-00-39/2021.extensions.png" /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Manage Extensio&lt;/strong&gt;n window&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Online Tab&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDL -&amp;gt;&amp;nbsp;&lt;/strong&gt;Install&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v4.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;Visual Studio 2017&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Tools&lt;/strong&gt;-&amp;gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Extensions and Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/713x102/__key/communityserver-wikis-components-files/00-00-00-00-39/5635.tools.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;strong&gt;Extensions and Updates&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;window&amp;nbsp;&lt;strong&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;Online Tab&lt;span&gt;&amp;nbsp;search for&amp;nbsp;&lt;/span&gt;SDL -&amp;gt;&amp;nbsp;&lt;span&gt;Install&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;&lt;strong&gt;How to update a old plugin solution to Studio 2021&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;After the extension was installed open the solution of the plugin which you want to migrate to Studio 2021. In the Solution explorer a new button should be available:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/709x112/__key/communityserver-wikis-components-files/00-00-00-00-39/8358.arrow.png" /&gt;&lt;/p&gt;
&lt;p&gt;Click on &amp;quot;&lt;strong&gt;Update&lt;/strong&gt;&amp;quot; button. A warning message will appear click on &amp;quot;&lt;strong&gt;Reload All&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/699x211/__key/communityserver-wikis-components-files/00-00-00-00-39/4201.reload.png" /&gt;&lt;/p&gt;
&lt;h2&gt;&lt;strong&gt;What the Visual Studio exension changed to your solution&lt;/strong&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.&lt;/strong&gt;NET Framwwork of your project should be 4.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Right click on project -&amp;gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/779x207/__key/communityserver-wikis-components-files/00-00-00-00-39/3652.target.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the references from .csproj should point to Studio16 folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Right click on project-&amp;gt; Unload project-&amp;gt; Edit .csproj&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/561x213/__key/communityserver-wikis-components-files/00-00-00-00-39/6366.edit.png" /&gt;&lt;/p&gt;
&lt;p&gt;PluginDeploymentPath should point to Studio version &amp;quot;16&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All references should point to Studio16 folder:&lt;br /&gt;&lt;strong&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.Extensions.dll&amp;lt;/HintPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;strong&gt;Couple of errors which might appear&amp;nbsp;in Visual Studio&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PluginFramework error in editor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If after migration following error appears and all the references are not loaded:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1134x71/__key/communityserver-wikis-components-files/00-00-00-00-39/NugetError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on &lt;strong&gt;packages.config&amp;rarr;Migrate packages.config to PackageReference&amp;nbsp;&amp;rarr; Ok&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/516x148/__key/communityserver-wikis-components-files/00-00-00-00-39/migratePackage.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unload the project and edit the .csproj&amp;nbsp;&amp;rarr; Remove following code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1442x561/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveFromCsProj.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reload the project and build the solution, all the references should be recognized and the plugin will compile without any errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.NetFramework is higher than the current targeted framework&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1093x324/__key/communityserver-wikis-components-files/00-00-00-00-39/CurrentTargetFrError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unload the project and edit the .csproj&amp;nbsp; -&amp;gt;Search for &amp;quot;TargetFrameworkVersion&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make sure you only have referenced the 4.8 framework version . &lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/427x30/__key/communityserver-wikis-components-files/00-00-00-00-39/TargetFrameworkVersion.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you have another reference like this, or another version which is not 4.8:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/513x117/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveDuplicateTargetFr.png" /&gt;&lt;/p&gt;
&lt;p&gt;Remove that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Plugins Migration Documentation, Studio2021&lt;/div&gt;
</description></item><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021/revision/6</link><pubDate>Wed, 06 May 2020 09:51:40 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Andrea-Melinda Ghisa</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Revision 6 posted to Studio Developers WIKI by Andrea-Melinda Ghisa on 5/6/2020 9:51:40 AM&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;.NET Framework 4.8&lt;/li&gt;
&lt;li&gt;Visual Studio extension for Studio 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How to download .NET Framework&lt;/h2&gt;
&lt;p&gt;The new .Net Framework&amp;nbsp;&amp;nbsp;can be downloaded from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://dotnet.microsoft.com/download/dotnet-framework/net48"&gt;Microsoft site&lt;/a&gt;. After you install the framework an&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;restart is required&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;How check if the framework was installed correctly&lt;/h3&gt;
&lt;p&gt;After restart using PowerShell you can check if the version was installed correctly.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and open it as Administrator.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x641/__key/communityserver-wikis-components-files/00-00-00-00-39/7343.Powershell.png" /&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type following command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;gci &amp;lsquo;HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP&amp;rsquo; -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match &amp;lsquo;^(?!S)\p{L}&amp;rsquo;} | select PSChildName, Version&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Make sure in the displayed list 4.8... version is installed.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/829x170/__key/communityserver-wikis-components-files/00-00-00-00-39/6685.comm.png" /&gt;&lt;/p&gt;
&lt;h2&gt;Why do I need Visual Studio Extensions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It will install in Visual Studio the templates needed to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;create Trados Studio 2021 plugins&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;It will install a action which&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;will migrate the existing plugin solution to Studio 2021&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How to download&amp;nbsp;Visual Studio Extension for Studio 2021&lt;/h2&gt;
&lt;p&gt;Visual Studio extension can be&amp;nbsp;installed in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Visual Studio 2017 and 2019&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;Visual Studio 2019&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Extensions-&amp;gt; Manage Extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/888x56/__key/communityserver-wikis-components-files/00-00-00-00-39/2021.extensions.png" /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Manage Extensio&lt;/strong&gt;n window&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Online Tab&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDL -&amp;gt;&amp;nbsp;&lt;/strong&gt;Install&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v4.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;Visual Studio 2017&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Tools&lt;/strong&gt;-&amp;gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Extensions and Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/713x102/__key/communityserver-wikis-components-files/00-00-00-00-39/5635.tools.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;strong&gt;Extensions and Updates&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;window&amp;nbsp;&lt;strong&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;Online Tab&lt;span&gt;&amp;nbsp;search for&amp;nbsp;&lt;/span&gt;SDL -&amp;gt;&amp;nbsp;&lt;span&gt;Install&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;&lt;strong&gt;How to update a old plugin solution to Studio 2021&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;After the extension was installed open the solution of the plugin which you want to migrate to Studio 2021. In the Solution explorer a new button should be available:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/709x112/__key/communityserver-wikis-components-files/00-00-00-00-39/8358.arrow.png" /&gt;&lt;/p&gt;
&lt;p&gt;Click on &amp;quot;&lt;strong&gt;Update&lt;/strong&gt;&amp;quot; button. A warning message will appear click on &amp;quot;&lt;strong&gt;Reload All&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/699x211/__key/communityserver-wikis-components-files/00-00-00-00-39/4201.reload.png" /&gt;&lt;/p&gt;
&lt;h2&gt;&lt;strong&gt;What the Visual Studio exension changed to your solution&lt;/strong&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.&lt;/strong&gt;NET Framwwork of your project should be 4.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Right click on project -&amp;gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/779x207/__key/communityserver-wikis-components-files/00-00-00-00-39/3652.target.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the references from .csproj should point to Studio16 folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Right click on project-&amp;gt; Unload project-&amp;gt; Edit .csproj&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/561x213/__key/communityserver-wikis-components-files/00-00-00-00-39/6366.edit.png" /&gt;&lt;/p&gt;
&lt;p&gt;PluginDeploymentPath should point to Studio version &amp;quot;16&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All references should point to Studio16 folder:&lt;br /&gt;&lt;strong&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.Extensions.dll&amp;lt;/HintPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;strong&gt;Couple of errors which might appear&amp;nbsp;in Visual Studio&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PluginFramework error in editor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If after migration following error appears and all the references are not loaded:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1134x71/__key/communityserver-wikis-components-files/00-00-00-00-39/NugetError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on &lt;strong&gt;packages.config&amp;rarr;Migrate packages.config to PackageReference&amp;nbsp;&amp;rarr; Ok&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/516x148/__key/communityserver-wikis-components-files/00-00-00-00-39/migratePackage.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unload the project and edit the .csproj&amp;nbsp;&amp;rarr; Remove following code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1442x561/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveFromCsProj.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reload the project and build the solution, all the references should be recognized and the plugin will compile without any errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.NetFramework is higher than the current targeted framework&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1093x324/__key/communityserver-wikis-components-files/00-00-00-00-39/CurrentTargetFrError.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unload the project and edit the .csproj&amp;nbsp; -&amp;gt;Search for &amp;quot;TargetFrameworkVersion&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make sure you only have referenced the 4.8 framework version . &lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/427x30/__key/communityserver-wikis-components-files/00-00-00-00-39/TargetFrameworkVersion.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you have another reference like this, or another version which is not 4.8:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/513x117/__key/communityserver-wikis-components-files/00-00-00-00-39/RemoveDuplicateTargetFr.png" /&gt;&lt;/p&gt;
&lt;p&gt;Remove that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Studio2021&lt;/div&gt;
</description></item><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021/revision/5</link><pubDate>Wed, 06 May 2020 09:42:49 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Andrea-Melinda Ghisa</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Revision 5 posted to Studio Developers WIKI by Andrea-Melinda Ghisa on 5/6/2020 9:42:49 AM&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;.NET Framework 4.8&lt;/li&gt;
&lt;li&gt;Visual Studio extension for Studio 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How to download .NET Framework&lt;/h2&gt;
&lt;p&gt;The new .Net Framework&amp;nbsp;&amp;nbsp;can be downloaded from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://dotnet.microsoft.com/download/dotnet-framework/net48"&gt;Microsoft site&lt;/a&gt;. After you install the framework an&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;restart is required&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;How check if the framework was installed correctly&lt;/h3&gt;
&lt;p&gt;After restart using PowerShell you can check if the version was installed correctly.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and open it as Administrator.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x641/__key/communityserver-wikis-components-files/00-00-00-00-39/7343.Powershell.png" /&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type following command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;gci &amp;lsquo;HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP&amp;rsquo; -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match &amp;lsquo;^(?!S)\p{L}&amp;rsquo;} | select PSChildName, Version&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Make sure in the displayed list 4.8... version is installed.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/829x170/__key/communityserver-wikis-components-files/00-00-00-00-39/6685.comm.png" /&gt;&lt;/p&gt;
&lt;h2&gt;Why do I need Visual Studio Extensions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It will install in Visual Studio the templates needed to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;create Trados Studio 2021 plugins&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;It will install a action which&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;will migrate the existing plugin solution to Studio 2021&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How to download&amp;nbsp;Visual Studio Extension for Studio 2021&lt;/h2&gt;
&lt;p&gt;Visual Studio extension can be&amp;nbsp;installed in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Visual Studio 2017 and 2019&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;Visual Studio 2019&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Extensions-&amp;gt; Manage Extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/888x56/__key/communityserver-wikis-components-files/00-00-00-00-39/2021.extensions.png" /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Manage Extensio&lt;/strong&gt;n window&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Online Tab&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDL -&amp;gt;&amp;nbsp;&lt;/strong&gt;Install&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v4.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;Visual Studio 2017&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Tools&lt;/strong&gt;-&amp;gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Extensions and Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/713x102/__key/communityserver-wikis-components-files/00-00-00-00-39/5635.tools.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;strong&gt;Extensions and Updates&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;window&amp;nbsp;&lt;strong&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;Online Tab&lt;span&gt;&amp;nbsp;search for&amp;nbsp;&lt;/span&gt;SDL -&amp;gt;&amp;nbsp;&lt;span&gt;Install&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;&lt;strong&gt;How to update a old plugin solution to Studio 2021&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;After the extension was installed open the solution of the plugin which you want to migrate to Studio 2021. In the Solution explorer a new button should be available:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/709x112/__key/communityserver-wikis-components-files/00-00-00-00-39/8358.arrow.png" /&gt;&lt;/p&gt;
&lt;p&gt;Click on &amp;quot;&lt;strong&gt;Update&lt;/strong&gt;&amp;quot; button. A warning message will appear click on &amp;quot;&lt;strong&gt;Reload All&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096901v7.png" /&gt;&lt;/p&gt;
&lt;h2&gt;&lt;strong&gt;What the Visual Studio exension changed to your solution&lt;/strong&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.&lt;/strong&gt;NET Framwwork of your project should be 4.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Right click on project -&amp;gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096901v8.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the references from .csproj should point to Studio16 folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Right click on project-&amp;gt; Unload project-&amp;gt; Edit .csproj&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096902v9.png" /&gt;&lt;/p&gt;
&lt;p&gt;PluginDeploymentPath should point to Studio version &amp;quot;16&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All references should point to Studio16 folder:&lt;br /&gt;&lt;strong&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.Extensions.dll&amp;lt;/HintPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;strong&gt;Couple of errors which might appear&amp;nbsp;in Visual Studio&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PluginFramework error in editor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If after migration following error appears and all the references are not loaded:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on &lt;strong&gt;packages.config&amp;rarr;Migrate packages.config to PackageReference&amp;nbsp;&amp;rarr; Ok&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unload the project and edit the .csproj&amp;nbsp;&amp;rarr; Remove following code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reload the project and build the solution, all the references should be recognized and the plugin will compile without any errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.NetFramework is higher than the current targeted framework&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unload the project and edit the .csproj&amp;nbsp; -&amp;gt;Search for &amp;quot;TargetFrameworkVersion&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make sure you only have referenced the 4.8 framework version . &lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you have another reference like this, or another version which is not 4.8:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Remove that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Studio2021&lt;/div&gt;
</description></item><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021/revision/4</link><pubDate>Wed, 06 May 2020 09:39:15 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Andrea-Melinda Ghisa</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Revision 4 posted to Studio Developers WIKI by Andrea-Melinda Ghisa on 5/6/2020 9:39:15 AM&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;.NET Framework 4.8&lt;/li&gt;
&lt;li&gt;Visual Studio extension for Studio 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How to download .NET Framework&lt;/h2&gt;
&lt;p&gt;The new .Net Framework&amp;nbsp;&amp;nbsp;can be downloaded from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://dotnet.microsoft.com/download/dotnet-framework/net48"&gt;Microsoft site&lt;/a&gt;. After you install the framework an&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;restart is required&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;How check if the framework was installed correctly&lt;/h3&gt;
&lt;p&gt;After restart using PowerShell you can check if the version was installed correctly.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and open it as Administrator.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x641/__key/communityserver-wikis-components-files/00-00-00-00-39/7343.Powershell.png" /&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li style="list-style-type:none;"&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type following command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;gci &amp;lsquo;HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP&amp;rsquo; -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match &amp;lsquo;^(?!S)\p{L}&amp;rsquo;} | select PSChildName, Version&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Make sure in the displayed list 4.8... version is installed.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/829x170/__key/communityserver-wikis-components-files/00-00-00-00-39/6685.comm.png" /&gt;&lt;/p&gt;
&lt;h2&gt;Why do I need Visual Studio Extensions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It will install in Visual Studio the templates needed to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;create Trados Studio 2021 plugins&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;It will install a action which&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;will migrate the existing plugin solution to Studio 2021&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How to download&amp;nbsp;Visual Studio Extension for Studio 2021&lt;/h2&gt;
&lt;p&gt;Visual Studio extension can be&amp;nbsp;installed in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Visual Studio 2017 and 2019&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;Visual Studio 2019&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Extensions-&amp;gt; Manage Extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v3.png" /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Manage Extensio&lt;/strong&gt;n window&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Online Tab&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDL -&amp;gt;&amp;nbsp;&lt;/strong&gt;Install&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v4.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;Visual Studio 2017&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Tools&lt;/strong&gt;-&amp;gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Extensions and Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096901v5.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;strong&gt;Extensions and Updates&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;window&amp;nbsp;&lt;strong&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;Online Tab&lt;span&gt;&amp;nbsp;search for&amp;nbsp;&lt;/span&gt;SDL -&amp;gt;&amp;nbsp;&lt;span&gt;Install&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;&lt;strong&gt;How to update a old plugin solution to Studio 2021&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;After the extension was installed open the solution of the plugin which you want to migrate to Studio 2021. In the Solution explorer a new button should be available:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096901v6.png" /&gt;&lt;/p&gt;
&lt;p&gt;Click on &amp;quot;&lt;strong&gt;Update&lt;/strong&gt;&amp;quot; button. A warning message will appear click on &amp;quot;&lt;strong&gt;Reload All&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096901v7.png" /&gt;&lt;/p&gt;
&lt;h2&gt;&lt;strong&gt;What the Visual Studio exension changed to your solution&lt;/strong&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.&lt;/strong&gt;NET Framwwork of your project should be 4.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Right click on project -&amp;gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096901v8.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the references from .csproj should point to Studio16 folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Right click on project-&amp;gt; Unload project-&amp;gt; Edit .csproj&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096902v9.png" /&gt;&lt;/p&gt;
&lt;p&gt;PluginDeploymentPath should point to Studio version &amp;quot;16&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All references should point to Studio16 folder:&lt;br /&gt;&lt;strong&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.Extensions.dll&amp;lt;/HintPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;strong&gt;Couple of errors which might appear&amp;nbsp;in Visual Studio&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PluginFramework error in editor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If after migration following error appears and all the references are not loaded:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on &lt;strong&gt;packages.config&amp;rarr;Migrate packages.config to PackageReference&amp;nbsp;&amp;rarr; Ok&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unload the project and edit the .csproj&amp;nbsp;&amp;rarr; Remove following code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reload the project and build the solution, all the references should be recognized and the plugin will compile without any errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.NetFramework is higher than the current targeted framework&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unload the project and edit the .csproj&amp;nbsp; -&amp;gt;Search for &amp;quot;TargetFrameworkVersion&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make sure you only have referenced the 4.8 framework version . &lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you have another reference like this, or another version which is not 4.8:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Remove that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Studio2021&lt;/div&gt;
</description></item><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021/revision/3</link><pubDate>Wed, 06 May 2020 09:35:32 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Andrea-Melinda Ghisa</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Revision 3 posted to Studio Developers WIKI by Andrea-Melinda Ghisa on 5/6/2020 9:35:32 AM&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;.NET Framework 4.8&lt;/li&gt;
&lt;li&gt;Visual Studio extension for Studio 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How to download .NET Framework&lt;/h2&gt;
&lt;p&gt;The new .Net Framework&amp;nbsp;&amp;nbsp;can be downloaded from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://dotnet.microsoft.com/download/dotnet-framework/net48"&gt;Microsoft site&lt;/a&gt;. After you install the framework an&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;restart is required&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;How check if the framework was installed correctly&lt;/h3&gt;
&lt;p&gt;After restart using PowerShell you can check if the version was installed correctly.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and open it as Administrator.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096899v1.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type following command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;gci &amp;lsquo;HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP&amp;rsquo; -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match &amp;lsquo;^(?!S)\p{L}&amp;rsquo;} | select PSChildName, Version&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Make sure in the displayed list 4.8... version is installed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v2.png" /&gt;&lt;/p&gt;
&lt;h2&gt;Why do I need Visual Studio Extensions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It will install in Visual Studio the templates needed to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;create Trados Studio 2021 plugins&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;It will install a action which&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;will migrate the existing plugin solution to Studio 2021&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How to download&amp;nbsp;Visual Studio Extension for Studio 2021&lt;/h2&gt;
&lt;p&gt;Visual Studio extension can be&amp;nbsp;installed in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Visual Studio 2017 and 2019&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;Visual Studio 2019&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Extensions-&amp;gt; Manage Extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v3.png" /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Manage Extensio&lt;/strong&gt;n window&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Online Tab&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDL -&amp;gt;&amp;nbsp;&lt;/strong&gt;Install&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v4.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;Visual Studio 2017&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Tools&lt;/strong&gt;-&amp;gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Extensions and Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096901v5.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;strong&gt;Extensions and Updates&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;window&amp;nbsp;&lt;strong&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;Online Tab&lt;span&gt;&amp;nbsp;search for&amp;nbsp;&lt;/span&gt;SDL -&amp;gt;&amp;nbsp;&lt;span&gt;Install&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;&lt;strong&gt;How to update a old plugin solution to Studio 2021&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;After the extension was installed open the solution of the plugin which you want to migrate to Studio 2021. In the Solution explorer a new button should be available:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096901v6.png" /&gt;&lt;/p&gt;
&lt;p&gt;Click on &amp;quot;&lt;strong&gt;Update&lt;/strong&gt;&amp;quot; button. A warning message will appear click on &amp;quot;&lt;strong&gt;Reload All&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096901v7.png" /&gt;&lt;/p&gt;
&lt;h2&gt;&lt;strong&gt;What the Visual Studio exension changed to your solution&lt;/strong&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.&lt;/strong&gt;NET Framwwork of your project should be 4.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Right click on project -&amp;gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096901v8.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the references from .csproj should point to Studio16 folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Right click on project-&amp;gt; Unload project-&amp;gt; Edit .csproj&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096902v9.png" /&gt;&lt;/p&gt;
&lt;p&gt;PluginDeploymentPath should point to Studio version &amp;quot;16&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All references should point to Studio16 folder:&lt;br /&gt;&lt;strong&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.Extensions.dll&amp;lt;/HintPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;strong&gt;Couple of errors which might appear&amp;nbsp;in Visual Studio&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PluginFramework error in editor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If after migration following error appears and all the references are not loaded:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on &lt;strong&gt;packages.config&amp;rarr;Migrate packages.config to PackageReference&amp;nbsp;&amp;rarr; Ok&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unload the project and edit the .csproj&amp;nbsp;&amp;rarr; Remove following code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reload the project and build the solution, all the references should be recognized and the plugin will compile without any errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.NetFramework is higher than the current targeted framework&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unload the project and edit the .csproj&amp;nbsp; -&amp;gt;Search for &amp;quot;TargetFrameworkVersion&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make sure you only have referenced the 4.8 framework version . &lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you have another reference like this, or another version which is not 4.8:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Remove that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Studio2021&lt;/div&gt;
</description></item><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021/revision/2</link><pubDate>Wed, 06 May 2020 09:24:48 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Andrea-Melinda Ghisa</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Revision 2 posted to Studio Developers WIKI by Andrea-Melinda Ghisa on 5/6/2020 9:24:48 AM&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;.NET Framework 4.8&lt;/li&gt;
&lt;li&gt;Visual Studio extension for Studio 2021&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How to download .NET Framework&lt;/h2&gt;
&lt;p&gt;The new .Net Framework&amp;nbsp;&amp;nbsp;can be downloaded from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://dotnet.microsoft.com/download/dotnet-framework/net48"&gt;Microsoft site&lt;/a&gt;. After you install the framework an&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;restart is required&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;How check if the framework was installed correctly&lt;/h3&gt;
&lt;p&gt;After restart using PowerShell you can check if the version was installed correctly.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;PowerShell&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and open it as Administrator.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096899v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type following command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;gci &amp;lsquo;HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP&amp;rsquo; -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match &amp;lsquo;^(?!S)\p{L}&amp;rsquo;} | select PSChildName, Version&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Make sure in the displayed list 4.8... version is installed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;h2&gt;Why do I need Visual Studio Extensions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;It will install in Visual Studio the templates needed to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;create Trados Studio 2021 plugins&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;It will install a action which&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;will migrate the existing plugin solution to Studio 2021&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How to download&amp;nbsp;Visual Studio Extension for Studio 2021&lt;/h2&gt;
&lt;p&gt;Visual Studio extension can be&amp;nbsp;installed in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Visual Studio 2017 and 2019&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;Visual Studio 2019&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Extensions-&amp;gt; Manage Extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v3.png" alt=" " /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Manage Extensio&lt;/strong&gt;n window&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Online Tab&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;search for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;SDL -&amp;gt;&amp;nbsp;&lt;/strong&gt;Install&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096900v4.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;Visual Studio 2017&lt;/h3&gt;
&lt;p&gt;Go to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Tools&lt;/strong&gt;-&amp;gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Extensions and Updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096901v5.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;strong&gt;Extensions and Updates&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;window&amp;nbsp;&lt;strong&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;Online Tab&lt;span&gt;&amp;nbsp;search for&amp;nbsp;&lt;/span&gt;SDL -&amp;gt;&amp;nbsp;&lt;span&gt;Install&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;Visual Studio templates for SDL Trados Studio 2021&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;&lt;strong&gt;How to update a old plugin solution to Studio 2021&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;After the extension was installed open the solution of the plugin which you want to migrate to Studio 2021. In the Solution explorer a new button should be available:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096901v6.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Click on &amp;quot;&lt;strong&gt;Update&lt;/strong&gt;&amp;quot; button. A warning message will appear click on &amp;quot;&lt;strong&gt;Reload All&lt;/strong&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096901v7.png" alt=" " /&gt;&lt;/p&gt;
&lt;h2&gt;&lt;strong&gt;How to check if the migration was successfully completed&lt;/strong&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.&lt;/strong&gt;NET Framwwork of your project should be 4.8&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Right click on project -&amp;gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096901v8.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All the references from .csproj should point to Studio16 folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Right click on project-&amp;gt; Unload project-&amp;gt; Edit .csproj&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-39/pastedimage1588757096902v9.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;PluginDeploymentPath should point to Studio version &amp;quot;16&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;PluginDeploymentPath&amp;gt;$(AppData)\Sdl\Sdl Trados Studio\16\Plugins&amp;lt;/PluginDeploymentPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All references should point to Studio16 folder:&lt;br /&gt;&lt;strong&gt;&amp;lt;HintPath&amp;gt;$(ProgramFiles)\SDL\SDL Trados Studio\Studio16\Sdl.Desktop.IntegrationApi.Extensions.dll&amp;lt;/HintPath&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;strong&gt;Couple of errors which might appear&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;PluginFramework error in editor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If after migration following error appears and all the references are not loaded:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on &lt;strong&gt;packages.config&amp;rarr;Migrate packages.config to PackageReference&amp;nbsp;&amp;rarr; Ok&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unload the project and edit the .csproj&amp;nbsp;&amp;rarr; Remove following code&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Reload the project and build the solution, all the references should be recognized and the plugin will compile without any errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.NetFramework is higher than the current targeted framework&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Unload the project and edit the .csproj&amp;nbsp; -&amp;gt;Search for &amp;quot;TargetFrameworkVersion&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make sure you only have referenced the 4.8 framework version . &lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you have another reference like this, or another version which is not 4.8:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Remove that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Studio2021&lt;/div&gt;
</description></item><item><title>How to update plugins to Studio 2021</title><link>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021/revision/1</link><pubDate>Wed, 06 May 2020 09:22:55 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:98142b80-aa0c-4fc5-b73e-f1d329a3cddb</guid><dc:creator>Andrea-Melinda Ghisa</dc:creator><comments>https://community.rws.com/developers-more/trados-portfolio/trados-studio-developers/w/trados-studio-api/5307/how-to-update-plugins-to-studio-2021#comments</comments><description>Revision 1 posted to Studio Developers WIKI by Andrea-Melinda Ghisa on 5/6/2020 9:22:55 AM&lt;br /&gt;
&lt;p&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>