Bugs
- #79: Setting
Language
on anIconDirectoryResource
did not update the language of contained icons - @xiangsxuan.
Bugs
- #73: Assembly name was wrong in version 2.0, ResourceLib instead of Vestris.ResourceLib - @jairbubbles.
Misc
- #59: Update to Visual Studio 2017; resourcelib now targets .NET Frameworks 2.0, 3.5, 4.0, and 4.5, and .NET Standard 2.0 - @thoemmi.
- #62: ResourceLib 2.0 is no longer strong-named - @icnocop.
- #66: Added support for unaligned resources. - @hakito.
- #68: Support for writing .NET like
StringTableEntries
- @hakito.
Bugs
- #48: Fixed
IconDirectoryResource.SaveTo
has bugs with some .ico file - @jairbubbles. - #66: Fixed
FontDirectoryResource
was was reading outside of the lpRes buffer.FontDirectoryEntry
did not write null terminated strings. - @hakito. - #68: Fix reading StringTableEntries that don't consider null terminator for length in header - @hakito.
- Your contribution here.
New Features
- #40: Added
Resource.Save(string filename, IEnumerable<Resource> resources)
for saving multiple resources in one batch - @thoemmi.
Bugs
- #41: Fixed
OverflowException
when a dialog template contains aSysListView32
control - @thoemmi. - #50: Fixed semantic version of NuGet package - @thoemmi.
Misc
- #9: Added a strong signature to the .NET assembly - @dwmkerr.
- Including Vestris.ResourceLib.pdb and Vestris.ResourceLib.xml in release zip for documentation and easier debugging support - @icnocop.
- CI: Setup CI on AppVeyor - @dblock.
- #32: Creation of NuGet package - @thoemmi.
Bugs
- #10: Fixed System.OverflowException: Arithmetic operation resulted in an overflow (64-bit systems) by replacing most calls to
ToInt32
withToInt64
- @icnocop. - #16: Fixed NuGet error "Package restore is disabled by default." when building by updating to NuGet 2.8.1 - @icnocop.
- #26: Fixed opening PE files at non-ANSI paths by changing from ANSI to Wide version of PInvoke - @hypersw.
- #31: Fixed OverflowException when running as x64 - @thoemmi.
New Features
Misc
- Updated solution to Visual Studio 2010 - @redwyre.
- Added NUGet references for
NUnit
,NUnit.Runners
, andMSBuildTasks
- @redwyre. - Added more options to build.cmd:
code
,code_and_test
andrun_test_only
- @redwyre. - Documentation rewritten in markdown - @dblock.
Misc
- First release off Github.
- Added
LoadException
that is thrown on a resource enumeration failure that contains both the resource load (inner) exception and the outer Win32 resource enumeration (outer) exception. - Added
ResourceId.TypeName
that returns the string representation of the resource type when the ID represents one. - Added documentation on contributing and setting up a development environment.
Bugs
- Bug:
ManifestResource.LoadFrom(string filename, ManifestType manifestType)
broken. - Bug:
ManifestResource.Manifest
fails to load Unicode XML manifests with BOM. - Bug:
DeviceIndependentBitmap.Image
cuts bitmap height in half. - Bug:
RT_MENU
broken for extendedMENUEX
resources.
New Features
- Added support for
RT_MANIFEST
, Windows SxS XML resources. - Added support for
RT_GROUP_CURSOR
andRT_CURSOR
cursor resources, including loading .cur files and manipulating hotspot information. - Added support for
RT_BITMAP
, bitmap resources. - Added support for
RT_DIALOG
, dialog resources. - Added support for
RT_STRING
, string resources. - Added support for
RT_MENU
, menu resources. - Added support for
RT_ACCELERATOR
, accelerator resources. - Added limited support for
RT_FONTDIR
andRT_FONT
, font resources.
Misc
- Added support for version resources with an omitted
VS_FIXEDFILEINFO
. - Added
Resource.TypeName
that provides a string representation of the resource type. - Added
StringTable.CodePage
andStringTable.LanguageID
properties. - Added
GenericResource.Data
read-only data bytes for unsupported resource types. - Interface change: renamed
StringResource
toStringTableEntry
to accommodate for actual string resource support. - Interface change: added
ResourceId
that represents well-known and custom resources alike and provides comparison and hashing that works for all resource Id types. BothResource.Name
andResource.Type
now returnResourceId
and public interfaces that accepted anIntPtr
now require aResourceId
. - Interface change:
GroupIconResource
was renamed toIconDirectoryResource
. Resource.Name
is no longer read-only.IconImage
was extended and renamed toDeviceIndependentBitmap
. The latter supports separating mask and color, etc.- Automatically appending a second null-terminator to
StringResource
when required. Internal storage is now always with two null terminators. - Added VersionResource.ToString() that returns a standard resource file string representation of the version resource and all its tables.
Bugs
- Bug: error deleting an English version resource which was loaded as language-neutral.
- Bug: custom resources with literal string names return an invalid value in
Resource.Name
andResource.Type
. - Bug:
StringResource
length in its header is incorrect after the value is updated. - Bug:
VersionResource.Write
erroneously included padding in the structure size.
- First release off CodePlex.
- Added support for
RT_GROUP_ICON
andRT_ICON
, icon resources.
- First release, CodeProject Article.
- Support for
RT_VERSION
andVS_VERSIONINFO
, version resources.