visual-studio-2013

Application crashed with event name CLR20r3? [duplicate]

风流意气都作罢 提交于 2021-02-08 09:07:20
问题 This question already has answers here : Deciphering the .NET clr20r3 exception parameters P1..P10 (2 answers) Closed 6 years ago . My application crashed on customer's machine with the following message My application use WPF, C# and C++. Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: mysticserver.exe Problem Signature 02: 1.0.0.0 Problem Signature 03: 544d0baf Problem Signature 04: PresentationCore Problem Signature 05: 4.0.30319.17929 Problem Signature 06: 4ffa6e63

Application crashed with event name CLR20r3? [duplicate]

谁都会走 提交于 2021-02-08 09:06:38
问题 This question already has answers here : Deciphering the .NET clr20r3 exception parameters P1..P10 (2 answers) Closed 6 years ago . My application crashed on customer's machine with the following message My application use WPF, C# and C++. Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: mysticserver.exe Problem Signature 02: 1.0.0.0 Problem Signature 03: 544d0baf Problem Signature 04: PresentationCore Problem Signature 05: 4.0.30319.17929 Problem Signature 06: 4ffa6e63

Do not copy SASS / LESS file when using Web Publish

大兔子大兔子 提交于 2021-02-08 01:48:05
问题 When publishing a Web Application (MVC in my case) via File System in Web Publish setting, most of the *.scss & *.less files get deployed as well. How do I configure a Visual Studio project so that it does not deploy these files? 回答1: I believe setting "Build action" to "None" and "Copy to output directory" to "Never" should work. You can do it in property window of the file. Right click the file in solution explorer and click properties 回答2: Visual Studio deploys only those files that are

CMake: How to show headers in “Header files” in Visual Studio project?

有些话、适合烂在心里 提交于 2021-02-07 23:47:11
问题 I have created a simple library project in C++ and added CMake file to automatically generate a Visual Studio project. My small project contains only 2 files: include/ testproject/ testproject.h src/ testproject.cpp CMakeLists.txt Header file now in External Dependencies (screenshot). How to display it in the section "Headers"? (or any other. Just not "External Dependencies") CMakeLists.txt: CMAKE_MINIMUM_REQUIRED(VERSION 2.8) SET(PROJECTNAME testproject) PROJECT(${PROJECTNAME}) FILE(GLOB MY

CMake: How to show headers in “Header files” in Visual Studio project?

人走茶凉 提交于 2021-02-07 23:44:47
问题 I have created a simple library project in C++ and added CMake file to automatically generate a Visual Studio project. My small project contains only 2 files: include/ testproject/ testproject.h src/ testproject.cpp CMakeLists.txt Header file now in External Dependencies (screenshot). How to display it in the section "Headers"? (or any other. Just not "External Dependencies") CMakeLists.txt: CMAKE_MINIMUM_REQUIRED(VERSION 2.8) SET(PROJECTNAME testproject) PROJECT(${PROJECTNAME}) FILE(GLOB MY

Where solution build order is saved

拥有回忆 提交于 2021-02-07 21:01:50
问题 I have a solution which contains multiple projects (csproj & btproj). I'm actually running BizTalk 2013 R2, so I'm developing under Visual Studio 2013. I have many powershell scripts to deploy my applications and I have to enhance them. I need to read or determine the projects build order of a solution to deploy my assemblies in this order. Ok I can get it under "Project->Project Dependencies", but where are these informations stored ? Or how can I determine them programatically with

Git remote operations inside Visual Studio 2013 result in the error “A specified logon session does not exist. It may already have been terminated”

南楼画角 提交于 2021-02-07 13:19:31
问题 I am using Git inside Visual Studio 2013. When I attempt to do any operation against a remote like fetch, pull, push, etc. I get the following error: An error occurred. Detailed message: An error was raised by libgit2. Category = Net (Error). A specified logon session does not exist. It may already have been terminated I was unable to find an answer but eventually found two work-arounds. I will post the work-arounds here. I downloaded Git so I could use it outside of Visual Studio. If I ran

Cannot create controller with Entity framework - Unable to retrieve metadata

a 夏天 提交于 2021-02-06 15:15:40
问题 I'm using VS2013 When I try to create an "MVC 5 Controller with views using entity Framework" I get the following error: there was an error running the selected code generator ''Unable to retrieve metadata for WebApplication.Domain.Entities.Product'.' EFDbContext.cs using System.Data.Entity; using WebApplication.Domain.Entities; namespace WebApplication.Domain.Concrete { public class EFDbContext : DbContext { public DbSet<Product> Products; } } Product.cs using System.ComponentModel

Stop Visual Studio from putting using directives outside namespace

半世苍凉 提交于 2021-02-06 14:51:06
问题 Is there a setting in Visual Studio (or Resharper) that allows you to specify what namespaces should be default and which scope they are put in? The default for an MVC project for example is using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Namespace { public class Class1 { } } but Resharper and Stylecop complain: All using directives must be placed inside of the namespace. [StyleCop Rule: SA1200] Using directive is not required by the code and can

VS2013 or VS2015 shows “unspecified error”

喜欢而已 提交于 2021-02-06 14:27:46
问题 When I open my worked solution (after merge from other branch) VS2013 shows error message "unspecified error" and I cannot close the window (the error's dialog jumps each time when I close it). VS2012 opens the solution without error messages. I suspect issue related to TFS configuration. How can I found actual reason of the error? 回答1: I have searched a lot about its root cause but couldn't found any concrete information. For me, Deleting the solution's .suo file. resolve this problem. 回答2: