<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Updating an existing .NET Framework project into a .NET Core one in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12682053#M6120</link>
    <description>&lt;P&gt;Now that Revit 2025 is out, Naturally, most developers will need to upgrade their existent .Net Framework Projects into .NET Core 8.0 project.&lt;BR /&gt;&lt;BR /&gt;Is there a step by step guide to update an existing .NET Framework 4.8 project into a .NET core 8.0 ?&lt;BR /&gt;I`ve been attempting to use microsoft upgrade feature but all attempts of my part have failed miserably so far.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2024 18:34:20 GMT</pubDate>
    <dc:creator>Ramoon_Bandeira</dc:creator>
    <dc:date>2024-04-02T18:34:20Z</dc:date>
    <item>
      <title>Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12682053#M6120</link>
      <description>&lt;P&gt;Now that Revit 2025 is out, Naturally, most developers will need to upgrade their existent .Net Framework Projects into .NET Core 8.0 project.&lt;BR /&gt;&lt;BR /&gt;Is there a step by step guide to update an existing .NET Framework 4.8 project into a .NET core 8.0 ?&lt;BR /&gt;I`ve been attempting to use microsoft upgrade feature but all attempts of my part have failed miserably so far.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 18:34:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12682053#M6120</guid>
      <dc:creator>Ramoon_Bandeira</dc:creator>
      <dc:date>2024-04-02T18:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12682180#M6121</link>
      <description>&lt;P&gt;You can try templates that support writing add-ins for the .Net Framework and .Net Core &lt;A href="https://github.com/Nice3point/RevitTemplates" target="_blank" rel="noopener"&gt;https://github.com/Nice3point/RevitTemplates&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For existing projects the correct way is to migrate .csproj to DotNet SDK style, to avoid errors it is better to do it manually.&lt;/P&gt;&lt;P&gt;SDK style csproj sample: &lt;A href="https://github.com/Nice3point/RevitTemplates/blob/develop/samples/SingleProjectApplication/RevitAddIn/RevitAddIn.csproj" target="_blank"&gt;https://github.com/Nice3point/RevitTemplates/blob/develop/samples/SingleProjectApplication/RevitAddIn/RevitAddIn.csproj&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 08:33:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12682180#M6121</guid>
      <dc:creator>nice3point</dc:creator>
      <dc:date>2024-04-03T08:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12682308#M6122</link>
      <description>&lt;P&gt;If the microsoft upgrade fails you need to unload the project and update the csproj manually.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Most of the time is remove alot of things in the csproj to update to SDK style. If you need help just send me a message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 20:37:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12682308#M6122</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2024-04-02T20:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12684139#M6123</link>
      <description>&lt;P&gt;I've just been starting a new visual studio file from the template that &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4158637"&gt;@nice3point&lt;/a&gt; linked above and bringing in all my code files. I've found that it has been easier for my code base(s) for my tools. I also get access to all the cool features built into those new templates.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 13:42:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12684139#M6123</guid>
      <dc:creator>j0hnp</dc:creator>
      <dc:date>2024-04-03T13:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12684855#M6124</link>
      <description>&lt;P&gt;What about shared projects? How do I handle the migration to .net 8.0? I have problems with the&amp;nbsp;assembly reference.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Update:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;I fixed it and it now works for Revit 2025 with with SharedProject.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&amp;lt;Project Sdk="Microsoft.NET.Sdk"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;lt;PropertyGroup&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;lt;TargetFrameworks&amp;gt;net8.0&lt;STRONG&gt;-windows&lt;/STRONG&gt;&amp;lt;/TargetFrameworks&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;lt;UseWPF&amp;gt;true&amp;lt;/UseWPF&amp;gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;lt;RootNamespace&amp;gt;LindballeTools.Revit&amp;lt;/RootNamespace&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;lt;ImplicitUsings&amp;gt;enable&amp;lt;/ImplicitUsings&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Nullable&amp;gt;enable&amp;lt;/Nullable&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Platforms&amp;gt;AnyCPU;x64&amp;lt;/Platforms&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;lt;CopyLocalLockFileAssemblies&amp;gt;true&amp;lt;/CopyLocalLockFileAssemblies&amp;gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;lt;/PropertyGroup&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;lt;ItemGroup Condition="'$(TargetFramework)' == 'net8.0-windows'"&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;PackageReference Include="Revit_All_Main_Versions_API_x64" Version="2025.0.0" /&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;/ItemGroup&amp;gt;&lt;/STRONG&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Apr 2024 09:35:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12684855#M6124</guid>
      <dc:creator>CLindballe</dc:creator>
      <dc:date>2024-04-04T09:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12685371#M6125</link>
      <description>&lt;P&gt;There is also a tool&amp;nbsp;&lt;A href="https://github.com/hvanbakel/CsprojToVs2017" target="_blank"&gt;https://github.com/hvanbakel/CsprojToVs2017&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Some discussion about its use is at:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.hanselman.com/blog/upgrading-an-existing-net-project-files-to-the-lean-new-csproj-format-from-net-core" target="_blank"&gt;https://www.hanselman.com/blog/upgrading-an-existing-net-project-files-to-the-lean-new-csproj-format-from-net-core&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://treit.github.io/c%23,/programming/2019/02/18/ConvertingCsProjectsToNewSdkFormat.html" target="_blank"&gt;https://treit.github.io/c%23,/programming/2019/02/18/ConvertingCsProjectsToNewSdkFormat.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 23:35:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12685371#M6125</guid>
      <dc:creator>harrymattison</dc:creator>
      <dc:date>2024-04-03T23:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12686870#M6126</link>
      <description>&lt;P&gt;I tried to update an old version of RevitLookup to see.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://youtu.be/jq5aPUDj5Ds" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Update old version of RevitLookup to Sdk Style.&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 13:40:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12686870#M6126</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2024-04-04T13:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12687055#M6127</link>
      <description>&lt;P&gt;One thing I've found is that the old-style PostBuildEvent doesn't work in the new-style CSPROJ&lt;/P&gt;&lt;P&gt;This used to work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;    &amp;lt;PostBuildEvent&amp;gt;"C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64\signtool.exe" sign /f "C:\Users\harry\Documents\Boost Your BIM\BoostYourBIM.pfx" /fd SHA256 /p $(CodeSignPassword) /v $(TargetPath)

