Skip to content

Commit

Permalink
Updated NuGet packages and extension manifest.
Browse files Browse the repository at this point in the history
Some packages were not updated as they correspond to VS 17.4 which is currently minimum supported VS version.
Updated extension manifest to restrict the extension to VS 17.4 and up.
Removed unnecessary files from VSIX.
  • Loading branch information
DarkDaskin committed Mar 29, 2024
1 parent 2a39549 commit 50bf15b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion UnityModStudio.Common/UnityModStudio.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.ComponentModel.Composition" Version="4.7.0" />
<PackageReference Include="System.Text.Json" Version="5.0.0" />
<PackageReference Include="System.Text.Json" Version="6.0.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.ProjectSystem.Managed.VS" Version="2.0.6142705" />
<PackageReference Include="Microsoft.VisualStudio.ProjectSystem.SDK" Version="17.0.1313-pre" />
<PackageReference Include="Microsoft.VisualStudio.ProjectSystem.SDK" Version="17.2.402-pre" />
<PackageReference Include="Microsoft.VisualStudio.Shell.Framework" Version="17.4.33103.184" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion UnityModStudio/UnityModStudio.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<PackageReference Include="Microsoft.VisualStudio.SDK" Version="17.4.33103.184" ExcludeAssets="runtime">
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="17.4.2119">
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="17.8.2365">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
15 changes: 11 additions & 4 deletions UnityModStudio/UnityModStudio.targets
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,17 @@
<!-- VSSDK suppresses built-in VS assemblies from being packaged in VSIX, but some still slip by, exclude them here. -->
<Target Name="SuppressRemainingVSAssemblies" BeforeTargets="GetVsixSourceItems">
<ItemGroup>
<SuppressFromVsix Include="Microsoft.VisualStudio.Debugger.Interop.16.0.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.LanguageServer.Protocol.dll" />
<SuppressFromVsix Include="System.Buffers.dll" />
<SuppressFromVsix Include="System.Threading.Tasks.Extensions.dll" />
<SuppressFromVsix Include="Microsoft.IO.Redist.dll" />
<SuppressFromVsix Include="Microsoft.NET.StringTools.dll" />
<SuppressFromVsix Include="Microsoft.NET.StringTools.pdb" />
<SuppressFromVsix Include="Microsoft.VisualStudio.ProjectSystem.Managed.dll" />
<SuppressFromVsix Include="Microsoft.VisualStudio.ProjectSystem.Managed.VS.dll" />
<SuppressFromVsix Include="System.Configuration.ConfigurationManager.dll" />
<SuppressFromVsix Include="System.Numerics.Vectors.dll" />
<SuppressFromVsix Include="System.Resources.Extensions.dll" />
<SuppressFromVsix Include="System.Security.Permissions.dll" />
<SuppressFromVsix Include="System.Text.Encodings.Web.dll" />
<SuppressFromVsix Include="System.Text.Json.dll" />
</ItemGroup>
</Target>
</Project>
2 changes: 1 addition & 1 deletion UnityModStudio/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<Tags>unity; mod</Tags>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 18.0)">
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.4, 18.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
</Installation>
Expand Down

0 comments on commit 50bf15b

Please sign in to comment.