Questions tagged [self-contained]

Self-contained in programming can refer to a script, program or a library that is completely independent and contains everything necessary within its code.

Self-contained in programming can refer to a script, program or a library that is completely independent and contains everything necessary within its code. This is very useful in programming when creating libraries, as this makes them completely modular, and therefore easy to migrate from one project to another.

101 questions
1
vote
0 answers

Why is .Net Core's PublishSingleFile doing self extraction instead of resource embedding assemblies?

To me, merging .Net binaries so that I'm left with one single file executable was always a both interesting and important feature. From what I've read, there are three approaches regarding this: ILMerge Really merges the assemblies. Comparable to…
1
vote
1 answer

How to publish self-contained dotnet core package via pipeline UI to azure artifacts?

I have created an application using dotnet core. I am building it as a self-contained package. I am attempting to publish it to an Azure artifact server using the pipeline UI. I have been able to successfully build the self-contained package, and…
1
vote
0 answers

Looking for a way to pack node app into standalone Windows executable running as Windows service

I need to run a node.js server application as a self-contained executable which should be a Windows service. There are several libraries creating either a self-contained executable or which implement a Windows service layer in node.js but do not…
1
vote
1 answer

Can a self-contained .netcore app run on AIX?

I successfully ran self-contained .net-core 3 apps on Linux, but if I am trying to run on AIX it fails: bash: ./CoreConsole: cannot execute binary file: Cannot run a file that does not have a valid format. I know AIX is unix operating system, but…
Mihaimyh
  • 1,262
  • 1
  • 13
  • 35
1
vote
0 answers

How to create self-contained java applications?

What I'm trying to do is to build a java swing app that's compatible on both Windows and macOS. Exporting an executable jar file and running it on another computer with JRE on it works perfectly, but the problem lies with computers that don't have…
user10516073
1
vote
2 answers

Is it possible to publish multiple self contained .Net Core apps with one shared framework

I have a solution with two .Net Core console applications. I want to publish both as a self contained application. Both applications use the same framework. My question is, how can I publish them so that I have only one framework, which both…
Yggdrasil
  • 1,377
  • 2
  • 13
  • 27
1
vote
0 answers

How to set the install path on a self-contained app JavaFX .deb (Debian) package

I'm trying to generate a .deb file, containing a self-contained copy of my JavaFX application, using the Oracle JavaFX Ant fx:deploy Task. I've followed the samples on official documentation and my pom.xml configuration looks like this:
Danilo Guimaraes
  • 301
  • 4
  • 11
1
vote
0 answers

Absolute build patch in exeptions on self-contained .Net Core application

I published and deployed self-contained .Net Core 1.1 application to Debian 8. When i runing my application and throw unhandled exception i see (by UseDeveloperExceptionPage()) my local absolute build path from dev stage XXX in…
Obin
  • 473
  • 2
  • 6
  • 13
1
vote
0 answers

Expected coreclr library not found in package graph. Please try running dotnet restore again

I tried to build the .Net core self contained application for the following RIDs ubuntu.15.04-x64, ubuntu.15.10-x64, and ubuntu.16.10-x64. Then the build is failed with following errors. Failed to make the following project runnable:…
Michael Raj
  • 79
  • 1
  • 10
1
vote
1 answer

JavaFX Windows 10 native bundle deployment - Exception Access Violation

I'm working on a JavaFX 8 application for communication to a physical device via Windows virtual Com-Port. Windows 7/10 64Bit IDE Eclipse Mars Ant InnoSetup 5.5.6 jdk 1.8.0_121 jssc 2.7.0 - for serial port communication I'm building the…
Andi
  • 11
  • 2
1
vote
0 answers

self contained javafx app - launch app with windows startup

I am using intellij ant and wix to build a .msi of a javafx client app How do i set it up such that the app launches by itself everytime the user logins. I tried setting it up using wxi generated by wix.
1
vote
1 answer

Self Contained installation luarocks on Windows

I want to create self contained installation with luarocks that contain lua installation plus some lua and Dll files I added to the library. In other word I have one lua appender that I want to add to the logging folder, and two dll files that I…
jprbest
  • 717
  • 6
  • 15
  • 32
1
vote
1 answer

Java 7: using URLClassLoader not working anymore

my problem is, that my code which was working on Java6 does not work any more. Since my app needs to load jar's at runtime (plugins), i wrote myselt a simple class deriving from URLClassLoader like this public class MyClassLoader extends…
Chris
  • 697
  • 4
  • 17
0
votes
1 answer

Resize image and add an overlay image without using tables and without losing style in xml

I am building a system to create a "fake video embed" with thumbnails and play buttons over them. The images are coming from a service at a standard size, so have no choice but to resize them in HTML. Another restriction is, the codeblock has to be…
al.
  • 211
  • 1
  • 10
0
votes
0 answers

deploy .net 7 rest service in linux (shared bluehost and ionos)

I have a simple .NET 7 REST API service that only contains the default WeatherForecastController. This controller is automatically generated when creating a new project. That's it. I intentionally kept it simple without any databases or other…