Skip to content

Commit 9fed958

Browse files
author
Unity Technologies
committed
## [2.0.21] - 2023-09-05 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.
1 parent d1e4dd0 commit 9fed958

File tree

10 files changed

+1722
-99
lines changed

10 files changed

+1722
-99
lines changed

CHANGELOG.md

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

3-
## [2.0.20] - 2023-06-27
3+
## [2.0.21] - 2023-09-05
44

55
Integration:
66

7-
- Internal API refactoring.
7+
- Only disable the legacy `com.unity.ide.vscode` package going forward.
8+
- Fix json parsing issues with specific non-UTF code pages.
89

10+
Project generation:
911

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.
1018

11-
## [2.0.19] - 2023-06-14
19+
20+
## [2.0.20] - 2023-06-27
1221

1322
Integration:
1423

24+
- Internal API refactoring.
1525
- Add support for Visual Studio Code.
16-
26+
1727
Project generation:
1828

19-
- Add support for Sdk Style poject generation.
29+
- Add support for Sdk Style project generation.
2030
- Fix an issue related to missing properties with 2021.3.
2131

22-
2332
## [2.0.18] - 2023-03-17
2433

2534
Integration:
0 Bytes
Binary file not shown.
Binary file not shown.

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)