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

Error missing assembly when add bundle ID #25021

Closed
raselldev opened this issue Oct 1, 2024 · 3 comments
Closed

Error missing assembly when add bundle ID #25021

raselldev opened this issue Oct 1, 2024 · 3 comments
Labels
platform/iOS 🍎 s/needs-attention Issue has more information and needs another look t/bug Something isn't working

Comments

@raselldev
Copy link

raselldev commented Oct 1, 2024

Description

i just add bundle ID to my MAUI App, after adding bundle ID i got some error:

  1. Error CS0246: The type or namespace name 'Application' could not be found (are you missing a using directive or an assembly reference?) (CS0246)

2.Error CS0246: The type or namespace name 'Shell' could not be found (are you missing a using directive or an assembly reference?) (CS0246)

3.Error CS0246: The type or namespace name 'ContentPage' could not be found (are you missing a using directive or an assembly reference?) (CS0246)

4.Error CS0246: The type or namespace name 'MauiApp' could not be found (are you missing a using directive or an assembly reference?) (CS0246)

Device for development: iMac 2020 M1
IDE: Visual Studio Mac 17.6.14(Build 413)

Steps to Reproduce

  1. Create new Maui App
  2. Run without adding bundle ID -> success
  3. Add bundle ID and save
  4. Build and clean project
  5. Run Project

Link to public reproduction project repository

No response

Version with bug

8.0.3 GA

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 17.5

Did you find any workaround?

No response

Relevant log output

No response

@raselldev raselldev added the t/bug Something isn't working label Oct 1, 2024
@jfversluis
Copy link
Member

What do you mean with Bundle ID? I don't understand what you added exactly.

Can you elaborate a bit more on the exact steps that you have taken with the exact values that you put in somewhere? Also a reproduction is always super helpful.

Thanks!

@jfversluis jfversluis added platform/iOS 🍎 s/needs-info Issue needs more info from the author labels Oct 1, 2024
@raselldev
Copy link
Author

What do you mean with Bundle ID? I don't understand what you added exactly.

Can you elaborate a bit more on the exact steps that you have taken with the exact values that you put in somewhere? Also a reproduction is always super helpful.

Thanks!

Bundle ID is unique indentifier for each apps.
This problem just fixed by update dotnet workload and using VSCode for development.

But Visual Studio Mac cannot use again for long term production?

@dotnet-policy-service dotnet-policy-service bot added s/needs-attention Issue has more information and needs another look and removed s/needs-info Issue needs more info from the author labels Oct 1, 2024
@jfversluis
Copy link
Member

Ah ok! Glad you figured it out.

Yes, unfortunately official support for Visual Studio for Mac has stopped in August. So if it still works for what you are doing, thats great! But other things might stop working over time and will not be fixed any more.

The recommended way forward is using VS Code or use the remote build agent connected to Visual Studio on Windows.

@jfversluis jfversluis closed this as not planned Won't fix, can't repro, duplicate, stale Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform/iOS 🍎 s/needs-attention Issue has more information and needs another look t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants