Compilation on Args.cs

15 views
Skip to first unread message

Andrew Ducker

unread,
Apr 26, 2013, 5:56:52 AM4/26/13
to rhino...@googlegroups.com
Looking at the code for Args.cs it's got a conditional compile, depending on the .Net version - and it looks like it's using the "old" version, from my usage of the code.

This is making my testing code (slightly) more complex - is there any reason why it is doing this?

Checking the repo - the debug compile has this:
    <DefineConstants>TRACE;DEBUG;DOTNET35</DefineConstants>
and the release compile has this:
    <DefineConstants>TRACE;dotNet2 DOTNET35</DefineConstants>

That missing semicolon is going to have...interesting side-effects.

Andy

haifisch

unread,
Apr 29, 2013, 10:53:01 AM4/29/13
to rhino...@googlegroups.com
Hi Andrew,

for that reason I removed all conditionals from "my" codebase long time ago.
https://github.com/alaendle/rhino-mocks/commit/e40092beebd3c6d08f9e9c4ab36a456cc8e930ef

It's only a offer, but maybe this codebase gives you a better start.

Br,

Andreas
Reply all
Reply to author
Forward
0 new messages