Questions tagged as 'visual-studio'

1
answer

Clang presents character error too large but Visual Studio compiles normal

I'm having trouble understanding why clang presents the error message    character too large for enclosing character literal type when trying to run the code: char c = 'ç'; While Visual Studio 2015 compiles seamlessly. I know that di...
asked by 24.06.2016 / 23:08
1
answer

Error in Visual Studio [closed]

EDIT: Problem solved, after changing a lot of the code, not only in the functions mentioned here, the error stopped. I'm getting this error and I have no idea what might be causing it, I've never seen this error before. Any tips on the cause...
asked by 05.07.2014 / 21:45
2
answers

TextBox changes the value to decimal (EN) when pressing TAB, but I want to leave currency (REAL) field

I have a field <TextBox x:Name="TbTotalICMS" Style="{StaticResource MeuTextBoxValor}" Text="{Binding Vicms}" /> My Vicms is a decimal. When pressing the TAB key, the value is 1.00 (example) it turns 100. For as it is a decimal in Eng...
asked by 06.08.2018 / 14:37
4
answers

How to debug only one project in Visual Studio

I have six C # WEB projects inside a SOLUTION in Visual Studio 2010, when I run the debug, visual studio launches the six projects at a time, each one in a different process. Does it have to debug just one project or do I have to put each pro...
asked by 22.12.2014 / 13:48
1
answer

MSI installer - customizing the installer

Well, first I need to know if it is possible in an MSI installer (I use the 'setup project' that I have in VS) to select which application I want to install. For now I have an installer for each project of my solution, and now I want to centrali...
asked by 12.12.2014 / 16:03
1
answer

Advantages of Watch in comparison to Break point

Since it is possible to evaluate the value of a variable by inserting a break point where it will be used, I see no apparent advantage. Is there any advantage of using watch instead of break point to debug the code? Which are? Home...
asked by 20.06.2017 / 18:04
1
answer

Validate data from an object with DataAnnotations C # Winforms

Good afternoon, I have the following Entity class marked by Data Annotations: public class Cargo { [Key] [Display(Name ="Código")] public int Codigo { get; set; } [Required(AllowEmptyStrings =false, ErrorMessage = "A descrição...
asked by 29.10.2016 / 16:58
2
answers

Visual Studio 2015 Latch and not back when accessing page cshtml and inserted ""

People are very strange. In any project when I insert into a cshtml file a "<" the visual studio 2015 crashes and restarts, this happens in any WEB project, I've reinstalled it 3 times and it always happens. I just need to format the compu...
asked by 08.12.2015 / 01:38
2
answers

Visual Studio - 64bit Software

I would like to know how I do for a software that I made in visual studio to be executable in Windows 64 bit. I've already looked at the options somewhere to build 64 bit but I was not sure. Does anyone know this process?     
asked by 07.07.2014 / 22:50
1
answer

Remove namespace or full names

My question is if there is any shortcut, command or function of Visual Studio that removes the namespace or full names of classes, for example: to add a Data Annotation without making a using you have to put the complete namespace System. (), Bu...
asked by 22.05.2015 / 15:41