publishing

VS2017 15.8.2 publishing error (.NET Core 2.1)

心已入冬 提交于 2019-12-18 06:13:07
问题 Last week it was working perfectly!!! Now, after download and install the update "15.8.2", when I try to publish my app the final step is failing. I mean, while the build process is carried out with no problem, the publish process is returning with the following error: "NETSDK1061: The project was restored using Microsoft.NETCore.App version 2.1.3, but with current settings, version 2.1.3-servicing-26724-03 would be used instead. To resolve this issue, make sure the same settings are used for

AfterPublish script doesn't run when I publish a web app

狂风中的少年 提交于 2019-12-17 20:36:04
问题 I've got an ASP.NET web app that I publish to our website when I make changes or fix bugs. We want to automatically save a backup of the project files to our server (separate from the SVN check in), so I wrote a batch file to copy the entire project from my local drive to the server. The batch file works properly when run stand alone, so that's not the problem. The batch file is not in the path of the project if that's a concern. Then I added these lines to my .csproj file right above the

Strong Signed Assemblies

拜拜、爱过 提交于 2019-12-17 15:53:52
问题 I have a project I made in Visual Basic 2008 Express. I converted it from someone else's C# project, but it works. It has several DLL dependencies. I went to publish my project so I can install it on another machine and for each DLL, I get an error: "Assembly must be strong signed in order to be marked as a prerequisite." I've done some research, but am not finding a lot and what I have found I don't really understand. What does this error mean? What is the best way to resolve it? One other

How to include data files with the app's APK?

你说的曾经没有我的故事 提交于 2019-12-17 07:17:24
问题 I want to create some pre-created files when my Android application is installed. I would like to create the file in both the internal memory (data/data//files/) and in a newly created sdcard directories (/sdcard//data1/). How can I do this? 回答1: You can save you files in \res\raw and write the code to store this files to the desired locations if it does not exist when the app start. Check this to access the internal memory and sdcard and access the raw file using the following InputStream

Publishing my web application can take long time to accomplish because of the .suo file

有些话、适合烂在心里 提交于 2019-12-14 03:39:58
问题 I have a web application project that I publish via Visual Studio 2010 to my server. My problem is that it can take very long time before it can actually publish it. Maybe 10 minutes ! It doesnt happen everytime but very often. Here's a summary of what i have in the Output -> Build console when I try to publish: The project is compiling - OK Connecting to C:\Users{user}\Desktop\MyProjectTest... ( this is where it can take up to 10 minutes ) The files are publishing... Process Explorer When I

How to post on directly users wall in Facebook

北城以北 提交于 2019-12-14 03:11:46
问题 I use this to post on users wall, but it shows a blank page, and the post doesn't appear on my wall : $url = "https://graph.facebook.com/user_id/feed"; $ch = curl_init(); $attachment = array( 'access_token' => access_token_here, 'name' => "Rave Kenya", 'link' => "www.youtube.com", 'description' => 'Testing a new facebook app', 'message' => 'Tested', ); curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); curl_setopt(

Proguard Error Code 1: Proguard.ParseException

淺唱寂寞╮ 提交于 2019-12-14 02:28:35
问题 I am trying to export my android application with proguard enabled when I get this error:- Proguard returned with error code 1. See console proguard.ParseException: Expecting java type before ' ' in line 79 of file 'C:\Documents and Settings\Acer.ACER-2487AA0235\My Documents\Eclipse\Myproject\proguard-project.txt', included from argument number 4 at proguard.ConfigurationParser.checkJavaIdentifier(ConfigurationParser.java:1187) at proguard.ConfigurationParser

Correct tags in PUBXML not recognized by intellisense

╄→尐↘猪︶ㄣ 提交于 2019-12-13 17:24:07
问题 I've noticed that in my PUBXML file, the first element is underlined by a blue wave. When I removed it and tried to enter it, I noticed that intellisense didn't recognize it. I've checked with MSDN about PUBXML files and it seems to be correct. I also noticed that when I removed the first tag in the <PropertyGroup> , the second (now becoming the topmost) immediately got underlined by the same blue wave. So my conclusion is that it's not the inner, underlined tags that's something is wrong

SVsBuildManagerAccessor fails when Publishing in VS2010

半城伤御伤魂 提交于 2019-12-13 15:32:38
问题 Something is wrong with my VS 2010, i can't publish any project, i get an error: Get service of SVsBuildManagerAccessor fails 回答1: I have been trying to solve this for sometime. Oddly, at the same time this started happening I started experiencing an issue with sql server management studio too. The solution I found to this problem also resolved the issue with publishing using VS2010. Just execute the following to re-register the ieproxy dll: regsvr32 "C:\Program Files (x86)\Internet Explorer

SharePoint - Invalid Field Name Error

自作多情 提交于 2019-12-13 02:56:33
问题 UPDATE Worth noting that this is only happening when the site definition is called from SPWebApplication.Sites.Add, if I use the UI then this works fine. My code is impersonating the system account when calling this code. Am I right in thinking that the ApplyWebTemplate() method of SPSite is asynchronous? If this is the case then my issue is probably one of timing. I.e. the required infrastructure is not yet in place when this code is run. ORIGINAL QUESTION I have a custom site definition