Skip to content

Commit 66ffcb4

Browse files
simonferquelPackage Release Automation
authored andcommitted
Integration: - Remove support for `Visual Studio for Mac`. Please use `VS Code` going forward. - Performance optimizations. Project generation: - Allow customization of `langversion` when using a `rsp` file. - Move to `slnx` solution generation when using `SDK-Style` projects. - Both `VS Code` and `Visual Studio 2026` are now using `SDK-Style` projects by default.
2 parents 779dfd8 + c611bdb commit 66ffcb4

37 files changed

+244
-1121
lines changed

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
# Denote all files that are truly binary and should not be mergeable.
44
*.dll binary
5-
*.exe binary
5+
*.exe binary
6+
*.png binary

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@ ValidationSuiteResults
88
Assets/Plugins**
99
obj/
1010
/UserSettings/
11+
/ProjectSettings/*.asset
1112
/*.csproj
1213
/*.sln
14+
/*.csproj.user
15+
/*.slnx
1316
/Temp
1417
*.bak
1518
*.bak.meta
1619
.DS_Store
1720

21+
Packages/packages-lock.json
1822
Packages/com.unity.ide.visualstudio/Editor/COMIntegration/Release/build/
1923
Packages/com.unity.ide.visualstudio/Editor/COMIntegration/Release/COMIntegration.exe
20-
Packages/com.unity.ide.visualstudio/Editor/Plugins/AppleEventIntegration.bundle/
21-
!Packages/com.unity.ide.visualstudio/Editor/Plugins/AppleEventIntegration.bundle/**/*.meta

.scripts/build-appleeventintegration.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

.yamato/CI.yml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -40,28 +40,11 @@ build_cpp_win:
4040
- "Packages/com.unity.ide.visualstudio/Editor/COMIntegration/Release/COMIntegration.exe"
4141

4242

43-
build_native_mac:
44-
name: Build Apple Event Integration
45-
agent:
46-
type: Unity::VM::osx
47-
image: test-platform/macos-10.15:stable
48-
flavor: b1.large
49-
config:
50-
env_vars:
51-
- PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
52-
commands:
53-
- .scripts/build-appleeventintegration.sh
54-
artifacts:
55-
appleeventintegration:
56-
paths:
57-
- "Packages/com.unity.ide.visualstudio/Editor/Plugins/AppleEventIntegration.bundle/**"
58-
59-
6043
pack:
6144
name: Pack
6245
agent:
6346
type: Unity::VM
64-
image: package-ci/win10:stable
47+
image: package-ci/win10:v4
6548
flavor: b1.large
6649
commands:
6750
- npm install upm-ci-utils@latest -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
@@ -72,7 +55,6 @@ pack:
7255
- "**/upm-ci~/packages/**/*"
7356
dependencies:
7457
- .yamato/CI.yml#build_cpp_win
75-
- .yamato/CI.yml#build_native_mac
7658

7759

7860
commit_ci_release:
@@ -119,11 +101,6 @@ run_vetting_test_project_{{ editor.version }}:
119101
PATH: /home/bokken/bin:/home/bokken/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/home/bokken/.npm-global/bin::/home/bokken/npm-global/bin
120102
DISPLAY: ":0"
121103
commands:
122-
{% if platform.name == "linux" -%}
123-
- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade --user
124-
{% else -%}
125-
- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
126-
{% endif -%}
127104
- npm config set prefix '~/npm-global'
128105
- npm install upm-ci-utils@latest -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
129106
- unity-downloader-cli -u {{editor.version}} -c editor --fast --wait --published-only
@@ -152,11 +129,6 @@ run_feature_test_project_{{ platform.name }}_{{ editor.version }}:
152129
DISPLAY: ":0"
153130
{% endif %}
154131
commands:
155-
{% if platform.name == "linux" -%}
156-
- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade --user
157-
{% else -%}
158-
- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
159-
{% endif -%}
160132
- {{ platform.envsetup }}
161133
- unity-downloader-cli -u {{editor.version}} -c editor -c linux -c macos -c windows --fast --wait --published-only
162134
- npm install upm-ci-utils@latest -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm

Internal/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# How to contribute (for everyone)
77

