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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ Previous versions can be found at
# Installing
The original project included an MSI, but installers are no longer supported in VisualStudio.

Open Visual Studio and open the ResXFileCodeGeneratorEx.sln. It is grouped into Deployment and Design folders. Build the solution. This will output the files to src\ResXFileCodeGeneratorExPackage\bin\Debug. Open the ResxCodeFileGeneratorEx2019.vsix file in that folder. This will register the generator with Visual Studio.
Open Visual Studio and open the ResXFileCodeGeneratorEx.sln. It is grouped into Deployment and Design folders. Note that VS-2022 is 64-bit, so all modules must be translated with "AnyCPU" or "x64". Build the solution. This will output the files to src\ResXFileCodeGeneratorExPackage\bin\Debug. Open the ResxCodeFileGeneratorEx2022.vsix file in that folder. This will register the generator with Visual Studio.
4 changes: 2 additions & 2 deletions Release Notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This is the original description by the creator:
One of the great new features of the Visual Studio .NET IDE is a custom tool called ResXFileCodeGenerator that is automatically associated with resources (*.resx files) every time they are added into a project. Whenever your project is rebuilt, a resource file is saved or a custom tool is run manually; the tool in question generates a managed class that exposes every resource you have in the *.resx file as a strongly typed static property. Now, any type of resource supported -- including images, icons, strings, etc. -- is a piece of cake to retrieve.

New in this version:
- Visual Studio 2012 integration.
- Visual Studio 2022 integration.

