Questions tagged [pre-compilation]

77 questions
4
votes
1 answer

Azure DevOps Build - publish doesn't create .compiled files in bin folder on publish

I have a web project I am building and creating a published package from Azure-DevOps Build pipeline. I am running with the issue that not getting .compile files in bin folder while publishing. when I am publishing from the direct build machine's VS…
4
votes
2 answers

How do I get a TFS build to precompile a web application using a saved publish profile?

I'm currently running a CI build and deploy using TFS 2013 for the build and Release Management 2013 for the deployment, though I need the web applications (WebForms) that I'm deploying to be precompiled. I'm looking to use a publish profile to…
3
votes
1 answer

Rails - Can I run rake assets:precompile on production server, while the production app is still running?

Sorry if this question sounds basic. But I haven't been able to find an answer anywhere on the web... I'm currently running my Rails app on a Ubuntu server. Until now I've always shut down the production app before I pull the changes, run rake…
3
votes
3 answers

sprockets - precompiling a standalone asset

I am trying to make sprokets compile a single standalone js asset, so it will uglify and minify it and be part of the entire rails projects. I need that this js to have a non-digest name, so it's will not change (i.e. embedded in other websites,…
Nick Ginanto
  • 31,090
  • 47
  • 134
  • 244
3
votes
2 answers

ASP.NET in-place precompile doesn’t work as expected

I am trying to use ASP.NET precompile tool aspnet_compiler.exe to compile site after it has been deployed. As per book definition running in-place precompile on web machine should improve first page load experience. The compilation tool compiles…
Alex
  • 31
  • 4
3
votes
2 answers

EmberJS: Could not find property 'action'

I am using starter kit from Emebr JS and added a simple anchor tag with {{action hello}} to application template. I am pre-compiling the template with handlebars pre-compiler. When I tried to run this, it is throwing an error. UnCaught Error: Could…
2
votes
3 answers

How to set ISPP defines based on default Inno Setup variables?

I was trying to: #define CommonAppData {commonappdata} but it yields: Compiler Error [ISPP] Expression expected but opening brace ("{") found. How to achieve this with Inno Setup PreProcessor?
Jader Dias
  • 88,211
  • 155
  • 421
  • 625
2
votes
1 answer

Cython Precompiler decision making

I am looking for a solution to add pre-compiler logic in a cython file. I have written a cython wrapper for a hardware device API that is in C++. This is a cython project that is typically compiled using MSVC for python 2.7 and 3.6. The entire…
scicalculator
  • 1,498
  • 3
  • 16
  • 33
2
votes
0 answers

ASP.NET 3.5 precompilation [NullReferenceException]

I'm getting a null reference for an asp.net application while running precompile using aspnet_compiler. There's no specific error however i have this in the build log. [NullReferenceException]: Object reference not set to an instance of an object. …
RKB83
  • 83
  • 2
  • 10
2
votes
0 answers

How to compile ASP.NET in-place for real?

I have a problem where going into production for my ASP.NET site without pre-compiling causes more than slow initial-startup - the server actually thrashes with memory and SQL connections going thru the roof. What I think is happening is, as pages…
n8wrl
  • 19,439
  • 4
  • 63
  • 103
2
votes
3 answers

ASP.net This is a marker file generated by the precompilation tool, and should not be deleted

I am currently getting this when visiting my http:// websitehere.com/excelData.aspx page: This is a marker file generated by the precompilation tool, and should not be deleted! The file system directory on the server looks like this: --mainDir …
StealthRT
  • 10,108
  • 40
  • 183
  • 342
2
votes
3 answers

Sass::SyntaxError: Undefined mixin 'mixin_name'

I'm working on a Rails 4 project where I'm using Sass and Sass's @import to combine multiple css into one. It works fine but not if I use a new partial for mixins (_mixins.css.scss) and @import this in main.css.scss only and use mixins any other…
Jitendra Vyas
  • 148,487
  • 229
  • 573
  • 852
2
votes
1 answer

In ASP.NET Webforms, is there a way to check (at runtime) if a website as been pre-compiled or not?

In ASP.NET Webforms, is there a possiblity to check at runtime if website as been precompiled or not ? (eg : a property that return a boolean) To deploy a ASP.NET webforms website, there is two possibilities : to run website by just copy paste all…
tigrou
  • 4,236
  • 5
  • 33
  • 59
2
votes
1 answer

Razor Generator: Is this accurate?

I recently queried the former Lead Developer at my current place of employment as to why he chose to use the Razor Generator to pre-compile our views in to a separate assembly. He made some claims below, but I can't seem to find any Razor Generator…
2
votes
1 answer

twitter-bootstrap-rails: @iconSpritePath can't be resolved in production environment

I just deployed my rails app to Heroku, and all my bootstrap icons that showed up fine in the development environment only showed up as little squares on Heroku. The same thing happens when I'm running the app in production mode on my local machine…