Preview7 & PInvoke
MartyIX opened this issue · comments
MartyIX commented
Hi Team,
when compiling in my MSVS 17 preview 3.1, I get a compilation error that PInvoke.User32
cannot be found. Could it be fixed?
Thank you
Martin Juul commented
Add the sources below to NuGet.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
+ <add key="nuget" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
+ <add key="vs-impl-public" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-impl/nuget/v3/index.json" protocolVersion="3" />
<add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
<add key="xamarin" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json" />
<add key="public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
</packageSources>
</configuration>
Then restore the packages for your solution.
MartyIX commented
I have found a workaround too in the meantime. Thanks.