WebFormsForCore.AspNetCompiler.Library
1.6.0
dotnet add package WebFormsForCore.AspNetCompiler.Library --version 1.6.0
NuGet\Install-Package WebFormsForCore.AspNetCompiler.Library -Version 1.6.0
<PackageReference Include="WebFormsForCore.AspNetCompiler.Library" Version="1.6.0" />
<PackageVersion Include="WebFormsForCore.AspNetCompiler.Library" Version="1.6.0" />
<PackageReference Include="WebFormsForCore.AspNetCompiler.Library" />
paket add WebFormsForCore.AspNetCompiler.Library --version 1.6.0
#r "nuget: WebFormsForCore.AspNetCompiler.Library, 1.6.0"
#:package WebFormsForCore.AspNetCompiler.Library@1.6.0
#addin nuget:?package=WebFormsForCore.AspNetCompiler.Library&version=1.6.0
#tool nuget:?package=WebFormsForCore.AspNetCompiler.Library&version=1.6.0
WebFormsForCore AspNetCore Compiler
This is the WebFormsForCore version of the known aspnet_compiler.exe. It can be used to precompile WebFormsForCore
and ordinary plain old ASP.NET WebForms apps targeting .NET Framework. In comparison to aspnet_compiler.exe,
There is one additional argument -t [TargetFramework] that can be used to specify the target framework for compilation,
and thus overwriting the value in web.config compilation section.
Installation
You can install aspnetcore_compiler either as a dotnet tool, by executing the command
dotnet tool install -g WebFormsForCore.AspNetCompiler
adn then run the tool with aspnetcore_compiler ....
Alternatively, you can use AspNetCore compiler by referencing the AspNetCoreCompiler.Build nuget package in your project and then using the <AspNetCoreCompiler>
task in your project file like so:
<Target Name="PrecompileWeb">
<AspNetCoreCompiler
VirtualPath="/MyWebSite"
MetabasePath="/"
PhysicalPath="$(ProjectDir)"
TargetPath="$(OutputPath)\Precompiled"
TargetFramework="net10.0"
TargetFrameworkMoniker="net10.0"
BinFolder="bin"
Updateable="true"
Force="true"
Debug="false"
Clean="true"
FixedNames="false"
KeyFile=".."
KeyContainer=".."
DelaySign="false"
AllowPartiallyTrustedCallers="false"
/>
</Target>
This task supports the same attributes as the AspNetCompiler task and also the TargetFramework attribute.
Multi targeting
If you have a project targeting .NET Framework and .NET Core at the same time, you can precompile it by
specifying the comma or semicolon separated bin directories like -b bin,bin_dotnet and the corresponding
target frameworks like -t net48,net10.0.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- System.CodeDom (>= 10.0.0)
- System.Configuration.ConfigurationManager (>= 10.0.0)
- WebFormsForCore.Compilers (>= 1.6.0)
- WebFormsForCore.Configuration (>= 1.6.0)
- WebFormsForCore.Drawing (>= 1.6.0)
- WebFormsForCore.Web (>= 1.6.0)
- WebFormsForCore.Web.ApplicationServices (>= 1.6.0)
- WebFormsForCore.Web.Extensions (>= 1.6.0)
- WebFormsForCore.Web.RegularExpressions (>= 1.6.0)
- WebFormsForCore.Web.Services (>= 1.6.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on WebFormsForCore.AspNetCompiler.Library:
| Package | Downloads |
|---|---|
|
WebFormsForCore.Build
A port of ASP.NET WebForms to .NET 10 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.6.0 | 46 | 6/28/2026 |