mkdir "C:\ProgramData\Autodesk\Revit\Addins\$(Configuration)\$(TargetName)"
copy /Y $(ProjectDir)$(TargetName).addin "C:\ProgramData\Autodesk\Revit\Addins\$(Configuration)\"
copy /Y $(TargetPath) "C:\ProgramData\Autodesk\Revit\Addins\$(Configuration)\$(TargetName)"
copy /Y $(TargetDir)$(TargetName).pdb "C:\ProgramData\Autodesk\Revit\Addins\$(Configuration)\$(TargetName)"

"C:\Program Files\Autodesk\Revit $(Configuration)\Revit.exe" "C:\Users\harry\Documents\rvt\2023.rvt"&amp;lt;/PostBuildEvent&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When updating this project, delete that section from the CSPROJ and enter the code in here&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harrymattison_0-1712241152079.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1345879i35FD2959ED342B40/image-size/medium?v=v2&amp;amp;px=400" role="button" title="harrymattison_0-1712241152079.png" alt="harrymattison_0-1712241152079.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The result will be this entry in the CSPROJ&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;  &amp;lt;Target Name="PostBuild" AfterTargets="PostBuildEvent"&amp;gt;
    &amp;lt;Exec Command="&amp;amp;quot;C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64\signtool.exe&amp;amp;quot; sign /f &amp;amp;quot;C:\Users\harry\Documents\Boost Your BIM\BoostYourBIM.pfx&amp;amp;quot; /fd SHA256 /p $(CodeSignPassword) /v $(TargetPath)&amp;amp;#xD;&amp;amp;#xA;mkdir &amp;amp;quot;C:\ProgramData\Autodesk\Revit\Addins\$(Configuration)\$(TargetName)&amp;amp;quot;&amp;amp;#xD;&amp;amp;#xA;copy /Y $(SolutionDir)$(TargetName).addin &amp;amp;quot;C:\ProgramData\Autodesk\Revit\Addins\$(Configuration)\&amp;amp;quot;&amp;amp;#xD;&amp;amp;#xA;copy /Y $(TargetPath) &amp;amp;quot;C:\ProgramData\Autodesk\Revit\Addins\$(Configuration)\$(TargetName)&amp;amp;quot;&amp;amp;#xD;&amp;amp;#xA;copy /Y $(TargetDir)$(TargetName).pdb &amp;amp;quot;C:\ProgramData\Autodesk\Revit\Addins\$(Configuration)\$(TargetName)&amp;amp;quot;&amp;amp;#xD;&amp;amp;#xA;&amp;amp;#xD;&amp;amp;#xA;&amp;amp;quot;C:\Program Files\Autodesk\Revit $(Configuration)\Revit.exe&amp;amp;quot;" /&amp;gt;
  &amp;lt;/Target&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 15:04:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12687055#M6127</guid>
      <dc:creator>harrymattison</dc:creator>
      <dc:date>2024-04-04T15:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12687070#M6128</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;One thing I've found is that the old-style PostBuildEvent doesn't work in the new-style CSPROJ&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;try to use this package &lt;A href="https://github.com/Nice3point/Revit.Build.Tasks" target="_blank" rel="noopener"&gt;https://github.com/Nice3point/Revit.Build.Tasks&lt;/A&gt; and add these lines if you just want to copy files:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;PropertyGroup&amp;gt;
    &amp;lt;PublishAddinFiles&amp;gt;true&amp;lt;/PublishAddinFiles&amp;gt;
