Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Issue with Samples #106

Closed
Russ-McClelland opened this issue Mar 19, 2021 · 1 comment
Closed

Build Issue with Samples #106

Russ-McClelland opened this issue Mar 19, 2021 · 1 comment

Comments

@Russ-McClelland
Copy link

MacOS
After updating VS, XCode, downloading and installing all the packages from this list (https://github.com/dotnet/net6-mobile-samples), and rebooting, I get the following error following the readme instructions:

dotnet build HelloMaui -t:Run -f net6.0-maccatalyst
Microsoft (R) Build Engine version 16.10.0-preview-21126-01+6819f7ab0 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

Determining projects to restore...
All projects are up-to-date for restore.
/Users/Projects/Microsoft/net6-mobile-samples/HelloMaui/HelloMaui.csproj : error MSB4057: The target "Run" does not exist in the project.

@jonathanpeppers
Copy link
Member

You need --no-restore as described here:

https://github.com/dotnet/net6-mobile-samples#net-maui

This should be fixed in the next preview: dotnet/sdk#15485

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants