Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

How to pre-compile a single aspx file using Roslyn

$
0
0

I'm developing a Visual Studio 2015/2017 extension which need to pre compile a selected .aspx file and emit the output to a target location. The pre-compiled binary will be submitted to an external service for analysis. Is there a way to do this with Roslyn? Is it possible to use “Microsoft.CodeAnalysis.MSBuild” for pre-compilation?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



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