Closed TillAlex closed 8 years ago
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.
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.
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 (https://github.com/mono/VulkanSharp/commit/67a59981d16befcff73cd0ccbde1b53a23892c3a)
Or maybe you use different target?
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.
Could you attach a sample project? The Vulkan.Windows.dll is targeting win8, so I hoped that would work.
I have added net452 target. Let see if it will help.
OK, rereleased it, hopefully it is right this time. Please try 0.1.3 version.
Works for me. Thanks a lot!
Great, thanks for confirmation!
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.