Requirements:
- Visual Studio 2012
- Visual Studio 2022
30 changes: 2 additions & 28 deletions ResXFileCodeGeneratorEx.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28407.52
# Visual Studio Version 17
VisualStudioVersion = 17.0.31919.166
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Design", "Design", "{3480ABFD-000A-4C4A-90B6-476DCBF9BEC0}"
EndProject
Expand All @@ -16,47 +16,21 @@ EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|Mixed Platforms = Debug|Mixed Platforms
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|Mixed Platforms = Release|Mixed Platforms
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{387D7726-06E5-4CF4-8DB2-A625DAB4660D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{387D7726-06E5-4CF4-8DB2-A625DAB4660D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{387D7726-06E5-4CF4-8DB2-A625DAB4660D}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{387D7726-06E5-4CF4-8DB2-A625DAB4660D}.Debug|Mixed Platforms.Build.0 = Debug|x86
{387D7726-06E5-4CF4-8DB2-A625DAB4660D}.Debug|x86.ActiveCfg = Debug|x86
{387D7726-06E5-4CF4-8DB2-A625DAB4660D}.Debug|x86.Build.0 = Debug|x86
{387D7726-06E5-4CF4-8DB2-A625DAB4660D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{387D7726-06E5-4CF4-8DB2-A625DAB4660D}.Release|Any CPU.Build.0 = Release|Any CPU
{387D7726-06E5-4CF4-8DB2-A625DAB4660D}.Release|Mixed Platforms.ActiveCfg = Release|x86
{387D7726-06E5-4CF4-8DB2-A625DAB4660D}.Release|Mixed Platforms.Build.0 = Release|x86
{387D7726-06E5-4CF4-8DB2-A625DAB4660D}.Release|x86.ActiveCfg = Release|x86
{387D7726-06E5-4CF4-8DB2-A625DAB4660D}.Release|x86.Build.0 = Release|x86
{A8636D77-B876-4E6A-863D-8C924E40955C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A8636D77-B876-4E6A-863D-8C924E40955C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A8636D77-B876-4E6A-863D-8C924E40955C}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{A8636D77-B876-4E6A-863D-8C924E40955C}.Debug|Mixed Platforms.Build.0 = Debug|x86
{A8636D77-B876-4E6A-863D-8C924E40955C}.Debug|x86.ActiveCfg = Debug|x86
{A8636D77-B876-4E6A-863D-8C924E40955C}.Debug|x86.Build.0 = Debug|x86
{A8636D77-B876-4E6A-863D-8C924E40955C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A8636D77-B876-4E6A-863D-8C924E40955C}.Release|Any CPU.Build.0 = Release|Any CPU
{A8636D77-B876-4E6A-863D-8C924E40955C}.Release|Mixed Platforms.ActiveCfg = Release|x86
{A8636D77-B876-4E6A-863D-8C924E40955C}.Release|Mixed Platforms.Build.0 = Release|x86
{A8636D77-B876-4E6A-863D-8C924E40955C}.Release|x86.ActiveCfg = Release|x86
{A8636D77-B876-4E6A-863D-8C924E40955C}.Release|x86.Build.0 = Release|x86
{D659C39B-2FE2-4EBB-80CF-96EC0B145424}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D659C39B-2FE2-4EBB-80CF-96EC0B145424}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D659C39B-2FE2-4EBB-80CF-96EC0B145424}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{D659C39B-2FE2-4EBB-80CF-96EC0B145424}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{D659C39B-2FE2-4EBB-80CF-96EC0B145424}.Debug|x86.ActiveCfg = Debug|Any CPU
{D659C39B-2FE2-4EBB-80CF-96EC0B145424}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D659C39B-2FE2-4EBB-80CF-96EC0B145424}.Release|Any CPU.Build.0 = Release|Any CPU
{D659C39B-2FE2-4EBB-80CF-96EC0B145424}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{D659C39B-2FE2-4EBB-80CF-96EC0B145424}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{D659C39B-2FE2-4EBB-80CF-96EC0B145424}.Release|x86.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,28 +43,6 @@
<NoWarn>618</NoWarn>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<NoWarn>618</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>618</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<Reference Include="Microsoft.CSharp" />
Expand Down Expand Up @@ -96,22 +74,22 @@
<Version>15.0.36</Version>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Shell.Design">
<Version>17.0.0-previews-1-31410-273</Version>
<Version>17.0.31902.203</Version>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Text.Data">
<Version>17.0.82-g2ecf33c7f7</Version>
<Version>17.0.487</Version>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Threading">
<Version>17.0.17-alpha</Version>
<Version>17.0.64</Version>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Validation">
<Version>17.0.12-alpha</Version>
<Version>17.0.34</Version>
</PackageReference>
<PackageReference Include="Newtonsoft.Json">
<Version>13.0.1</Version>
</PackageReference>
<PackageReference Include="StreamJsonRpc">
<Version>2.9.12-alpha</Version>
<Version>2.9.85</Version>
</PackageReference>
<PackageReference Include="System.Net.Http">
<Version>4.3.4</Version>
Expand Down
2 changes: 1 addition & 1 deletion src/ResXFileCodeGeneratorEx.Common/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="StreamJsonRpc" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
Expand Down
36 changes: 7 additions & 29 deletions src/ResXFileCodeGeneratorEx/ResXFileCodeGeneratorEx.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,6 @@
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<NoWarn>618</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>618</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -160,25 +138,25 @@
<Version>15.0.36</Version>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Shell.Design">
<Version>17.0.0-previews-1-31410-273</Version>
<Version>17.0.31902.203</Version>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Text.Data">
<Version>17.0.82-g2ecf33c7f7</Version>
<Version>17.0.487</Version>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Threading">
<Version>17.0.17-alpha</Version>
<Version>17.0.64</Version>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Validation">
<Version>17.0.12-alpha</Version>
<Version>17.0.34</Version>
</PackageReference>
<PackageReference Include="Newtonsoft.Json">
<Version>13.0.1</Version>
</PackageReference>
<PackageReference Include="stdole">
<Version>17.0.0-previews-1-31410-258</Version>
<Version>17.0.31902.203</Version>
</PackageReference>
<PackageReference Include="StreamJsonRpc">
<Version>2.9.12-alpha</Version>
<Version>2.9.85</Version>
</PackageReference>
<PackageReference Include="System.Net.Http">
<Version>4.3.4</Version>
Expand All @@ -193,7 +171,7 @@
<Version>4.5.0</Version>
</PackageReference>
<PackageReference Include="VSLangProj80">
<Version>17.0.0-previews-1-31410-258</Version>
<Version>17.0.31902.203</Version>
</PackageReference>
</ItemGroup>
<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/ResXFileCodeGeneratorEx/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="StreamJsonRpc" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.SDK.Analyzers">
<Version>16.10.1</Version>
<Version>16.10.10</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.SDK.EmbedInteropTypes">
<Version>15.0.36</Version>
Expand All @@ -174,30 +176,30 @@
<Version>15.0.25123-Dev15Preview</Version>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Text.Data">
<Version>17.0.82-g2ecf33c7f7</Version>
<Version>17.0.487</Version>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.TextTemplating.VSHost.15.0">
<Version>17.0.0-previews-1-31410-273</Version>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Threading">
<Version>17.0.17-alpha</Version>
<Version>17.0.64</Version>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Validation">
<Version>17.0.12-alpha</Version>
<Version>17.0.34</Version>
</PackageReference>
<PackageReference Include="Microsoft.VSSDK.BuildTools">
<Version>17.0.1619-preview1</Version>
<Version>17.0.5232</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Newtonsoft.Json">
<Version>13.0.1</Version>
</PackageReference>
<PackageReference Include="stdole">
<Version>17.0.0-previews-1-31410-258</Version>
<Version>17.0.31902.203</Version>
</PackageReference>
<PackageReference Include="StreamJsonRpc">
<Version>2.9.12-alpha</Version>
<Version>2.9.85</Version>
</PackageReference>
<PackageReference Include="System.Net.Http">
<Version>4.3.4</Version>
Expand Down
2 changes: 1 addition & 1 deletion src/ResXFileCodeGeneratorExPackage/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="StreamJsonRpc" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Metadata>
<Identity Id="7a767aad-ab4f-4916-900e-1f3e8eef7a91" Version="3.2" Language="en-US" Publisher="DMK Software; EZSlaver" />
<DisplayName>Extended Strongly Typed Resource Generator</DisplayName>
<Description xml:space="preserve">This tool is the work of Dmytro Kryvko (DMK Software) - I haven't changed a thing in the extension intself. However, this extension was moved to .Net 4.7 and put into a Visual Studio Package file (.vsix). for VS2019
<Description xml:space="preserve">This tool is the work of Dmytro Kryvko (DMK Software) - I haven't changed a thing in the extension intself. However, this extension was moved to .Net 4.7 and put into a Visual Studio Package file (.vsix). for VS2022
This is the original description by the creator:

One of the great new features of the Visual Studio .NET IDE is a custom tool called ResXFileCodeGenerator that is automatically associated with resources (*.resx files) every time they are added into a project. Whenever your project is rebuilt, a resource file is saved or a custom tool is run manually; the tool in question generates a managed class that exposes every resource you have in the *.resx file as a strongly typed static property. Now, any type of resource supported -- including images, icons, strings, etc. -- is a piece of cake to retrieve.</Description>
Expand Down