88
- Please create a PR against the latest `version-x.y.z` branch.
9-
- In the [`.scripts`](.scripts) folder, you should find how to build IDE integrations with VS and VS for Mac. Make sure to remove all build artifacts if needed, given we do not want Unity to import unwanted files. You can find as well extra notes regarding building the MacOS part [here](Packages/com.unity.ide.visualstudio/Editor/AppleEventIntegration~/howtobuild.txt), and the Windows part [here](https://github.cds.internal.unity3d.com/unity/com.unity.ide.visualstudio/blob/next/master/Packages/com.unity.ide.visualstudio/Editor/COMIntegration/COMIntegration~/howtobuild.txt).
9+
- In the [`.scripts`](.scripts) folder, you should find how to build IDE integrations with VS and VS for Mac. Make sure to remove all build artifacts if needed, given we do not want Unity to import unwanted files. You can find as well extra notes regarding building the Windows specific part [here](https://github.cds.internal.unity3d.com/unity/com.unity.ide.visualstudio/blob/next/master/Packages/com.unity.ide.visualstudio/Editor/COMIntegration/COMIntegration~/howtobuild.txt).
1010
- Please add Microsoft folks on all PRs.
1111

1212
# How to publish new version (for Microsoft)

Packages/com.unity.ide.visualstudio.tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "com.unity.ide.visualstudio.tests",
44
"displayName": "Visual Studio Editor",
55
"description": "Code editor integration for supporting Visual Studio as code editor for unity. Adds support for generating csproj files for intellisense purposes, auto discovery of installations, etc.",
6-
"version": "2.0.22",
6+
"version": "2.0.24",
77
"unity": "2019.4",
88
"unityRelease": "25f1",
99
"dependencies": {

Packages/com.unity.ide.visualstudio/CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
# Code Editor Package for Visual Studio
22

3+
## [2.0.24] - 2025-09-04
4+
5+
Integration:
6+
7+
- Remove support for `Visual Studio for Mac`. Please use `VS Code` going forward.
8+
- Performance optimizations.
9+
10+
Project generation:
11+
12+
- Allow customization of `langversion` when using a `rsp` file.
13+
- Move to `slnx` solution generation when using `SDK-Style` projects.
14+
- Both `VS Code` and `Visual Studio 2026` are now using `SDK-Style` projects by default.
15+
16+
17+
## [2.0.23] - 2025-02-03
18+
19+
Integration:
20+
21+
- Monitor `additionalfile` extension by default.
22+
- Try opening a Visual Studio Code workspace if there's one (`.code-workspace` file in the Unity project).
23+
24+
Project generation:
25+
26+
- Identify `asset`, `meta`, `prefab` and `unity` files as `yaml` (Visual Studio Code).
27+
- Add `sln`/`csproj` file nesting (Visual Studio Code).
28+
- Improve SDK style project generation.
29+
30+
331
## [2.0.22] - 2023-10-03
432

533
Integration:
Binary file not shown.
357 KB
Loading

Packages/com.unity.ide.visualstudio/Documentation~/using-visual-studio-editor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
To use the package, go to **Edit** > **Preferences** > **External Tools** > **External Script Editor** and select the version of **Visual Studio** you have installed. When you select this option, the window reloads and displays settings that control production of .csproj files.
44

5-
![External Tools tab in the Preferences window](Images/external-tools-tab.png)
5+
![External Tools tab in the Preferences window](Images/vs-external-tools.png)
66

77
## Generate .csproj files
88

@@ -20,4 +20,4 @@ These settings control whether to generate .csproj files for any installed packa
2020
| **Built-in packages** | Any package that is already installed as part of the default Unity installation. |
2121
| **Tarball packages** | Any package you install from a GZip tarball archive on the local machine, outside of your Unity project. |
2222
| **Unknown packages** | Any package which Unity cannot determine an origin for. This could be because the package doesn’t list its origin, or that Unity doesn’t recognize the origin listed. |
23-
| **Player projects** | For each player project, generate an additional .csproj file named ‘originalProjectName.Player.csproj’. This allows different project types to have their code included in Visual Studio’s systems, such as assembly definitions or testing suites. |
23+
| **Player projects** | For each player project, generate an additional .csproj file named ‘originalProjectName.Player.csproj’. This allows different project types to have their code included in Visual Studio’s systems, such as assembly definitions or testing suites. |

0 commit comments

Comments
 (0)