-
Notifications
You must be signed in to change notification settings - Fork 676
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add nag message when project.json projects are opened
- Loading branch information
1 parent
762d020
commit a76c6de
Showing
2 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a76c6de
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How can I disable this nag?
a76c6de
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no plan to add a way to disable the 'project.json' migration nag. Eventually, project.json will simply stop working in C# for VS Code. So, the easiest way to get rid of the message is to migrate your project forward.
a76c6de
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How can I do that when I'm required to use an old version of Unity which auto-generates these files?
To clarify my position: I don't use VS code for compiling/debugging but I often use it to quickly pull up files/directories for rapid iteration. I'd love to not have these nag windows get in my face every time I want to browse some files or examine diffs with git.
a76c6de
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is with Unity generating 'project.json' files for UWP, correct? This is the first request we've had for this since adding that nag message last August. I believe this is a point-in-time problem, correct?
a76c6de
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is correct.
This is an issue I've lived with for a while. I've finally decided today to try and find a solution. Adding '"csharp.suppressDotnetRestoreNotification": true' to my user settings fixed the rest of my issues.
a76c6de
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can certainly remove this and rebuild the extension for UWP work.