Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Does the AOT Setting Propagate to Dependent Class Libraries?

$
0
0

We are using AOT in our Blazor WebAssembly project, in the csproj of main project we enable it like this:

<RunAOTCompilation Condition="'$(Configuration)'=='Release'">    true</RunAOTCompilation>

Our main project has several Razor Class Libraries as dependencies, my question is: does the AOT also "propagates" to those dependencies projects because the main project has AOT enabled? That is, does the whole project including all dependencies get AOT enabled because the main project has it enabled or should we enable AOT for every Razor Class Library independently (in their csproj) as well?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>