deployment

How to deploy different App.config values (with WiX)

旧巷老猫 提交于 2019-12-12 13:36:19
问题 I've been looking for a best practice recommendation on how to deploy an application with a WiX installer for different values in its App.config file. For example. On my local development machine, I use App.config settings for our test environment: <configuration> <appSettings> <WorkingDirectory>C:\Working</WorkingDirectory> </appSettings> <connectionStrings> <add name="ApplicationEntities" connectionString="[TestingConnectionString]" providerName="System.Data.EntityClient" /> <

Why does Eclipse not deploy dependency to Glassfish?

依然范特西╮ 提交于 2019-12-12 13:18:35
问题 I am using Eclipse Helios, Glassfish 3.0.1 (Full Platform) and myfaces 2.0 . There a two projects in the workspace: A simple Java project (=> JP) and a dynamic web project (=> WP). I added JP to the classpath of WP. I added one class from JP as a managed bean to the faces-config.xml file of WP. <managed-bean> <managed-bean-name>myBean</managed-bean-name> <managed-bean-class>myPackage.MyBean</managed-bean-class> <managed-bean-scope>application</managed-bean-scope> </managed-bean> When I deploy

Invalid file names when trying to deploy SSDT project with TeamCity 8

旧巷老猫 提交于 2019-12-12 13:18:10
问题 I am trying to deploy Visual Studio 2012 SSDT project to Sql Server using TeamCity 8 and MSBuild Publish task but the deployment fails. When I look at TeamCity logs and use /v:diag switch in my build configuration I see that for unknown reason MSBuild searches for MyProject .sqlproj .publish.sql and for MyProject .sqlproj .dacpac files. The exact error: [SqlPublishTask] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets(1233, 5): File

Error In Deploying “Error writing file FOLDERID_APPID_INSTALL…” at WP8

≯℡__Kan透↙ 提交于 2019-12-12 13:09:34
问题 When I deploy my application to my unlocked device (Lumia 1020), VS is giving me an error that I am using VS 2013 and it is in admin mode. How can I fix it? Thanks. 回答1: I just had the same error when trying to deploy a release build to my Lumia 920. As Shawn Kendrot mentions in the comments, I already had the release build deployed to my phone as installed via the store. Switching to a debug build and deploying that one instead worked. 来源: https://stackoverflow.com/questions/22132635/error

Check to see if a compiled dll has changed?

て烟熏妆下的殇ゞ 提交于 2019-12-12 12:59:29
问题 We are trying to figure out a way to see if a dll on a user pc is different from the deployment server. We can't use a timestamp because our build script builds everything everytime (and this is the way we want to keep it). We also prefer not to use version # because we can definitely see people forgetting this a lot. Some of our dlls change all the time (at least a couple times a week). I tried to create an XML File with the MD5 hash of every file but apparently this won't work because the

move from local xampp server to online server

主宰稳场 提交于 2019-12-12 12:13:09
问题 I wrote an android app and for development, I used a local XAMPP server. On the server side I use a mysql db and a few php files that contain the queries. On the android side, I use HttpURLConnection as shown below url = new URL(AppHelper.SERVER_URL + phpFile); connection = (HttpURLConnection) url.openConnection(); connection.setDoOutput(true); connection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); connection.setRequestMethod("POST"); request = new

Robocopy to copy files to a remote machine

若如初见. 提交于 2019-12-12 11:47:54
问题 I'm trying to write a robocopy command to copy files from my local computer to any one of my deployment servers ROBOCOPY ../../MyService/bin/release/ \\remote-computer\\C:\services\myservice /MIR and I get this error The system detected a possible attempt to compromise security. Please ensure that you can contact the server that authenticated you. This is expected as I haven't included any sort of security credentials in the command. Is there a way to get this to work by including permissions

Visual Studio problem with deploying all files of .NET Compact Framework application

穿精又带淫゛_ 提交于 2019-12-12 11:23:43
问题 My application consist of an executable project and a dll library. My executable project has added the reference to the library project. The library project contains some "content" files like .ini .bmp. The problem is that these files are not copied to the device when I deploy the executable project. Only dll file is copied. The curious thing is that all files are copied to the \ExecutableProject\bin\Debug directory on the desktop machine. To workaround this I've set the deployment path of

Node.js deployment stack

六月ゝ 毕业季﹏ 提交于 2019-12-12 10:58:29
问题 What is the best node.js deployment stack? I'm going to use Nginx comunicating with node.js on fugue through unix domain socket + mongodb + NPM packages installed in user home. Is there something better? By the way, shouldn't node have something like rack, which would handle server configuration and start listening on port or socket which would be forced by server software? Now I do crazy hi-jacking server.listen function to get server and launch it by fugue. Have You some experience on doing

Launching TaskHost.exe failed, trying to run Windows Phone 8 app?

故事扮演 提交于 2019-12-12 10:57:22
问题 My VS 2013 setup has been humming along fine for months now. Today I tried to update to Visual Studio 2013 Update 2 RC. Just like last time when I updated to Update 1, setup failed badly with a huge list of packages marked with the "Incorrect Hash Value" error. Unfortunately MS does not have an ISO yet for Update 2 so I can't take that route to complete the update like I did last time. Now I can't run apps on the Windows Phone emulator or on the phone (device) anymore. I believe that the