Skip to content

Commit eb2b500

Browse files
sailroPackage Release Automation
authored andcommitted
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 of `netstandard2.0`. - Set `defaultSolution` in `settings.json`. - Remove `files.exclude` entries for root `csproj` and `sln` files in `settings.json` when needed. - Add `vstuc` launch configuration to `launch.json` when needed. - Add `visualstudiotoolsforunity.vstuc` entry to `extensions.json` when needed. - You can prevent the package from patching those configuration files by creating a `.vscode/.vstupatchdisable` file.
2 parents 1ae1f9f + 18e89cd commit eb2b500

File tree

9 files changed

+1726
-95
lines changed

9 files changed

+1726
-95
lines changed

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.19",
6+
"version": "2.0.21",
77
"unity": "2019.4",
88
"unityRelease": "25f1",
99
"dependencies": {

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

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,34 @@
11
# Code Editor Package for Visual Studio
22

3-
## [2.0.19] - 2023-06-14
3+
## [2.0.21] - 2023-09-05
44

55
Integration:
66

7+
- Only disable the legacy `com.unity.ide.vscode` package going forward.
8+
- Fix json parsing issues with specific non-UTF code pages.
9+
10+
Project generation:
11+
12+
- Target `netstandard2.1` instead of `netstandard2.0`.
13+
- Set `defaultSolution` in `settings.json`.
14+
- Remove `files.exclude` entries for root `csproj` and `sln` files in `settings.json` when needed.
15+
- Add `vstuc` launch configuration to `launch.json` when needed.
16+
- Add `visualstudiotoolsforunity.vstuc` entry to `extensions.json` when needed.
17+
- You can prevent the package from patching those configuration files by creating a `.vscode/.vstupatchdisable` file.
18+
19+
20+
## [2.0.20] - 2023-06-27
21+
22+
Integration:
23+
24+
- Internal API refactoring.
725
- Add support for Visual Studio Code.
8-
26+
927
Project generation:
1028

11-
- Add support for Sdk Style poject generation.
29+
- Add support for Sdk Style project generation.
1230
- Fix an issue related to missing properties with 2021.3.
1331

14-
1532
## [2.0.18] - 2023-03-17
1633

1734
Integration:

Packages/com.unity.ide.visualstudio/Editor/ProjectGeneration/SdkStyleProjectGeneration.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ internal override void GetProjectHeader(ProjectProperties properties, out String
4646
headerBuilder.Append(@" <AppDesignerFolder>Properties</AppDesignerFolder>").Append(k_WindowsNewline);
4747
headerBuilder.Append(@" <AssemblyName>").Append(properties.AssemblyName).Append(@"</AssemblyName>").Append(k_WindowsNewline);
4848
// In the end, given we use NoConfig/NoStdLib (see below), hardcoding the target framework version will have no impact, even when targeting netstandard/net48 from Unity.
49-
// But with SDK style we use netstandard2.0 (net471 for legacy), so 3rd party tools will not fail to work when .NETFW reference assemblies are not installed.
49+
// But with SDK style we use netstandard2.1 (net471 for legacy), so 3rd party tools will not fail to work when .NETFW reference assemblies are not installed.
5050
// Unity already selected proper API surface through referenced DLLs for us.
51-
headerBuilder.Append(@" <TargetFramework>netstandard2.0</TargetFramework>").Append(k_WindowsNewline);
51+
headerBuilder.Append(@" <TargetFramework>netstandard2.1</TargetFramework>").Append(k_WindowsNewline);
5252
headerBuilder.Append(@" <BaseDirectory>.</BaseDirectory>").Append(k_WindowsNewline);
5353
headerBuilder.Append(@" </PropertyGroup>").Append(k_WindowsNewline);
5454

0 commit comments

Comments
 (0)