dansiegel / Mobile.BuildTools

The Mobile.BuildTools makes it easier to develop code bases in a clean, consistent, secure, and configurable way. Determine at Build which environment your app needs to run on, and what Client Secrets it should have. Plus many more amazing features!
http://mobilebuildtools.com
MIT License
228 stars 29 forks source link

Secrets class in VSMac not showing intellisense #164

Closed soydachi closed 3 years ago

soydachi commented 3 years ago

Description

The Secrets class created in obj is not showing in VSMac. Something is not working in mac. Same example works in a Windows machine.

Reproduction Steps

Steps to reproduce the behavior:

  1. Create .NET Standard class library
  2. Create secret.json file
  3. Add latest Mobile.BuildTools nuget package
  4. Rebuild and see in some class if exist Secrets class.

Expected Behavior

Work with the Secrets class created in obj folder

Actual Behavior

Secrets class created in obj folder but vs for mac intellisense is not showing it up.

Environment

Reproduction App

image

dansiegel commented 3 years ago

Close the Solution and Reopen the solution, intellisense should pick up the class then. This is a known Code Generation issue that the .NET team is only now in C# 9 starting to understand...

soydachi commented 3 years ago

I already do that too and not working. That issue was know already yes. But this is something different I guess.

dansiegel commented 3 years ago

Don't know what to tell you. I use this in a lot of project and don't have this problem.. The way that the Mobile.BuildTools goes about Code Gen, it's actually been more reliable than the C# 9 code gen for getting picked up by intellisense.

soydachi commented 3 years ago

I don't know if this is something about the last version of VSMac. Have you tested in a mac with new project if this is working for you right now?

Thank you!

gaurakshay commented 3 years ago

Close the Solution and Reopen the solution, intellisense should pick up the class then. This is a known Code Generation issue that the .NET team is only now in C# 9 starting to understand...

This works for me (Visual Studio V 8.8.8, Build 12)

marqueeeeeee commented 3 years ago

I'am experiencing this also on the latest VS Mac 8.10.6, @soydachi did you resolve this issue?