Integration:
- Add support for
XDG_DATA_DIRS
and.desktop
files on Linux forVS Code
discovery. - Use compile-time platform-specifics instead of using runtime conditions.
Project generation:
- Suppress
USG0001
warnings. - Mark referenced assemblies as private (to not copy extra files to output directory when building).
- Add Unity capability to SDK-Style projects.
- Prevent circular dependency errors with SDK-Style projects.
Integration:
- Only disable the legacy
com.unity.ide.vscode
package going forward. - Fix json parsing issues with specific non-UTF code pages.
Project generation:
- Target
netstandard2.1
instead ofnetstandard2.0
. - Set
defaultSolution
insettings.json
. - Remove
files.exclude
entries for rootcsproj
andsln
files insettings.json
when needed. - Add
vstuc
launch configuration tolaunch.json
when needed. - Add
visualstudiotoolsforunity.vstuc
entry toextensions.json
when needed. - You can prevent the package from patching those configuration files by creating a
.vscode/.vstupatchdisable
file.
Integration:
- Internal API refactoring.
- Add support for Visual Studio Code.
Project generation:
- Add support for Sdk Style project generation.
- Fix an issue related to missing properties with 2021.3.
Integration:
- Performance improvements with
EditorApplication.update
callbacks.
Project generation:
- Add extra compiler options for analyzers and source generators.
Integration:
- Fix rare deadlocks while discovering or launching Visual Studio on Windows.
- Improve launching Visual Studio on macOs.
Project generation:
- Include analyzers from response files.
- Update supported C# versions.
- Performance improvements.
Integration:
- Prevent ADB Refresh while being in safe-mode with a URP project
- Fixed an issue keeping the progress bar visible even after opening a script with Visual Studio.
Integration:
- Improved project generation performance.
- Added support for keeping file/folder structure when working with external packages.
- Fixed project generation not being refreshed when selecting Visual Studio as the preferred external editor.
Integration:
- Remove package version checking.
Integration:
- Fixed wrong path to analyzers in generated projects when using external packages.
- Fixed selective project generation not creating Analyzer/LangVersion nodes.
- Fixed asmdef references with Player projects.
Documentation:
- Added new documentation including ToC, overview, how to use and images.
Integration:
- Do not block asset opening when only a VS instance without a loaded solution is found.
- Only check package version once per Unity session.
- Improved support for Visual Studio For Mac 2022.
Integration:
- Added support for Visual Studio and Visual Studio For Mac 2022.
- Fixed an issue when the package was enabled for background processes.
Project generation:
- Use absolute paths for Analyzers and rulesets.
Project generation:
- Improved project generation performance when a file is moved, deleted or modified.
Integration:
- Improved Inner-loop performance by avoiding to call the package manager when looking up
vswhere
utility. - Fixed a network issue preventing the communication between Visual Studio and Unity on Windows.
Project generation:
- Added support for CLI.
Integration:
- Improved performance when discovering Visual Studio installations.
- Warn when legacy assemblies are present in the project.
- Warn when the package version is not up-to-date.
Project generation:
- Improved generation performance (especially with DOTS enabled projects).
- Improved stability.
- Updated Analyzers lookup strategy.
- Fixed .vsconfig file not generated when using "regenerate all".
Integration:
- Improved automation plugins.
Documentation:
- Open sourced automation plugins.
Integration:
- Remove
com.unity.nuget.newtonsoft-json
dependency in favor of the built-in JsonUtility for the VS Test Runner.
Project generation:
- Improved language version detection.
Integration:
- Added support for the VS Test Runner.
- Added initial support for displaying asset usage.
- Fixed remaining issues with special characters in file/path.
Integration:
- Disable legacy pdb symbol checking for Unity packages.
Project generation:
- Added support for embedded Roslyn analyzer DLLs and ruleset files.
- Warn the user when the opened script is not part of the generation scope.
- Warn the user when the selected Visual Studio installation is not found.
- Generate a .vsconfig file to ensure Visual Studio installation is compatible.
Integration:
- Fix automation issues on MacOS, where a new Visual Studio instance is opened every time.
Project generation:
- Added C#8 language support.
- Added
UnityProjectGeneratorVersion
property. - Local and Embedded packages are now selected by default for generation.
- Added support for asmdef root namespace.
Integration:
- When the user disabled auto-refresh in Unity, do not try to force refresh the Asset database.
- Fix Visual Studio detection issues with languages using special characters.
- Added support for solution folders.
- Only bind the messenger when the VS editor is selected.
- Warn when unable to create the messenger.
- Fixed an initialization issue triggering legacy code generation.
- Allow package source in assembly to be generated when referenced from asmref.
- When Visual Studio installation is compatible with C# 8.0, setup the language version to not prompt the user with unsupported constructs. (So far Unity only supports C# 7.3).
- Use Unity's
TypeCache
to improve project generation speed. - Properly check for a managed assembly before displaying a warning regarding legacy PDB usage.
- Add support for selective project generation (embedded, local, registry, git, builtin, player).
- Improved Visual Studio and Visual Studio for Mac automatic discovery.
- Added support for the VSTU messaging system (start/stop features from Visual Studio).
- Added support for solution roundtrip (preserves references to external projects and solution properties).
- Added support for VSTU Analyzers (requires Visual Studio 2019 16.3, Visual Studio for Mac 8.3).
- Added a warning when using legacy pdb symbol files.
- Fixed issues while Opening Visual Studio on Windows.
- Fixed issues while Opening Visual Studio on Mac.
- Fix Bridge assembly loading with non VS2017 editors.
- Move internal extension handling to package.
- Fix detection of visual studio for mac installation.
- Fix ignored comintegration executable.
- Updated MonoDevelop support, to pass correct arguments, and not import VSTU plugin.
- Use release build of COMIntegration for Visual Studio.
- Ensure asset database is refreshed when generating csproj and solution files.
- Add support for generating all csproj files.
- Fix relative package paths.
- Fix opening editor on mac.
- Fixing null reference issue for callbacks to
AssetPostProcessor
. - Ensure
Path.GetFullPath
does not get an empty string.
- Using the newly created api to integrate Visual Studio with Unity.