i've got a .net Standard 2.0 dll with a com Interface which i am calling from VBA:
Set xExample = New Example.Example_COM
Response = MsgBox(xExample.Function01("A"))
It works, everything is fine. But now i am Adding my own nuget Package(net standard) into Example DLL and calling a function from this Nuget Package. But now i get an Error in VBA:
Could not load file or assembly "Logging, Version 0.0.0.0"......
First: I dont know why it doesn't have the proper Version number Second: the Logging.dll should be via nuget in the Example.DLL. It crashes as soon as I am calling something from the Logging Nuget....
Everything is signed and has strong names... Somebody has an Idea?
Update: The Example Config
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup Label="Globals">
<SccProjectName>SAK</SccProjectName>
<SccProvider>SAK</SccProvider>
<SccAuxPath>SAK</SccAuxPath>
<SccLocalPath>SAK</SccLocalPath>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Company>OwnCompany</Company>
<Description>OwnCompany.Example - Description</Description>
<Copyright>Copyright © 2020</Copyright>
<PackageId>OwnCompany.Example</PackageId>
<RootNamespace>OwnCompany.Example</RootNamespace>
<Version>2.0.100</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>Example.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="OwnCompany.Logging" Version="2.2.109" />
</ItemGroup>
</Project>