You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Integration:
- Add support for `XDG_DATA_DIRS` and `.desktop` files on Linux for `VS 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.
@@ -49,7 +49,7 @@ public void AllEditorAssemblies_AreCollected()
49
49
50
50
foreach(AssemblyeditorAssemblyineditorAssemblies)
51
51
{
52
-
Assert.IsTrue(collectedAssemblies.Any(assembly =>assembly.name==editorAssembly.name&&assembly.outputPath==@"Temp\Bin\Debug\"),$"{editorAssembly.name}: was not found in collection.");
52
+
Assert.IsTrue(collectedAssemblies.Any(assembly =>assembly.name==editorAssembly.name&&assembly.outputPath==AssemblyNameProvider.AssemblyOutput),$"{editorAssembly.name}: was not found in collection.");
53
53
}
54
54
}
55
55
@@ -91,7 +91,7 @@ public void PlayerAssemblies_AreNotCollected_BeforeToggling()
91
91
92
92
foreach(AssemblyplayerAssemblyinplayerAssemblies)
93
93
{
94
-
Assert.IsFalse(collectedAssemblies.Any(assembly =>assembly.name==playerAssembly.name&&assembly.outputPath==@"Temp\Bin\Debug\Player\"),$"{playerAssembly.name}: was found in collection.");
94
+
Assert.IsFalse(collectedAssemblies.Any(assembly =>assembly.name==playerAssembly.name&&assembly.outputPath==AssemblyNameProvider.PlayerAssemblyOutput),$"{playerAssembly.name}: was found in collection.");
95
95
}
96
96
}
97
97
@@ -106,7 +106,7 @@ public void AllPlayerAssemblies_AreCollected_AfterToggling()
106
106
107
107
foreach(AssemblyplayerAssemblyinplayerAssemblies)
108
108
{
109
-
Assert.IsTrue(collectedAssemblies.Any(assembly =>assembly.name==playerAssembly.name&&assembly.outputPath==@"Temp\Bin\Debug\Player\"),$"{playerAssembly.name}: was not found in collection.");
109
+
Assert.IsTrue(collectedAssemblies.Any(assembly =>assembly.name==playerAssembly.name&&assembly.outputPath==AssemblyNameProvider.PlayerAssemblyOutput),$"{playerAssembly.name}: was not found in collection.");
Copy file name to clipboardExpand all lines: Packages/com.unity.ide.visualstudio.tests/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
"name": "com.unity.ide.visualstudio.tests",
4
4
"displayName": "Visual Studio Editor",
5
5
"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.",
Copy file name to clipboardExpand all lines: Packages/com.unity.ide.visualstudio/CHANGELOG.md
+36-5Lines changed: 36 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,36 @@
1
1
# Code Editor Package for Visual Studio
2
2
3
+
## [2.0.22] - 2023-10-03
4
+
5
+
Integration:
6
+
7
+
- Add support for `XDG_DATA_DIRS` and `.desktop` files on Linux for `VS Code` discovery.
8
+
- Use compile-time platform-specifics instead of using runtime conditions.
9
+
10
+
Project generation:
11
+
12
+
- Suppress `USG0001` warnings.
13
+
- Mark referenced assemblies as private (to not copy extra files to output directory when building).
14
+
- Add Unity capability to SDK-Style projects.
15
+
- Prevent circular dependency errors with SDK-Style projects.
16
+
17
+
18
+
## [2.0.21] - 2023-09-05
19
+
20
+
Integration:
21
+
22
+
- Only disable the legacy `com.unity.ide.vscode` package going forward.
23
+
- Fix json parsing issues with specific non-UTF code pages.
24
+
25
+
Project generation:
26
+
27
+
- Target `netstandard2.1` instead of `netstandard2.0`.
28
+
- Set `defaultSolution` in `settings.json`.
29
+
- Remove `files.exclude` entries for root `csproj` and `sln` files in `settings.json` when needed.
30
+
- Add `vstuc` launch configuration to `launch.json` when needed.
31
+
- Add `visualstudiotoolsforunity.vstuc` entry to `extensions.json` when needed.
32
+
- You can prevent the package from patching those configuration files by creating a `.vscode/.vstupatchdisable` file.
33
+
3
34
## [2.0.20] - 2023-06-27
4
35
5
36
Integration:
@@ -131,7 +162,7 @@ Documentation:
131
162
132
163
Integration:
133
164
134
-
- Remove com.unity.nuget.newtonsoft-json dependency in favor of the built-in JsonUtility for the VS Test Runner.
165
+
- Remove `com.unity.nuget.newtonsoft-json` dependency in favor of the built-in JsonUtility for the VS Test Runner.
135
166
136
167
## [2.0.6] - 2021-01-20
137
168
@@ -169,7 +200,7 @@ Integration:
169
200
Project generation:
170
201
171
202
- Added C#8 language support.
172
-
- Added UnityProjectGeneratorVersion property.
203
+
- Added `UnityProjectGeneratorVersion` property.
173
204
- Local and Embedded packages are now selected by default for generation.
174
205
- Added support for asmdef root namespace.
175
206
@@ -191,7 +222,7 @@ Integration:
191
222
## [2.0.1] - 2020-03-19
192
223
193
224
- 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).
194
-
- Use Unity's TypeCache to improve project generation speed.
225
+
- Use Unity's `TypeCache` to improve project generation speed.
195
226
- Properly check for a managed assembly before displaying a warning regarding legacy PDB usage.
196
227
- Add support for selective project generation (embedded, local, registry, git, builtin, player).
197
228
@@ -241,8 +272,8 @@ Integration:
241
272
242
273
## [1.0.4] - 2019-04-12
243
274
244
-
- Fixing null reference issue for callbacks to AssetPostProcessor.
245
-
- Ensure Path.GetFullPath does not get an empty string.
275
+
- Fixing null reference issue for callbacks to `AssetPostProcessor`.
276
+
- Ensure `Path.GetFullPath` does not get an empty string.
0 commit comments