Questions tagged [precompiled]

154 questions
4
votes
1 answer

Linq compiled queries without passing the context

Consider this compiled linq-to-sql query: private static Func> QueryFindByName = CompiledQuery.Compile(( MyLinqDataContext context, string name) => from p in context.Pets where p.Name ==…
ctrlalt3nd
  • 1,352
  • 3
  • 13
  • 18
4
votes
1 answer

WPF precompiled resources in WinForm application?

I am working on an application that started out as a WinForm but it is now utilizing WPF windows with UI. The interaction is all working beautifully but when the WPF windows are first shown it takes quite a long time (around 1-3 seconds) for them to…
Harald
  • 141
  • 1
  • 9
4
votes
1 answer

Boost precompiled headers problem

I try to precompile Boost headers. First experiment - with std:: headers. I create file std.hpp: #include #include // And other std:: headers After that: g++ std.hpp Copy std.hpp.gch in /usr/include/c++/4.4.5 And write test…
Denis Shevchenko
  • 1,342
  • 2
  • 10
  • 23
4
votes
1 answer

How to add Azure Functions extension

I'm experimenting with extensions in Azure Functions as shown in this question but can't get it to work. My code looks like this: (pre-compiled, consumption plan) public static class FirstFunction { [FunctionName("FirstFunction"),] public…
adrianm
  • 14,468
  • 5
  • 55
  • 102
4
votes
2 answers

Why is MVC page compilation forcing constant app restarts on my Azure web app?

My precompiled Azure web app is constantly restarting, and I can't figure out how to fix it. Here are the details: This is an MVC 5 web project published as an Azure web app .Net Framework v4.5.2 The reason for restart is…
Scott Reece
  • 395
  • 1
  • 3
  • 13
4
votes
1 answer

Where is prepared statement precompiled, in jvm or in db?

When reading across different posts a question came across the mind Where is prepared statement precompiled, in jvm or in db? And when does the process actually happen in a java class. Example Below := import java.sql.Connection; import…
user2120239
  • 135
  • 2
  • 10
3
votes
1 answer

How are precompiled JavaScript modules loaded in RingoJS?

Okay, so I created a JavaScript file called test.js which contains the following code: print("It works!"); I compiled it using the Rhino JavaScript Compiler without any errors. Then I created a new file called foo.js which contains this code: var…
Aadit M Shah
  • 72,912
  • 30
  • 168
  • 299
3
votes
3 answers

Preventing Heroku from using precompiled assets in development mode

Currently it seems Heroku is determined to pre-compile assets when I push my code up to my instances. This is great for production servers, however for my "RAILS_ENV=development" server, this causes issues, as I now get pages with all the JavaScript…
3
votes
3 answers

Can I pre-compile a single modified page to an already preCompiled .Net Web Site?

I have many usercontrols that i reuse in different projects. They are all in the web site project. Upon making extension for a new customer, I am precompiling the complete web site and deploy it (with around 600 items UserControls & Pages in it). If…
HGMamaci
  • 1,339
  • 12
  • 20
3
votes
0 answers

Gradle Composite Build: How to configure Tasks for all included builds

I am new to gradle composite builds. I have a multi-project build that uses precompiled script plugins in order to have tasks configured for all projects that include the plugin. Now I want to port that functionality to a composite build setup. The…
3
votes
2 answers

Javascript template engine which would come with a precompilation script?

I am searching for the javascript template engine which ships with the precompilation script + watcher. How would I see it: You write the files as the typical html layouts and store in let's say the files of the .mustache type You run a watcher in…
lyuba
  • 6,250
  • 7
  • 27
  • 37
3
votes
0 answers

ccache and precompiled header

I'm using precompiled header and CCACHE to speed up my compilation (GCC 5.3.1) The two works separatly (I have a speed up x2 for precompiled, and x25 for CCACHE on second run), but I have trouble to make them work together (I have only cache miss…
flod
  • 235
  • 4
  • 12
3
votes
4 answers

Using precompiled headers, header file changes arent picked up, expected?

Visual Studio C++ lib project Project is set to use precompiled headers stdafx.cpp is set to create precompiled header I have a header file, MyClass.h If I build, then make a change to MyClass.h that should fail to compile, compile still…
cpp dev
  • 163
  • 1
  • 5
3
votes
2 answers

How to excute a Lua compiled file and call functions with custom global environment in LuaJ?

I have precompiled Lua script with ScriptEngine. private void preCompile(){ ScriptEngineManager manager = new ScriptEngineManager(); engine = manager.getEngineByName("luaj"); if(engine instanceof Compilable){ try { …
RayEden
  • 31
  • 2
3
votes
4 answers

Why can my precompiled web application not load the RDLC report?

I have a VS2008 Web Application project that is being pre-compiled without being updatable. When I try to load a page that should display an RDLC report using the ReportViewer, it just displays an empty page. It works fine in a non-precompiled…
Daan
  • 6,952
  • 4
  • 29
  • 36
1 2
3
10 11