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

FileLoadException when trying example #2

Closed
mika76 opened this issue Oct 18, 2021 · 2 comments
Closed

FileLoadException when trying example #2

mika76 opened this issue Oct 18, 2021 · 2 comments

Comments

@mika76
Copy link

mika76 commented Oct 18, 2021

Trying the example code from the readme, just adding in the nuget package and I get the following exception... Tried on both MacOs and Windows 10. Am I missing dome dependency?

csproj...

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

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net5.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="WSCT.Wrapper.Desktop" Version="1.2.2" />
  </ItemGroup>

</Project>

result...

System.IO.FileLoadException
  HResult=0x80131040
  Message=Could not load file or assembly 'WSCT, Version=6.1.3.0, Culture=neutral, PublicKeyToken=null'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
  Source=<Cannot evaluate the exception source>
@mistial-dev
Copy link
Contributor

I'm using the following in the .csproj, and it's working fine.

  <ItemGroup>
    <PackageReference Include="WSCT.Core" Version="6.2.0" />
    <PackageReference Include="WSCT.Wrapper.Desktop" Version="1.3.0" />
  </ItemGroup>

@mika76
Copy link
Author

mika76 commented Dec 29, 2022

Shooo this was a looong time ago 😉 I'll try it again some time and see if it's still an issue.

@zetoken zetoken closed this as completed Dec 3, 2023
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

3 participants