简体   繁体   中英

Is aspnet_compiler.exe special?

I'm attempting to make a ASP.NET compilation tool for a project I'm working on. Using aspnet_compiler does work perfectly fine, but a custom tool would suite our purposes a little bit better.

However, when I run the ClientBuildManager.PrecompileApplication method I get a "MissingManifestResourceException" complaining about "Could not find any resources appropriate for the specified culture or the neutral culture".

I then decompiled aspnet_compiler.exe and used its singular Precompiler.cs file which gave the same exception.

So its not my code since the same problem happens when I use aspnet_compiler.exe source code, but something else.

Any thoughts in what makes aspnet_compiler so special?

I think you're biting off more than you can probably chew trying to write your own ASP.NET compiler. If there's something special you need to do before or after compilation, look into using a Pre or Post build script.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM