Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup .NET build dependencies
uses: timheuer/bootstrap-dotnet@v2
with:
nuget: 'false'
sdk: 'false'
msbuild: 'true'

- name: Increment VSIX version
id: vsix_version
uses: timheuer/vsix-version-stamp@v2
Expand All @@ -41,7 +34,7 @@ jobs:
vsix-token-source-file: ${{ env.VsixManifestSourcePath }}

- name: Build
run: msbuild /v:m -restore /p:OutDir=\_built
run: dotnet build ./StringResourceVisualizer.slnx --configuration ${{ env.Configuration }} -p:OutDir=\_built -v:m

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" ?>
<Project>
<PropertyGroup>
<LangVersion>12.0</LangVersion>
<LangVersion>14.0</LangVersion>
</PropertyGroup>
</Project>
36 changes: 36 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<Project>

<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>

<ItemGroup Label="Visual Studio extension">
<PackageVersion Include="Microsoft.ApplicationInsights" Version="2.22.0" />
<PackageVersion Include="Microsoft.CodeAnalysis" Version="4.11.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" />
<PackageVersion Include="Microsoft.VisualStudio.LanguageServices" Version="4.11.0" />
<PackageVersion Include="Microsoft.VisualStudio.SDK" Version="17.10.40171" />
<PackageVersion Include="Microsoft.VSSDK.BuildTools" Version="18.5.40034" />
<PackageVersion Include="WarnAboutTODOs" Version="1.7.0" />
</ItemGroup>

<!-- Dependencies that the projects name explicitly, so that the version does not depend on the Visual Studio packages that bring them in. -->
<ItemGroup Label="Pinned dependencies">
<PackageVersion Include="MessagePack" Version="2.5.192" />
<PackageVersion Include="Microsoft.IO.Redist" Version="6.1.0" />
<PackageVersion Include="Microsoft.ServiceHub.Framework" Version="4.7.36" />
<PackageVersion Include="StreamJsonRpc" Version="2.20.17" />
<PackageVersion Include="System.Collections.Immutable" Version="8.0.0" />
<PackageVersion Include="System.Text.Encoding" Version="4.3.0" />
<PackageVersion Include="System.Text.Encoding.CodePages" Version="9.0.0" />
<PackageVersion Include="System.Text.Encoding.Extensions" Version="4.3.0" />
<PackageVersion Include="System.Text.Json" Version="9.0.0" />
</ItemGroup>

<ItemGroup Label="Tests">
<PackageVersion Include="MSTest.Analyzers" Version="3.6.3" />
<PackageVersion Include="MSTest.TestAdapter" Version="3.6.3" />
<PackageVersion Include="MSTest.TestFramework" Version="3.6.3" />
</ItemGroup>

</Project>
38 changes: 0 additions & 38 deletions StringResourceVisualizer.sln

This file was deleted.

12 changes: 12 additions & 0 deletions StringResourceVisualizer.slnx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<Solution>
<Folder Name="/Solution Items/">
<File Path=".editorconfig" />
<File Path="CHANGELOG.md" />
<File Path="Directory.Packages.props" />
<File Path="README.md" />
</Folder>
<Project Path="src/StringResourceVisualizer.csproj" Id="e71a6e00-d6f7-4401-9515-1dd72701ec57">
<Deploy Solution="Debug|Any CPU" />
</Project>
<Project Path="src/StringResourceVisualizer.Tests/StringResourceVisualizer.Tests.csproj" Id="b36b6804-3de4-4c5b-9727-25f053cba7ac" />
</Solution>
Original file line number Diff line number Diff line change
@@ -1,105 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{B36B6804-3DE4-4C5B-9727-25F053CBA7AC}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>StringResourceVisualizer.Tests</RootNamespace>
<AssemblyName>StringResourceVisualizer.Tests</AssemblyName>
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">15.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
<ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
<IsCodedUITest>False</IsCodedUITest>
<TestProjectType>UnitTest</TestProjectType>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<TargetFrameworkProfile />
<TargetFramework>net481</TargetFramework>
<!-- Properties\AssemblyInfo.cs holds the assembly attributes. -->
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<!-- The CI build and the instructions expect the output in bin\Debug\ and bin\Release\. -->
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
</ItemGroup>
<ItemGroup>
<Compile Include="ResourceAdornmentManagerTests.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="MessagePack">
<Version>2.5.192</Version>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis">
<Version>4.11.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp">
<Version>4.11.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.IO.Redist">
<Version>6.1.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.ServiceHub.Framework">
<Version>4.7.36</Version>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.LanguageServices">
<Version>4.11.0</Version>
</PackageReference>
<PackageReference Include="MSTest.TestAdapter">
<Version>3.6.3</Version>
</PackageReference>
<PackageReference Include="MSTest.TestFramework">
<Version>3.6.3</Version>
</PackageReference>
<PackageReference Include="MSTest.Analyzers">
<Version>3.6.3</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="StreamJsonRpc">
<Version>2.20.17</Version>
</PackageReference>
<PackageReference Include="System.Collections.Immutable">
<Version>8.0.0</Version>
</PackageReference>
<PackageReference Include="System.Text.Encoding.CodePages">
<Version>9.0.0</Version>
</PackageReference>
<PackageReference Include="System.Text.Json">
<Version>9.0.0</Version>
</PackageReference>
<PackageReference Include="WarnAboutTODOs">
<Version>1.7.0</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="MessagePack" />
<PackageReference Include="Microsoft.CodeAnalysis" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" />
<PackageReference Include="Microsoft.IO.Redist" />
<PackageReference Include="Microsoft.ServiceHub.Framework" />
<PackageReference Include="Microsoft.VisualStudio.LanguageServices" />
<PackageReference Include="MSTest.TestAdapter" />
<PackageReference Include="MSTest.TestFramework" />
<PackageReference Include="MSTest.Analyzers" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" PrivateAssets="all" />
<PackageReference Include="StreamJsonRpc" />
<PackageReference Include="System.Collections.Immutable" />
<PackageReference Include="System.Text.Encoding.CodePages" />
<PackageReference Include="System.Text.Json" />
<PackageReference Include="WarnAboutTODOs" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\StringResourceVisualizer.csproj">
<Project>{e71a6e00-d6f7-4401-9515-1dd72701ec57}</Project>
<Name>StringResourceVisualizer</Name>
</ProjectReference>
<ProjectReference Include="..\StringResourceVisualizer.csproj" />
</ItemGroup>
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

</Project>
Loading