deployment

Visual Studio 2019 installer project: how to remove launch condition for .NET Framework

╄→尐↘猪︶ㄣ 提交于 2021-02-05 08:41:50
问题 The extension Visual Studio Installer Projects was dropped at some point - about 10 years ago. Protests from many developers caused Microsoft to change its mind and the extension was reintroduced and then left unchanged as far as I know. I have worked with it for a long time - actually to package applications built outside Visual Studio (i.e. Delphi and Java stuff). This worked well until recently. Now a dependency is somehow detected for .NET Framework 4.7.2, but my colleagues assured me

Eclipse Glassfish, not publishing changes to required projects

↘锁芯ラ 提交于 2021-02-05 07:47:47
问题 My setup is as follows: I am using Eclipse Version: Juno Service Release 2 Build id: 20130225-0426 and Glassfish 3.1.2. The glassfish adapter is version 5.0.1.201201241920 I have war maven project that is set up to require a jar maven project. I've configured the war Deployment assembly to include the jar project. I've turned off automatic publishing to glassfish (but turning it on does not solve the problem) The problem: If I make a change to a class in the jar project, the server will

VS 2010 One Click Deployment Issue “Application Validation did not succeed. Unable to continue”

我们两清 提交于 2021-02-04 13:10:13
问题 I have a win form application that i can create an installer for and install. However when it comes to one click deployment it does not work i get the following error. "Application Validation did not succeed. Unable to continue" When i click on more details i get the following. Following failure messages were detected: Reference in the manifest does not match the identity of the downloaded assembly Designer.exe. I have tried a number of different fixes without success. I have tried to create

Reference error: ngI18nClosureMode is not defined

て烟熏妆下的殇ゞ 提交于 2021-01-29 20:51:55
问题 I tried to deploy my Angular 7 web application and it throws an error - Uncaught (in promise): ReferenceError: ngI18nClosureMode is not defined. The application works fine when run locally. Did anyone come across this kind of error? Thanks in advance! 回答1: This happens mainly because of the inconsistency in package versions. Since you downgraded all versions to match 8.0.0 , the issue was resolved. I encountered the same problem, where my angular-cli version was 8.2.1 and others were set to 8

Reference error: ngI18nClosureMode is not defined

倾然丶 夕夏残阳落幕 提交于 2021-01-29 18:10:33
问题 I tried to deploy my Angular 7 web application and it throws an error - Uncaught (in promise): ReferenceError: ngI18nClosureMode is not defined. The application works fine when run locally. Did anyone come across this kind of error? Thanks in advance! 回答1: This happens mainly because of the inconsistency in package versions. Since you downgraded all versions to match 8.0.0 , the issue was resolved. I encountered the same problem, where my angular-cli version was 8.2.1 and others were set to 8

How to integrate Tensorflow (Keras) model into Windows application for fast inference (pref C++ real-time)

陌路散爱 提交于 2021-01-29 16:15:55
问题 Suppose I have an existing Windows application (hello1.exe). Suppose I also have a tf.Keras neural net model trained and classifying test data. How do I take the latter "out of the lab" and deploy it in the "real world" by combining the two components something like this: > hello2.exe cat.jpg Hello World. BTW: the file 'cat.jpg' contains a cat That is, hello2.exe extends my existing hello1.exe by using the trained model to infer the contents of the input file. I don't mind if the input data

Deploying ML models with Flask and Gunicorn

℡╲_俬逩灬. 提交于 2021-01-29 15:44:15
问题 I'm deploying a ML model for the first time. I'm using flask-restful to create a rest api and gunicorn as stand-alone WSGI.my project directory has only 2 files , ML_model.py and rApi.py. i installed gunicorn and ran the server using gunicorn -w 4 -b 127.0.0.1:5000 rApi:app and i'm able to use the restAPi. I see many things like .env , .config and wsgi.py files mentioned in tutorials available online. what am I missing. why do i need all those files if i can use the API already? 回答1: I see

Server Error 403 Forbidden on Blazor server app published to Linux hosting

亡梦爱人 提交于 2021-01-29 15:28:16
问题 I want to deploy a Hello World Blazor Server App created with the Blazor App Source Template 3.1.11 in VS2019 C# The app is created in VS2019 on Windows 10 The docs show how to create the /bin/Release/{TARGET FRAMEWORK}/publish folder I copied the files here to the domain folder in my hosting package, but do not know the next step. web.config is for windows hosting. What do I need to do for Linux? At the moment I get a 403 error if I go to the site. I can publish the app to a windows hosted

Rails (PG::GroupingError: ERROR: column must appear in the GROUP BY clause or be used in an aggregate function

本小妞迷上赌 提交于 2021-01-29 13:49:32
问题 In my local this query work perfect with sqlite3 def Event.most_like select("events.*, count(like_events.event_id) as likes_count") .joins(:like_events).group(:event_id).order("likes_count DESC").limit(4) end but i got some error when deploy heroku PG::GroupingError: ERROR: column "events.id" must appear in the GROUP BY clause or be used in an aggregate function Can someone help me fix this? 回答1: As the message, all fields in Select clause must appear in the GROUP BY or in aggregate function.

updating a deployment - uploaded images gets deleted after redeployment to google cloud

社会主义新天地 提交于 2021-01-29 11:42:06
问题 So I have a node js web app, this web app has a folder to store images uploaded by users from a mobile app. How I upload the image to the folder is by using the image's base64 string, and using fs.writeFile to save the image to the folder, like this: fs.writeFile(__dirname + '/../images/complaintImg/complaintcase_' + data.cID + '.jpg', Buffer.from(data.complaintImage, 'base64'), function (err) { if (err) { console.log(err); } else { console.log("success"); } }); The problem is, whenever the