Skip to content

Releases: triaxis-oss/triaxis.WebForms.SourceGenerator

v1.0.10

Choose a tag to compare

@ssimek ssimek released this 10 Sep 17:47

What's Changed

  • feat: honor Implements, MasterType, PreviousPageType and EnableViewState by @ssimek in #7
  • fix: implement IHttpAsyncHandler on async pages, honor AsyncTimeout by @ssimek in #9
  • feat: warn (TWF004) on directive attributes the generator drops by @ssimek in #8

Full Changelog: v1.0.9...v1.0.10

v1.0.9

Choose a tag to compare

@ssimek ssimek released this 10 Sep 17:27

What's Changed

  • feat: honor Async="true" on the page directive by @ssimek in #6

Full Changelog: v1.0.8...v1.0.9

v1.0.6

Choose a tag to compare

@ssimek ssimek released this 25 Jun 18:10

What's Changed

  • fix: evaluate embedded <%= %> expressions in attribute values by @ssimek in #3

Full Changelog: v1.0.5...v1.0.6

v1.0.5

Choose a tag to compare

@ssimek ssimek released this 24 Jun 17:07

What's Changed

  • Support inner text binding for ListItem and string default properties by @ssimek in #2

Full Changelog: v1.0.4...v1.0.5

v1.0.4

Choose a tag to compare

@ssimek ssimek released this 19 Jun 20:09
5f6fa92

What's Changed

  • Forward codebehind constructor arguments for ctor injection by @ssimek in #1

New Contributors

  • @ssimek made their first contribution in #1

Full Changelog: v1.0.3...v1.0.4

v1.0.0-rc.5: feat: complete the package as a turnkey WebForms app SDK

Choose a tag to compare

@ssimek ssimek released this 04 Jun 15:46
A vanilla WebForms csproj that references this package now produces
a full IIS-ready deployment from a single `dotnet publish`, with
no hand-maintained MSBuild glue. The minimal csproj is just the
SDK, the target framework, and the PackageReference.

Layout (new buildTransitive .props):
- Defaults `OutputPath=bin\` and drops the
  `<Configuration>\<TargetFramework>\` appends so build output
  mirrors the publish layout — IIS pointed at the project root
  serves the app without an extra copy step. Consumer-set values
  win.

Content + AdditionalFiles collection (.targets):
- Single `EnableDefaultWebFormsGenItems` switch mirrors the SDK's
  `EnableDefaultItems` / `EnableDefaultContentItems` convention:
  cascades from `$(EnableDefaultItems)`, opt out separately with
  `EnableDefaultWebFormsGenItems=false`.
- Globs the markup corpus (aspx/ascx/master/Global.asax) into both
  AdditionalFiles (for the generator) and Content (for publish —
  files stripped to zero bytes post-publish but must exist for
  BuildManager to probe).
- `WebFormsGenContentExtensions` is the customisable list of
  extensions added to the default Content glob (one `**\*.<ext>`
  pattern each). Default set keeps to genuinely universal WebForms
  surface — service handlers, scripts, styles, images, fonts;
  app-specific configs (NLog, log4net) belong in the consumer csproj
  as a standard `<Content Include="..." />`. Override to replace
  the list or append to extend.
- Bare-filename entries (`web.config`, `PrecompiledApp.config`)
  expressed as `**\<file>` globs so MSBuild evaluates them against
  the file system — a literal Include would push a phantom item
  even when the file is absent, breaking the generator on projects
  without a Global.asax (e.g. an .asmx-only library that doesn't
  reference System.Web) and failing publish-time Copy on any project
  missing one of the literals.
- TWF001 PrecompiledApp.config check now only fires when the
  project actually has markup that would emit .compiled sidecars,
  so a library pulling the package solely for the publish pipeline
  isn't nagged for a config file it has no use for.