MSBuildExtensions
MSBuild targets for updating Assembly version during build process.
Install / Use
/learn @footcha/MSBuildExtensionsREADME
MSBuild.AssemblyVersion
MSBuild targets for updating Assembly version and optionally Assembly Informational Version during build process.
AssemblyInfo can be set by initializing MSBuild property $(AssemblyVersionNumber) and optionally $(AssemblyInformationalVersion)
before MSBuild target AssemblyVersionUpdate is called.
Examples
Example 1: Initialize property $(AssemblyVersionNumber) from command line:
msbuild.exe MySolution.sln /p:AssemblyVersionNumber=1.2.3.4
Or with AssemblyInformationalVersion.
msbuild.exe MySolution.sln /p:AssemblyVersionNumber=1.2.3.4 /p:AssemblyInformationalVersion=1.2.3-alpha
Example 2: Initialize or update property $(AssemblyVersionNumber) and optionally $(AssemblyInformationalVersion) declaratively in MSBuild project or a referenced .props file:
<PropertyGroup>
<AssemblyVersionNumber>1.2.3.4</AssemblyVersionNumber>
<AssemblyInformationalVersion>1.2.3.4-alpha</AssemblyInformationalVersion>
</PropertyGroup>
Example 3: Update property $(AssemblyVersionNumber) and optionally $(AssemblyInformationalVersion) in a custom target:
<Target Name="MyCustomUpdateAssemblyVersionNumber"
BeforeTargets="AssemblyVersionUpdate">
<PropertyGroup>
<AssemblyVersionNumber>1.2.3.4</AssemblyVersionNumber>
<AssemblyInformationalVersion>1.2.3.4-alpha</AssemblyInformationalVersion>
</PropertyGroup>
</Target>
Related Skills
node-connect
339.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
