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

Library projects targeting net6.0 and UseMaui set to true VSMac project UI properties doesn't work #13674

Closed
awattar opened this issue Mar 3, 2023 · 12 comments
Labels
area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging not-regression platform/macOS 🍏 macOS / Mac Catalyst s/move-to-vs-feedback Tells automation to ask the person to use VS Feedback to report the issue t/bug Something isn't working

Comments

@awattar
Copy link

awattar commented Mar 3, 2023

Description

For this very basic project setting:

<Project Sdk="Microsoft.NET.Sdk">
	<PropertyGroup>
		<TargetFramework>net6.0</TargetFramework>
		<UseMaui>true</UseMaui>
		<ImplicitUsings>false</ImplicitUsings>
	</PropertyGroup>
</Project>

VSMac UI Properties configuration cannot be open.

When changing to <UseMauiEssentials>true</UseMauiEssentials> project properties are being displayed without issues.

Could be related to: #6529

Steps to Reproduce

Create MAUI SDK library project with configuration specified in the description.

Link to public reproduction project repository

NA

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

macOS

Affected platform versions

net6.0 net7.0

Did you find any workaround?

Partial workaround for projects that switching to <UseMauiEssentials>true</UseMauiEssentials> is sufficient.

Relevant log output

No response

VS bug #1759228

@awattar awattar added the t/bug Something isn't working label Mar 3, 2023
@drasticactions drasticactions added the s/move-to-vs-feedback Tells automation to ask the person to use VS Feedback to report the issue label Mar 4, 2023
@ghost
Copy link

ghost commented Mar 4, 2023

Thanks for the issue report @awattar! This issue appears to be a problem with Visual Studio, so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS.

If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.

  1. Go to the Visual Studio for Windows feedback tool or Visual Studio for Mac feedback tool to report the issue
  2. Close this bug, and consider adding a link to the VS Feedback issue so that others can follow its activity there.

@mariaghiondea
Copy link

@awattar are you on the latest VS for Mac? We just tried it on 17.6 Preview 1 and cannot repro this behaviour.

@awattar
Copy link
Author

awattar commented Mar 7, 2023

@mariaghiondea I'm on the latest stable:

Visual Studio Enterprise 2022 for Mac
Version 17.5 (build 1802)

Should I check on preview?

@mariaghiondea
Copy link

If you can, that would be good.

@awattar
Copy link
Author

awattar commented Mar 7, 2023

@mariaghiondea Unfortunately it still doesn't work on:

Visual Studio Enterprise 2022 for Mac Preview
Version 17.5 Preview (17.5 build 1766)

nor

Visual Studio Enterprise 2022 for Mac Preview
Version 17.6 Preview (17.6 build 402)

@mariaghiondea
Copy link

That's the build that it doesn't repro for me on... Thank you for trying!
We've made a change in this area for Preview 2. I'll reach out again after that is released so we can try and see if it solves it.

@awattar
Copy link
Author

awattar commented Mar 7, 2023

@mariaghiondea Sure, let me know when ready.

@Eilon Eilon added the area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging label Mar 14, 2023
@mariaghiondea
Copy link

Preview 2 is released. Could you try this again on it?

@awattar
Copy link
Author

awattar commented Mar 16, 2023

@mariaghiondea Hi. It was working right after updating from the "VS->Check for Updates..." and then it showed a notification in VS above the Solution explorer that there were outdated workloads and it suggested additional installation. There were also waring signs right next to the each of the subproject in this solution. After updating workloads as suggested properties once again stopped to showing.

@mariaghiondea
Copy link

Thanks for checking.
Could you please use VS for Mac to report this so we can get more diagnostics?
Go to Visual Studio for Mac feedback tool to report the issue
Close this bug, and consider adding a link to the VS Feedback issue so that others can follow its activity there.

@awattar
Copy link
Author

awattar commented Mar 21, 2023

@mariaghiondea will do.

@ghost ghost locked as resolved and limited conversation to collaborators Apr 26, 2023
@samhouts samhouts added the platform/macOS 🍏 macOS / Mac Catalyst label Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging not-regression platform/macOS 🍏 macOS / Mac Catalyst s/move-to-vs-feedback Tells automation to ask the person to use VS Feedback to report the issue t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants