FireCubeStudios / Protecc

It protecc
https://apps.microsoft.com/store/detail/protecc-2fa-client/9PJX91M06TZS
MIT License
353 stars 42 forks source link

I'm unable to build this under VS 22 on Windows 11 #23

Closed ezxpro closed 1 year ago

ezxpro commented 1 year ago

This is what I get instead: image

spooksbit commented 1 year ago

Double check to see if you have nuget package source enabled. Your error messages seem to suggest that you don't have it enabled (or you can't reach it?).

In VS, right click the solution -> "Manage Nuget Packages for Solution", and then click the gear to see what package source you have enabled. You can see that "Microsoft Visual Studio Offline Packages" (referenced in your error logs) should be referencing what you have on your local hard drive vs actually fetching the nuget packages from nuget.org.

image

image

FireCubeStudios commented 1 year ago

Yeah looks like the nuget packages are missing. Do what @spooksbit suggested and also check the correct nuget packages are installed

ezxpro commented 1 year ago

@FireCubeStudios that solved the dependency problem. Now I'm getting a NullReferenceException at line 66 of OOBEPage.xaml.cs Apparently it's an attempt to modify a property of an object that was not instantiated. I'm just trying to build this for fun, so I don't really know how to fix this.

FireCubeStudios commented 1 year ago

when vs hits the exception it will show a flyout and in that flyout you can check a box that ignores that exception

Lol i need to use #nullable next time for this