Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assembly dependency error for net core application #144

Open
magnusdanielson opened this issue Feb 5, 2024 · 0 comments
Open

Assembly dependency error for net core application #144

magnusdanielson opened this issue Feb 5, 2024 · 0 comments

Comments

@magnusdanielson
Copy link

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Start a new .net core console application. Add Azure.Communication.Calling.WindowsClient version 1.4.0 or higher.
Add a reference to any class from the assembly.
Compile.
Error message below:

Any log messages given by the failure

Assembly 'Azure.Communication.Calling.WindowsClient.interop' with identity 'Azure.Communication.Calling.WindowsClient.interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'Microsoft.Windows.SDK.NET, Version=10.0.22621.30, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'Microsoft.Windows.SDK.NET' with identity 'Microsoft.Windows.SDK.NET, Version=10.0.22621.24, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

Expected/desired behavior

Compiles witout error

OS and Version?

Windows 11 with Visual Studio 2022, all updates

Versions

Mention any other details that might be useful

Project file:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net6.0-windows10.0.22621.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Azure.Communication.Calling.WindowsClient" Version="1.4.0" />
  </ItemGroup>

</Project>

Thanks! We'll be in touch soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant