Bugs item #1893938, was opened at 2008-02-14 12:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1893938&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Framework support
Group: 0.86
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Duane (dnewman31)
Assigned to: Nobody/Anonymous (nobody)
Summary: Automatic properties not working with solution builds

Initial Comment:
I've ran into an issue compiling our projects.

automatic properties (ie: public string test { get; set; }) work when compiled 
through the csc task but not when part of a project and built with the solution 
task.

I've attached a sample build and project that creates a test.dll assembly.

this works:

<csc target="library" output="test.dll" debug="true">
    <sources>
        <include name="test.cs"/>
    </sources>
</csc>


this does not:

<solution configuration="debug">
        <projects>
                <include name="test.csproj" />
        </projects>
</solution>

I just get:
Error CS0501: 'test.test.TestProp.get' must declare a body because it is not 
marked abstract or extern

almost like it is using the wrong compiler. ??

this is a VS 2008 .net 3.5 project.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1893938&group_id=31650

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to