visual-studio-2015

How do I make Visual Studio 2015 ignore handled exceptions?

僤鯓⒐⒋嵵緔 提交于 2021-02-17 07:05:28
问题 So I have this chunk of code, and when debugging in Visual Studio, it's breaking even though the exception is handled in my code. I only want it to break when this exception is unhandled by my code. The Exceptions Settings box only has an option to continue on unhandled exceptions in user code, but that's not acceptable because I still need it to break if it's unhandled. I've seen screenshots of previous versions of VS that had an option for this. Is this a VS 2015 bug or did microsoft remove

initialize array with stackoverflow error [duplicate]

这一生的挚爱 提交于 2021-02-17 03:30:20
问题 This question already has answers here : How to overcome Stack Size issue with Visual Studio (running C codes with big array) (3 answers) Closed 2 years ago . I have simple method: void loadContent() { int test[500000]; test[0] = 1; } when I call this method, this error occurs: Unhandled exception at 0x00007FF639E80458 in RasterizeEditor.exe: 0xC00000FD: Stack overflow (parameters: 0x0000000000000001, 0x000000AE11EB3000). I changed the arraysize to 100 and everything is working fine... but I

initialize array with stackoverflow error [duplicate]

我与影子孤独终老i 提交于 2021-02-17 03:30:17
问题 This question already has answers here : How to overcome Stack Size issue with Visual Studio (running C codes with big array) (3 answers) Closed 2 years ago . I have simple method: void loadContent() { int test[500000]; test[0] = 1; } when I call this method, this error occurs: Unhandled exception at 0x00007FF639E80458 in RasterizeEditor.exe: 0xC00000FD: Stack overflow (parameters: 0x0000000000000001, 0x000000AE11EB3000). I changed the arraysize to 100 and everything is working fine... but I

Create setup that run without admin privileges using VS 2015 Professional

穿精又带淫゛_ 提交于 2021-02-16 18:25:09
问题 I'm trying to create a setup file (MSI) that runs without admin privileges. for that, I've tried the bellow option. I've set InstallAlluser property to false as bellow. Also set InstallAllUsersVisible to false I've also changed Default location with [AppDataFolder] After changes above properties It still required Administrator permission to execute MSI file that created using Setup project. Can you please help me to resolve this issue. Thanks in Advance. 回答1: When you open your MSI with Orca

Email sending code working on localhost but not on server

与世无争的帅哥 提交于 2021-02-10 13:37:35
问题 I have written an email sending code using c#. I used GoDaddy's server for my website. It is working on localhost (VS 2013), But when deployed the same code on the server it gives the following error: Server Error in '/' Application. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [2607:f8b0:400e:c05::6c]:25 Description: An unhandled exception occurred during

How to create a new keystore in xamarin.android?

一曲冷凌霜 提交于 2021-02-10 07:14:10
问题 I'm trying to publish a xamarin.android app. I'm using Visual Studio with Xamarin Android 6, so I followed this. In part 2, it describes how to create a new keystore as shown in the following screenshot (You can see the complete describtion here): I don't get where should I place this command. I looked at that keytool link, but couldn't find any thing. I tried cmd, MSBuild Command Prompt for VS2015 and Developer Command Prompt for VS2015, but all of them showed this error: '$' is not

How to create a new keystore in xamarin.android?

删除回忆录丶 提交于 2021-02-10 07:09:15
问题 I'm trying to publish a xamarin.android app. I'm using Visual Studio with Xamarin Android 6, so I followed this. In part 2, it describes how to create a new keystore as shown in the following screenshot (You can see the complete describtion here): I don't get where should I place this command. I looked at that keytool link, but couldn't find any thing. I tried cmd, MSBuild Command Prompt for VS2015 and Developer Command Prompt for VS2015, but all of them showed this error: '$' is not

Constexpr Factorial Compilation Results in VS2015 and GCC 5.4.0

感情迁移 提交于 2021-02-10 05:58:45
问题 Wondering if the following surprises anyone, as it did me? Alex Allain's article here on using constexpr shows the following factorial example: constexpr factorial (int n) { return n > 0 ? n * factorial( n - 1 ) : 1; } And states: Now you can use factorial(2) and when the compiler sees it, it can optimize away the call and make the calculation entirely at compile time. I tried this in VS2015 in Release mode with full optimizations on (/Ox) and stepped through the code in the debugger viewing

VS2015 crashing with “A new guard page…” when just editing source code

瘦欲@ 提交于 2021-02-10 05:33:50
问题 The Problem: Visual Studio 2015 keeps crashing with this error: A new guard page for the stack cannot be created Background: There are already a few questions out there regarding this error in other contexts, but they all appear to be related to interoperating with legacy COM code or designer tools in Visual Studio. I am just trying to edit a C# source file. Windows service / A new guard page for the stack cannot be created A new guard page for the stack cannot be created Previously, I've

Is It possible to build asp.net core project using MSBuild from code?

不想你离开。 提交于 2021-02-09 10:42:30
问题 I want to build asp.net core project using another C# project. Here is the sample code. ( I am using Visual Studio 2015) var projectCollection = new Microsoft.Build.Evaluation.ProjectCollection(Microsoft.Build.Evaluation.ToolsetDefinitionLocations.Registry); projectCollection.DefaultToolsVersion = "14.0"; projectCollection.RegisterLogger(new Microsoft.Build.Logging.ConsoleLogger(Microsoft.Build.Framework.LoggerVerbosity.Detailed)); var project = projectCollection.LoadProject(@"H:\Development