PRB: Conditional compiles
r
shows an error if two functions defined in same class with same body. but even if i enclose one of the functions in a conditional compile, it continues to give same error.
vs2k3 does not. here comes the example
#if (DEBUG)
void MyDebugFunction()
{
Debug.WriteLine( "Some test" );
}
#else
void MyDebugFunction()
{
// in release version, debug is disabled
}
#endif
thanks
Please sign in to leave a comment.
Hello edo,
what ReSharper's version you're using? This is a known problem in 1.x that
has
been partially resolved in 2.0 (currently available as EAP).
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Dear Mr Dmitry,
i am using trial of 1.5. before posting i searched the forum using keyword "conditional", search yielded no result. i am sorry to repost a known situation.
how can i access the "early access program" version?
sincerely
edo kan
You may download it at
http://www.jetbrains.net/confluence/display/ReSharper/Download
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"