XamlIslandsNET5 icon indicating copy to clipboard operation
XamlIslandsNET5 copied to clipboard

Can't build XamlIslandsNet5

Open mturcotte36pix opened this issue 4 years ago • 6 comments

Hi,

I have sucessfully built CsWinRT following your procedure. However, when I try to then build XAML Islands, I get these error messages:

image image

I tried running a nuget restore from visual studio, but then I get this error: image

it does not find this file/folder: image

and sure enough, there is no bin/nuget in my xamlisland directory:

image

Is there something I am doing wrong?

Thank you,

mturcotte36pix avatar Mar 30 '22 13:03 mturcotte36pix

please try run "msbuild /t:restore XamlIslandsNET5NoSamples.sln"

nesherhh avatar Mar 31 '22 09:03 nesherhh

same kind of message:

image

mturcotte36pix avatar Mar 31 '22 15:03 mturcotte36pix

have you tried to create the directory manually or with Visual Studio 2022?

nesherhh avatar Mar 31 '22 15:03 nesherhh

I tried! I am not at the office right now, I can't tell you the exact error message I am getting, I will update this with more screenshots as soon as I can, but yeah, I tried it, and still get an error message.

mturcotte36pix avatar Apr 05 '22 12:04 mturcotte36pix

Trying to restore the packages, I get the following error message:

Error occurred while restoring NuGet packages: Failed to retrieve information about 'Microsoft.Windows.CsWinRT' from remote source 'https://nuget.pkg.github.com/nesherhh/download/microsoft.windows.cswinrt/index.json'

mturcotte36pix avatar Apr 06 '22 17:04 mturcotte36pix

Just remove this source from nuget.config

nesherhh avatar Apr 07 '22 05:04 nesherhh