&amp;lt;/PropertyGroup&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or copy target directly in your .csproj file:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Nice3point/Revit.Build.Tasks/blob/main/source/Nice3point.Revit.Build.Tasks/targets/Nice3point.Revit.Publish.targets" target="_blank" rel="noopener"&gt;https://github.com/Nice3point/Revit.Build.Tasks/blob/main/source/Nice3point.Revit.Build.Tasks/targets/Nice3point.Revit.Publish.targets&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recommend to always use Target instead of PostBuildEvent&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 14:46:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12687070#M6128</guid>
      <dc:creator>nice3point</dc:creator>
      <dc:date>2024-04-04T14:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12687095#M6129</link>
      <description>&lt;P&gt;If you are seeing a lot of these warnings&lt;/P&gt;&lt;P&gt;Warning CA1416 This call site is reachable on all platforms. 'FormPrintSuppression' is only supported on: 'windows'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can make it go away by adding&amp;nbsp;&lt;/P&gt;&lt;P&gt;[SupportedOSPlatform("windows")]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;before the definition of the class like&lt;/P&gt;&lt;LI-CODE lang="general"&gt;    [SupportedOSPlatform("windows")]
    class Ribbon : IExternalApplication
    {&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 04 Apr 2024 14:46:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12687095#M6129</guid>
      <dc:creator>harrymattison</dc:creator>
      <dc:date>2024-04-04T14:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12687104#M6130</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1110216"&gt;@harrymattison&lt;/a&gt;&amp;nbsp;&amp;nbsp; dont use &lt;STRONG&gt;[SupportedOSPlatform("windows")]&lt;/STRONG&gt;, use TargetFramework &lt;STRONG&gt;net8.0-window&lt;/STRONG&gt; instead of &lt;STRONG&gt;net8.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://github.com/Nice3point/RevitTemplates/blob/develop/samples/SingleProjectApplication/RevitAddIn/RevitAddIn.csproj#L35" target="_blank" rel="noopener"&gt;https://github.com/Nice3point/RevitTemplates/blob/develop/samples/SingleProjectApplication/RevitAddIn/RevitAddIn.csproj#L35&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 14:50:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12687104#M6130</guid>
      <dc:creator>nice3point</dc:creator>
      <dc:date>2024-04-04T14:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12687138#M6131</link>
      <description>I already am using net8.0-windows but I&lt;BR /&gt;still get the warnings&lt;BR /&gt;This suggested it could be due to GenerateAssemblyInfo = false, but I&lt;BR /&gt;changed that to true and still get the warnings&lt;BR /&gt;&lt;A href="https://github.com/dotnet/roslyn-analyzers/issues/4983#issuecomment-852738069" target="_blank"&gt;https://github.com/dotnet/roslyn-analyzers/issues/4983#issuecomment-852738069&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Apr 2024 14:56:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12687138#M6131</guid>
      <dc:creator>harrymattison</dc:creator>
      <dc:date>2024-04-04T14:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12687840#M6132</link>
      <description>&lt;P&gt;After starting a new .net 8.0 class library project. i had it all working perfectly, building the project from revit 19 to 25 seamlessly. Up till i decided to set the Assembly Neutral Language.&lt;BR /&gt;&lt;BR /&gt;After that, i could still build to 2025 version, but versions prior to that all fail resulting on the following error:&lt;BR /&gt;&lt;BR /&gt;Severity Code Description Project File Line Suppression State&lt;BR /&gt;Error MC1000 Unknown build error, 'Could not find type 'System.Resources.NeutralResourcesLanguageAttribute' in assembly 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\Facades\System.Runtime.dll'.' MyAssembly_Core C:\Program Files\dotnet\sdk\8.0.202\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.WinFX.targets 211&lt;BR /&gt;&lt;BR /&gt;Any guide?&lt;BR /&gt;&lt;BR /&gt;I cant roll it back, even if i set it back to None. the solution wont rebuild for prior versions to 25&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 19:44:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12687840#M6132</guid>
      <dc:creator>Ramoon_Bandeira</dc:creator>
      <dc:date>2024-04-04T19:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12687965#M6133</link>
      <description>&lt;P&gt;I just upgraded one of my plugins and here are the bulk of the steps I followed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Install the .NET upgrade assistant as a Visual Studio extension:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-install#install-the-visual-studio-extension" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-install#install-the-visual-studio-extension&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. Open my .sln, right-click the sln in the solution explorer, choose 'Upgrade'&lt;/P&gt;&lt;P&gt;3. Follow the steps in the upgrade wizard ("Upgrade project to a newer .net version" --&amp;gt; "Side by side project upgrade" --&amp;gt; "New project" --&amp;gt; name it something like "{projectname}-netCore" or whatever)&lt;/P&gt;&lt;P&gt;4. Close the sln, then open the new .csproj it created in any text editor and make the following edits:&lt;/P&gt;&lt;P&gt;5. Remove this line:&amp;nbsp;&amp;lt;GenerateAssemblyInfo&amp;gt;false&amp;lt;/GenerateAssemblyInfo&amp;gt;&lt;/P&gt;&lt;P&gt;6. Added these 3 lines to the first PropertyGroup:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;AssemblyName&amp;gt;PUT_PROJECT_NAME_HERE&amp;lt;/AssemblyName&amp;gt;&lt;BR /&gt;&amp;lt;RootNamespace&amp;gt;PUT_PROJECT_NAME_HERE&amp;lt;/RootNamespace&amp;gt;&lt;BR /&gt;&amp;lt;NoWarn&amp;gt;CA1416;&amp;lt;/NoWarn&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You probably don't need to do this but I wanted to keep my .dlls named the same for consistency with my pre-2025 plugins&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;7. If your project has a post-build command, you'll need to switch it over to the new format. It'll look something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;Target Name="PostBuild" AfterTargets="PostBuildEvent"&amp;gt;&lt;BR /&gt;&amp;lt;Exec Command='&lt;BR /&gt;PUT COMMAND HERE&lt;BR /&gt;' /&amp;gt;&lt;BR /&gt;&amp;lt;/Target&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rather than:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;PropertyGroup&amp;gt;&lt;BR /&gt;&amp;lt;PostBuildEvent&amp;gt;PUT COMMAND HERE&amp;lt;/PostBuildEvent&amp;gt;&lt;BR /&gt;&amp;lt;/PropertyGroup&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obviously this also applies to pre-build events. Don't ask me why the .net upgrade assistant didn't handle this for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;8. If your build configurations have spaces in their names, switch them to underscores because apparently newer .nets have problems with spaces. EX: "Debug 2025" --&amp;gt; "Debug_2025"&lt;/P&gt;&lt;P&gt;9. Open the .sln&lt;/P&gt;&lt;P&gt;10. In the Solution Explorer, right-click the Properties folder for the new netCore project --&amp;gt; Add new item --&amp;gt; choose "Assembly Info File" and name it AssemblyInfo.cs. Then open that file and add this line to the bottom:&amp;nbsp;[assembly: SupportedOSPlatform("windows")] . This way you won't get spammed with warnings about '...this call site is reachable on all platforms...'&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 20:59:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12687965#M6133</guid>
      <dc:creator>kevinaugustino</dc:creator>
      <dc:date>2024-04-04T20:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12688144#M6134</link>
      <description>&lt;P&gt;Well... i`ve done that, this time i didnt touch the code for the Assembly Neutral Language, however, i keep getting the same error:&lt;BR /&gt;&lt;BR /&gt;Severity Code Description Project File Line Suppression State&lt;BR /&gt;Error MC1000 Unknown build error, 'Could not find type 'System.Resources.NeutralResourcesLanguageAttribute' in assembly 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\Facades\System.Runtime.dll'.' MyProject_Core C:\Program Files\dotnet\sdk\8.0.202\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.WinFX.targets 211&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 22:58:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12688144#M6134</guid>
      <dc:creator>Ramoon_Bandeira</dc:creator>
      <dc:date>2024-04-04T22:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12688159#M6135</link>
      <description>&lt;P&gt;I've never messed with any Assembly Neutral Language. I just have 2 separate projects in my solution, one for Revit 2021-2024 targeting .net framework 4.8.1, and the other for Revit 2025 targeting .net8.0-windows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're getting that error while trying to the build your .net8.0-windows project that is referencing the Revit 2025 .dlls? It's weird that the error refers to .net framework 4.8, since nothing in your project should be referencing .net framework after upgrading. Do you have any .net framework nuget packages being referenced from your .net8.0-windows project? Or maybe you accidentally referenced older Revit .dlls built against .net framework? In the Solution Explorer, do you have any warnings in the Dependencies?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 23:13:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12688159#M6135</guid>
      <dc:creator>kevinaugustino</dc:creator>
      <dc:date>2024-04-04T23:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12688180#M6136</link>
      <description>&lt;P&gt;I`m trying to keep both my .Net Framework, and my .NET Core project into a single project of visual Studio.&lt;BR /&gt;The redirections could be made automatically based on the configuration i`m running.&lt;BR /&gt;&lt;BR /&gt;I even managed to make it work for a little while. For a moment i could run the same project for both revit 2025 and its prior versions.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;However, suddenly, this issue come to light, and nothing that i did solved it.&lt;BR /&gt;&lt;BR /&gt;I`ve seen&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4176855"&gt;@ricaun&lt;/a&gt;&amp;nbsp;incredible guide on updating the RevitLookup, i got a couple ideas from it.&lt;BR /&gt;&lt;BR /&gt;I guess that the issue i have is due to having multiple resource files (i.e multiple resource files for localizing texts based on the language that the user is using on revit at the moment), on this case, the .NET Compiler may be getting crazy abouth wich language to choose as the default one, hence the error message.&lt;BR /&gt;&lt;BR /&gt;Anyway, i`ll keep looking for solutions, and i`ll keep you informed about it.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 23:33:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12688180#M6136</guid>
      <dc:creator>Ramoon_Bandeira</dc:creator>
      <dc:date>2024-04-04T23:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12721330#M6137</link>
      <description>&lt;P&gt;You can apply that attribute to your whole class library by doing:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;[assembly: SupportedOSPlatform("windows")]&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 19 Apr 2024 22:15:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12721330#M6137</guid>
      <dc:creator>mhannonQ65N2</dc:creator>
      <dc:date>2024-04-19T22:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12721890#M6138</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;FONT size="2"&gt;You can apply that attribute to your whole class library by doing: [assembly: SupportedOSPlatform("windows")]&lt;/FONT&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Please don't. Just use TargetFramework net8.0-window. Your problem is probably in something else, you can better send your .csproj&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2024 10:25:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12721890#M6138</guid>
      <dc:creator>nice3point</dc:creator>
      <dc:date>2024-04-20T10:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Updating an existing .NET Framework project into a .NET Core one</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12736624#M6139</link>
      <description>&lt;P&gt;Hi guys, please look at how I managed to change my project to a sdk-style:&amp;nbsp;&lt;A href="https://github.com/Tereami/ArchParametrisation/blob/master/ArchParametrisation/ArchParametrisation.csproj" target="_blank" rel="noopener"&gt;https://github.com/Tereami/ArchParametrisation/blob/master/ArchParametrisation/ArchParametrisation.csproj&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Everything works ok, but with one exception: Batch build didn't work now, catches an error&amp;nbsp;&lt;BR /&gt;&lt;EM&gt;NETSDK1005 Assets file 'project.assets.json' doesn't have a target for 'net47'.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;In the same time, every configuration separately builds ok! I've tried to delete .vs and obj folders, restart my computer, upgrade msbuild and nuget, doesn't help.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Extraneous_0-1714149919473.png" style="width: 489px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1355386iBC3DD341A06755A9/image-dimensions/489x206?v=v2" width="489" height="206" role="button" title="Extraneous_0-1714149919473.png" alt="Extraneous_0-1714149919473.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 16:47:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-an-existing-net-framework-project-into-a-net-core-one/m-p/12736624#M6139</guid>
      <dc:creator>Extraneous</dc:creator>
      <dc:date>2024-04-26T16:47:43Z</dc:date>
    </item>
  </channel>
</rss>

