visual-studio-2012

“You need to install an app for this task” error with Windows Phone 8 App

情到浓时终转凉″ 提交于 2020-01-04 06:11:35
问题 My Windows Phone app gives me error "You need to install an app for this task do you want to search it on store?" on app but there's nothing shows up on debugging. if i click on yes it opens store and searching for something and founds nothing. how can I solve this? edit: it goes away when I disable IsEnabledScript. 回答1: Let me try to guess: you are using a WebControl . The page you initially navigate to probably tries to redirect to an URI that has a protocol extension (like facebook://) via

Calling any cURL function results in “entry point not found” when executing the program

非 Y 不嫁゛ 提交于 2020-01-04 06:04:56
问题 In Visual Studio 2012 (SP4) if I create a new Windows EXE solution, use the Nuget command line to "install-package curl", build the solution, the program executes correctly and displays the simple window as expected. If I add a call to curl_version() to the code (meaning the cURL, SSL, etc... DLLs are now referenced) - I get an error from Windows saying... MyProgram.EXE - Entry Point Not Found The procedure entry point CreateFile2 could not be located in the dynamic link library KERNEL32.DLL.

Calling any cURL function results in “entry point not found” when executing the program

孤者浪人 提交于 2020-01-04 06:04:28
问题 In Visual Studio 2012 (SP4) if I create a new Windows EXE solution, use the Nuget command line to "install-package curl", build the solution, the program executes correctly and displays the simple window as expected. If I add a call to curl_version() to the code (meaning the cURL, SSL, etc... DLLs are now referenced) - I get an error from Windows saying... MyProgram.EXE - Entry Point Not Found The procedure entry point CreateFile2 could not be located in the dynamic link library KERNEL32.DLL.

How to solve the infamouns AlwaysCreate=True rebuild issue with msbuild?

≯℡__Kan透↙ 提交于 2020-01-04 05:17:06
问题 I've spent far too much time trying to solve the problem of msbuild rebuilding your projects without any special reasons. As a remark, I did these on Visual Studio 2012, but probably most of these would also happen with 2010. I will provide all the steps found so far and wait for the real solution, as crearly what I found so far online did not solve the problem. Enable detailed build logs inside devenv.exe.config so we can debug what really happens. here. I assume that's the same as changing

How to view the procedural code for any xaml file

对着背影说爱祢 提交于 2020-01-04 04:09:07
问题 I'm working in Visual Studio 2012 with xaml to create an application. When I make a new solution and WPF project and look at the xaml in the application file, I see xmlns , a startupuri , and a tag for application.resources . When I want to see the code-behind that these tags are creating, I have only the .cs file with maybe a few things in it and the mysterious InitializeComponent() that performs all of the parsing. Here's an example of what it looks like: public partial class MainWindow :

How can I set the deployment path for an iisApp Provider using MsDeploy?

狂风中的少年 提交于 2020-01-04 02:37:06
问题 I am creating Web Deployment Package zip files for my Web Applications I found I am able to specify the Site Name of the application by including a pubxml during the packaging of my site and using the PublishProfile property during the build to specify that profile. The pubxml has <DeployIisAppPath>WebSiteName</DeployIisAppPath> in it and that creates the site name as seen in the IIS Management screen. I'd like to specify the location on disk of the website when it is deployed to a server

SQL Server Scripts 2012 Project into Team Foundation Server 2012

▼魔方 西西 提交于 2020-01-04 01:51:49
问题 I have a SQL Server Scripts 2012 Project with multiple SQL queries and stored procedures. We use Team Foundation Server 2012 to manage our source code for our Visual Studio Solutions. How can I check in a SQL Server Scripts 2012 Project into TFS? If it is not possible how can I manage source control on this and allow multiple developers access to it? 回答1: You have a few options, here are two that I have used. 1: Download the TFS 2012 MSSCCI Provider: This plugin allows you to access TFS from

Which version of the Dinkumware STL Lib ships with Visual Studio 2012?

穿精又带淫゛_ 提交于 2020-01-04 01:14:11
问题 In earlier versions of Visual Studio, there was a predefinied macro "_CPPLIB_VER" which reported the version of the Dinkumware STL Library shipped with this version of VS. As of 2012, I am unable to find or use this macro - it is undefinied and I am unable to find any information on this matter online. Is the Dinkumware STL Lib no longer used in VS2012? Was the macro renamed? Windows 7 x64 Microsoft Visual Studio 2012 Professional 回答1: Usually the definition of _CPPLIB_VER can be found in a

Setting C++ debug environment in Visual Studio 2012 Express

跟風遠走 提交于 2020-01-03 20:56:48
问题 The application I need to debug expects environment variables to be set. This seems ridiculously complicated in Visual Studio 2012. I'd like to do something like: set path=c:\foo;c:\bar;c:\windows;c:\program files\application set port=12345 set server=hulligulli Microsoft tells me I should just "Use standard environment variable syntax". So I expected I could just open Configuration Properties/Debugging/Environment and write set path=c:\foo;c:\bar;c:\windows;c:\program files\application set

How do I insert ‘\’+‘n’ using regex replacement in MSVS 2012+ editor (and .NET?)

烂漫一生 提交于 2020-01-03 20:30:28
问题 In the editor of Visual Studio 2013, which I understand is very similar to 2012 and allegedly uses .NET regexes, I cannot get the replacement string to insert a backslash and an ‘ n ’ — is that even possible? I wish to insert ‘ \n ’ after the first ‘ " ’ on some (but not all) lines of a C programme, i.e. make the string literals start with a new line. Obviously the expression to find is ‘ ^([^"]*)" ’, and the replacement is … what? ‘ $1" ’ + magic + ‘ n ’, where magic is whatever inserts a