Posts by Diego Aquino • 179 points
12 posts
-
0
votes1
answer3250
viewsQ: How to change the color of text selection in VS Code?
In the image, the selected text is with black color, I want to put a lighter color.…
-
1
votes2
answers81
viewsA: Error while searching with Entityframework
I was able to solve by placing this property -> db.Configuration.Proxycreationenabled = false. The code was Like this: [HttpGet] public async Task<ActionResult> GetProdutos(int? id) {…
-
1
votes2
answers81
viewsQ: Error while searching with Entityframework
I’m having a problem with a request, in the controller when I query the products table appears the following message when debugging, I click on an icon and does not return any data, but the table…
-
0
votes1
answer55
viewsQ: I’m having some problems with GROUP BY
I’m having trouble assembling a select with the GROUP BY. What I want to do is this: I have three tables: bicos idbico, idempresa, idbomba abastecimentos idabastec, idbico, idempresa, valorabastecim…
-
0
votes1
answer376
viewsA: Error adding view in visual studio
I was able to solve it this way: Right-click on your project that is being shown on the right side, on the Solution explore, and click on the -> "Set as startup project".
-
0
votes1
answer376
viewsQ: Error adding view in visual studio
Hello, I’m starting in Asp.net mvc and I’m having this problem when adding a view, would anyone know what this error is about? Error: There was an error running the Selected code Generator:…
-
1
votes1
answer108
viewsQ: Undefined Reference to 'dlopen'
I’m trying to upload a file .so, but this title error is showing up. Can anyone help me? #include <iostream> #include <dlfcn.h> #include <stdio.h> using namespace std; int main() {…
-
3
votes2
answers590
viewsQ: Is it possible to develop a C++ application in Visual Studio to run on Linux?
I have to develop an application for Linux in C++ and wanted to know if it is a good use Visual Studio 2017 in Windows for such task? I wanted to know the pros and cons, because I saw that the VS…
-
1
votes2
answers294
viewsA: IF within a class
Gonçalves, thanks again for the help, but I found a simpler way to solve it. I put a directive: #if WIN64 const string DllName = "\\EZForecourt\\EZClient64.dll"; #else const string DllName =…
c#answered Diego Aquino 179 -
2
votes2
answers294
viewsQ: IF within a class
I’m new to c#, and I wanted to do this: I have the dllimport class that is being used in another class. The problem is this, I want to pass the constant(dll path) according to the version windows 64…
c#asked Diego Aquino 179 -
0
votes1
answer548
viewsQ: I cannot run an application in x86 debug mode
I’m having problems in my application, because when I compile in anycpu debug, it runs perfectly, but when I compile in x86 debug it presents the following error: System.Badimageformatexception: 'An…
-
6
votes5
answers497
viewsQ: Print string in reverse
Why can’t I print that string in reverse? I know there is possibility to use another simpler way, but I want to understand the error. static void Main(string[] args) { string frase = "Diego lima de…