Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Nuget package does not add reference to Vulkan.Windows.dll on windows plattforms #46

Closed
TillAlex opened this issue Sep 5, 2016 · 9 comments

Comments

@TillAlex
Copy link
Contributor

TillAlex commented Sep 5, 2016

The nuget package only adds Vulkan.dll to the project references on windows plattforms. I can imagine to possible solutions:

  1. Automatically add Vulkan.Windows.dll on windows plattforms only (is this possible?)
  2. Create a second nuget package for Vulkan.Windows.dll referencing the main VulkanSharp package.
@AlonzoTG
Copy link

AlonzoTG commented Sep 6, 2016

AlexHild wrote:

The nuget package only adds Vulkan.dll to the project references on
windows plattforms. I can imagine to possible solutions:

  1. Automatically add Vulkan.Windows.dll on windows plattforms only (is
    this possible?)
  2. Create a second nuget package for Vulkan.Windows.dll referencing
    the main VulkanSharp package.

Yeah, that there is your generated library, take that and copy it into
whatever project you are doing and add it to it's references...

IQ is a measure of how stupid you feel.

Powers are not rights.

@TillAlex
Copy link
Contributor Author

TillAlex commented Sep 6, 2016

You are right, I can add Vulkan.Windows.dll by hand. It's just not very comfortable, as you have to update the manual reference after every update of the package.

@radekdoulik
Copy link
Contributor

It works OK for me. Tried current https://www.nuget.org/packages/VulkanSharp package.

Do you use the latest nuget package? I added win8 target some time ago (67a5998)

Or maybe you use different target?

screen shot 2016-09-06 at 14 48 21

@TillAlex
Copy link
Contributor Author

TillAlex commented Sep 7, 2016

I'm referencing from a .NET 4.5.2 class library. The reference points to portable-net45+win8+MonoAndroid10 in my case.

I think it would work by adding a non-portable NET45 target including Vulkan.Windows..dll.

@radekdoulik
Copy link
Contributor

Could you attach a sample project? The Vulkan.Windows.dll is targeting win8, so I hoped that would work.

@radekdoulik
Copy link
Contributor

I have added net452 target. Let see if it will help.

@radekdoulik
Copy link
Contributor

OK, rereleased it, hopefully it is right this time. Please try 0.1.3 version.

@TillAlex
Copy link
Contributor Author

TillAlex commented Sep 7, 2016

Works for me. Thanks a lot!

@radekdoulik
Copy link
Contributor

Great, thanks for confirmation!

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

No branches or pull requests

3 participants