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

newby question: how to build this? #462

Open
thomiel opened this issue Jun 26, 2022 · 1 comment
Open

newby question: how to build this? #462

thomiel opened this issue Jun 26, 2022 · 1 comment

Comments

@thomiel
Copy link

thomiel commented Jun 26, 2022

What are the prerequisites to build the solution? What is the official way to build the current main branch?

Tried with VS 2022 Preview and got:

src\Microsoft.Maui.Graphics.Skia.Forms\Renderer\SkiaGraphicsViewRenderer.Android.cs(13,102,13,107): error CS0234: Type or namespace name "Views" does not exist in namespace "Microsoft.Maui.Graphics.Skia".

Same with PlatformGraphicsView.

samples\GraphicsTester.Mac threw CS0012 errors (type "List<>" is defined in a non-referenced assembly).

Also tried to run the cake script and got "MSBUILD : error MSB1009: The project file does not exist: ./src/DotNet/DotNet.csproj

There should be a "How to Build" section, if there are pre-build steps necessary that fo beyond the standard way of building a solution.

@thomiel
Copy link
Author

thomiel commented Jun 28, 2022

Ok, made some progress after adding .NET 5 (thought that Maui is .NET 6 only).

Using Visual Studio 2022 Preview 3.0 I got some NU1101 when when restoring four SharpDX.* from the obscure packet sources darc-pub-dotnet-runtime-15626cf, dotnet-eng, dotnet-public, dotnet6, dotnet7, skiasharp, skiasharp-stable-2e127353-signed. Only after I added the default packet source nuget.org / https://api.nuget.org/v3/index.json packet restore worked.

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

1 participant