XSLT Debugging: "The stylesheet is too complex." XsltException - visual-studio-2010

When I try to debug an XSLT file using Visual Studio 2010, I get the following popup:
---------------------------
Transform Error
---------------------------
XSL Transformation failed. See Output Window for details.
---------------------------
OK
---------------------------
Once I click OK the following appears in the output window in VS2010:
XsltException
-------------
The stylesheet is too complex.
The XSL stylesheet I'm using has 1881 lines (~68KB). I tried breaking it up using 10 imports (about 275 lines each), but I get the same error. This doesn't happen for any of my other stylesheets (my next biggest stylesheet is about 300 lines and <16KB).
NOTE: This does -not- happen in Visual Studio 2008. I'm using this as a temp fix.
NOTE 2: I found a Windows Support Page about how format-number() might be causing an error, but I've installed all service packs and it didn't change anything. (http://support.microsoft.com/kb/832757)

Related

Visual Studio Mac highlight warnings in code

In Visual Studio for Windows, warnings are underlined in green. I am trying to get the same result in Visual Studio Mac, but it only highlights errors (in red). In the error pad (View -> Pads -> Errors) there are many warnings, but they are not highlighted in the code.
I'm using stylecop so warnings are a very frequent thing. But it is not really workable if they're not highlighted in my code.
For VS (windows) this was configurable in the Code Analyzer tab. This has been replaced I believe by Roselyn editorconfigs, but with this I have been unable to figure out how to configure warning highlighting in my code
I don't know if my solutions is exactly what are you looking for, but I use 2 extensions for highlight errors and warnings:
Error Lens (usernamehw.errorlens) for highlight the entire line and show on real time the error diagnostic
Error Gutters (igorsbitnev.error-gutters) for put error icons next of line number
Both look like this:
This issue has been resolved in the latest version of Visual Studio for mac (checked with 8.3.4)

Visual Studio 17 And Unreal Engine

So, I have installed Visual Studio 17 for my Unreal Engine. I used Visual Studio 15 before. I know that Intellisense takes a lot of time to catch up with Unreal identifiers but I have waited for hours and Intellisense complains even with FName. It shows an error with a red squiggly line which says identifier "......"(<-could be FName,FString,AActor,etc) undefined. I developed the project in VS 15 till now and now I upgraded to VS17 and then I wanted to finish the project in VS17. But now Intellisense is acting weird. Also VS17 can't even open header files located inside a folder.The ones I had already opened in Visual Studio 15 work ok but complain of not being able to open source file. Compiling from the Unreal Engine still shows no error though. And the project runs fine. Attaching 2 pics below highlighting my issues.ALso VS17 also complains about being unable to open source file.
I have tried reinstalling VS17 and even adding /YU for making Intellisense load faster but it still doesn't help.
Also, when I type in Unreal commands, it doesn't even show up the commands or the information for them like their prototype and all the good stuff that Intellisense is supposed to help with.

Target schema for validation - missing in VS 2012 intellisense - how to resolve?

In a MVC4, razor view, I am unable to get HTML5 intellisense.
After adding AngularJS references to VS2012 for intellisense, I still wasn't getting the any of the AngularJS directives to appear.
I have the HTML5 schema enabled (Tools/Options/Text Editor/HTML).
I also don't see any of the HTML5 intellisense as shown here.
When I type the
<
Intellisense is "text".
Other tags show a green line with the message "Validation ($SCHEMA$): Element 'script' is not supported.
Looks like there's a disconnect somewhere with my schemas.
I also tried added the target schema for validation to the toolbar and received the error:
---------------------------
Microsoft Visual Studio
---------------------------
Could not complete the action.
---------------------------
OK
---------------------------
How can I resolve this?
I have had exactly the same problem with VS 2013. I had been messing about with the schemas used for validation, so I reckoned that was the problem, turns out I had likely corrupted one of the files.
Find a "healthy" install of VS 2012 (maybe install on another machine?), zip & copy the following directory:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Packages\schemas\html
Delete the directory from the "unhealthy" VS and copy the "healthy" one into it's place. Then re-start VS.
For 2013, you may also need to do the same for the following directory:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\Web\Schemas\1033\HTML
Prior to this I had also done a "Devenv.exe /Setup" and "Devenv.exe /ResetSettings", but I don't think these are necessary.

Assembly in Visual Studio 2012 - Red syntax error

I'm using Visual Studio 2012 and I've just created a platform for ASM using Irvine Tutorial at http://kipirvine.com/asm/gettingStartedVS2012/index.htm
Everything works just fine, In order to create a new project I just open an existing project of Irvine Examples and add my own assembly file (otherwise in case I create my own project I get error regarding missing EXE file).
The more complicated issue is the syntax of the Visual Studio. I'm getting a red underline under comments as you can see in the attached image.
These errors don't prevent compiling or running of the ASM program but it is really annoying to view tbe code or writing the code with these strong red syntax errors in front of the eyes.
Do you know this issue? How can I fix it? Why does it happen? Is it realted to the intellisense?
See attached image :
Thank you

how to stop the showing error message in visual studio for jscript in visual studio 2010

i am using IE 8 for testing the javascript i write for my web-application. i use something who are not unknown for IE 8 so they give me error each time
"Microsoft JScript runtime error: Object doesn't support this property or method".
are their any way to stop this error showing in visual studio when i debug the javascript.
when i refresh the page they give me error in visual studio. well i not want to see anything like showing error in visual studio.
so how i can disable the showing error for javascript in visual studio even i need to work with javascript breakpoint and trackpoint.
Unless I missed something, there's only three things I can think of:
Fix the bug
Debug in IE with the javascript debugger, instead of Visual Studio
Fix the bug
I recommend 1 or 3 ;)

Resources