Author Topic: RC3: VS 2013 Template to find C# compiler errors is broken  (Read 1592 times)

Marcel

  • Senior Community Member
  • Posts: 183
  • Hero Points: 18
RC3: VS 2013 Template to find C# compiler errors is broken
« on: November 05, 2014, 08:11:42 pm »
Finding compilation errors for C# doesn't seem to work  Here is an sample compiler error message:

Code: [Select]
1>C:\code\TestApplication\TestClass.Utility\Tool.cs(510,82,510,105): error CS0103: The name 'GetBatteryChargePercentage' does not exist in the current context

Ctrl-Shift-Down (find next error) doesn't do anything. Double-clicking on the error message line pops up a find-file dialog for

'Tool.cs(510'

Looks like the error template needs a tweak.


Clark

  • Moderator
  • Senior Community Member
  • *
  • Posts: 4558
  • Hero Points: 352
Re: RC3: VS 2013 Template to find C# compiler errors is broken
« Reply #1 on: November 05, 2014, 08:30:26 pm »
Interesting new error message.

Please post a small file/code sample that reproduces this odd error message.

Which version of Visual Studio are you using?

Marcel

  • Senior Community Member
  • Posts: 183
  • Hero Points: 18
Re: RC3: VS 2013 Template to find C# compiler errors is broken
« Reply #2 on: November 05, 2014, 08:45:26 pm »
As the title says: Visual Studio 2013.

Mutilated Hello World attached....

Clark

  • Moderator
  • Senior Community Member
  • *
  • Posts: 4558
  • Hero Points: 352
Re: RC3: VS 2013 Template to find C# compiler errors is broken
« Reply #3 on: November 05, 2014, 10:36:23 pm »
Hmm..I don't have Visual Studio 2013 working on my machine right now but Visual Studio 2012 outputs the same format error message and it works fine with the funky four number parenthesized error message output.

Please try a default config (vs c:\tempconfig). I wondering if we fixed this but users with existing configurations don't get it.

Marcel

  • Senior Community Member
  • Posts: 183
  • Hero Points: 18
Re: RC3: VS 2013 Template to find C# compiler errors is broken
« Reply #4 on: November 05, 2014, 10:44:48 pm »
You are correct, it works with a new config (-sc c:\tempconfig).

Marcel

  • Senior Community Member
  • Posts: 183
  • Hero Points: 18
Re: RC3: VS 2013 Template to find C# compiler errors is broken
« Reply #5 on: November 06, 2014, 02:58:15 pm »
I have manually copied ErrorRE.xml from a new config over the top of the file that was migrated SE 18.1 -> 19.0. A full settings export/import includes ErrorRE.xml, so starting with a clean install and importing the saved settings also clobbers the 19.0 installation file.  Kind of a pain to have to manually fix the outdated file. I hope you guys can somehow resolve this during migration.