RegAsm : error RA0000: Could not load file or assembly 'Xarial.XCad.SolidWorks, Version=0.6.8.0,
Culture=neutral, PublicKeyToken=60dcaf351d4060db' or one of its dependencies. The system cannot find the file specified. [C:\Users\lukasz.dlucik\Desktop\WSPOLNY\solid50\solid50.csproj]
C:\Users\lukasz.dlucik\.nuget\packages\xarial.xcad.solidworks\0.6.8\build\Xarial.XCad.SolidWorks.targets(8,4): error MSB3073: The command "%windir%\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe "C:\Users\lukasz.dlucik\Desktop\WSPOLNY\solid50\bin\Debug\net5.0\solid50.dll" /codebase" exited with code 100. [C:\Users\lukasz.dlucik\Desktop\WSPOLNY\solid50\solid50.csproj]
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<EnableComHosting>true</EnableComHosting>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="xarial.xcad.solidworks" Version="0.6.8" />
</ItemGroup>
</Project>