/Users/runner/.nuget/packages/electronnet.core/0.4.1/build/ElectronNET.MigrationChecks.targets(77,30): error MSB4185: The function "ReadAllLines" on type "System.IO.File" is not available for execution as an MSBuild property function. [/Users/runner/work/***.csproj]
Version: 0.4.1
.NET 10
Steps to Reproduce:
- Was building using 0.4.0 and everything was working
- Updated to 0.4.1
- Build in GitHub Action using
dotnet publish -p:PublishProfile=osx-x64 -p:Version=XXX
Publish profile:
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<DeleteExistingFiles>true</DeleteExistingFiles>
<PublishProvider>FileSystem</PublishProvider>
<PublishUrl>publish\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\</PublishUrl>
<WebPublishMethod>FileSystem</WebPublishMethod>
<_TargetId>Folder</_TargetId>
<TargetFramework>net10.0</TargetFramework>
<RuntimeIdentifier>osx-x64</RuntimeIdentifier>
<ProjectGuid>03d8349c-7e89-42fa-a0d0-83672e658b68</ProjectGuid>
<SelfContained>true</SelfContained>
</PropertyGroup>
</Project>