Ignore Reporting-Services Warnings in Visual Studio - visual-studio-2013

I'm trying to get rid of the 'rsOverlappingReportItems'-Warnings in the Visual Studio, since we did the overlapping on purpose.
I did the usual proceeding by getting the warning-code:
SomeRDLC.rdlc : warning rsOverlappingReportItems: The text box
‘textbox236’ and the text box ‘textbox43’ overlap. Overlapping report
items are not supported in all renderers.
In this case, I just expected "rsOverlappingReportItems" to be the Code.
Then I added it on the Project under Build --> Support Warnings.
But this doesn't seem to work this way. As far as I've seen, there is no way to tell the Reporting-Services explictly to ignore this warning, but shouldn't it possible to tell that to the Compiler?
Thanks in advance.

Related

Delay automatic compilation in Visual Studio 2019

Using Visual Studio 2019 Professional v16.8.2. Whenever code is modified, automatic re-compile is triggered in the background. This has the effect of marking/unmarking error squiggles, adding/removing items from the Error List window, and Intellisense related to these errors.
To demonstrate, ensure Tools > Options > Text Editor > General > Show error squiggles is enabled and view the Error List window. Take any large C++ or C# project which compiles correctly, and deliberately add a closing brace } somewhere in a method. In one small example for me, this generated 251 errors and related error squiggles, though it is possible to generate thousands of errors this way. Now repeatedly delete and then re-add the closing brace...Visual Studio starts to lag as it tries to mark/unmark, and add/remove all these errors.
When typing fast, pasting code, or just using the IDE as a text editor, this is distracting and incredibly annoying.
Is it possible to configure a delay from last keypress before automatic compilation? Ideally I'd like something like ~2000ms, or even the ability to only re-compile manually.
It's working as intended.
It's a function of the Precompiler and Intellisense. Their whole purpose is to catch compiler errors before you try to compile your code which may take a long time (re: your example of "a large project").
There was an update to VS2019 today as of this posting and I just noticed an option under Tools > Options... > Text Editor > Advanced labeled "Auto cancel long running auxiliary operations on typing" with the following radiobox settings:
Automatically adjust maximum allowed typing latency
Maximum allowed typing latency in milliseconds [textbox]
The first option is the one selected by default. You might try changing the setting to force a maximum allowed time to 2000ms (or whatever suits your needs) and see if that helps.
As a side note: I have the exact opposite problem: the squiggles don't go away even on perfectly normal and well-formed code until I save and/or manually compile. (It's a crap shoot on which one actually works first.)

SSIS/SSDT Warnings Don't Appear in Error List

Essentially, I encounter the same problem as the question below, except that the accepted answer does not resolve it. I have neither warnings nor errors in the Error List:
See complete tooltip error message for Data Flow SSIS element in Visual Studio
Similar to the question noted above I can see a truncated warning message on the Data Flow design surface.
However, no corresponding warning is visible in Visual Studio's Error List view.
How can I view the entire warning?
This is a bit misleading from Visual Studio and could have been handled better. The long and the short of it is that the Error List window lists only messages that are related to build issues.
The warnings and errors that you see in design time are related to the execution flow. In other words, a package can be built correctly but is designed in such a way that it will generate an error. For more reading:
MSDN: Cannot see errors or warnings in SSIS - why ?
SQLServerCentral: Cannot see errors or warnings in SSIS – why ?
You will need to run the package in debug mode and then go to the Progress window. From there, you can see all messages (e.g., information, warnings, errors, etc.). Some messages may be so long that they cannot be seen. For those messages, you can click on them and paste them into your favorite text editor.
Note: when you stop debugging, the Progress window changes its name to Execution Results and the error List window becomes available.
Update
Per Hadi's follow-up comment, I was initially able to re-create the OPs problem by just modifying an existing package to create the warning message. I then built and ran the project with without receiving any error messages.
Now, after having left the office and shutting down Visual Studio, I am unable to recreate the error. The Error List window now populates with the messages. I tried building a new package from scratch without any luck either. My best recommendation at this point would be to, as with all Microsoft products, restart the application if it is not working as it should be.
This text truncation issue/bug is not just tooltips.
It's in SSIS Toolbox (description box at bottom) - no way to see the entire text describing the task/component (if not too big you can increase the width of the pane but that is not really acceptable).
(VS/SSDT 2019)
Many things to try
Try to change the combobox selected value from Build + Intellisense to Build only
Open and close the OLEDB Source by double clicking on it, since you tried to build the package the warnings disappears from the Error List, you must revalidate the component to show them
Try to update the Visual Studio 2017 to the latest release

Visual studio style error "sa1505"

I keep getting these style "errors" when I compile, and I don't want them. I can't find any reference to stylecop on my hard drive, but everything on the web seems to suggest that these errors result from stylecop. How do I turn them off? They suck.
i.e., "SA1121: Use the built-in type alias 'int' rather than Int32 or System.Int32"
StyleCop requires Resharper to work. Hover over the light bulb for R#, drop down the list of actions that can be done and you should see one for Suppress SA1121. Make that selection and then you will see a dialog for indicating if this rule is error, warning, hint etc. Just turn it off there and you should never see that rule again.

Filter error messages from build output

I'm having a hard time to quickly fix syntax errors with Visual Studio 2010 because usually the build output consists of lots and lots of warnings and maybe one or two error messages. The errors are hidden like the proverbial needle in the haystack.
Now I don't want to ignore the warnings, but the errors are more important. Is there a setting/method/trick/... in Visual Studio 2010 to filter only the error messages from the build output? Perhaps one can sort the build output according to warnings an errors. If so, how?
It's all in the image... essentially, click on the type of messages you want to view/hide in the Errors list to toggle them from visible to hidden and back again...

Any way to not break on certain errors in Visual Studio 2010?

I'm working on a VS2010 project where I'm using DataAnnotations on my objects to handle validation. However, this is sort of a pain in the butt while trying to do interactive debugging because it keeps pausing VS.Net on validation errors.
Obviously, I want to break on some errors, but not these particular types. Am I out of luck and I just need to turn on and off my Break on All Errors setting? Or is there some way to tell VS to just ignore these when they happen? (these are errors generated via Validator.ValidateProperty calls.)
Thanks
You click on Debug->Exceptions and then uncheck the ones you do not want.

Resources