wataradio
wataradio

Reputation: 85

I can't build C# class library by MonoDevelop on Mac OS X

When building following simple C# class library,

using System;

namespace MyProject
{
    public class MyClass
    {
        public MyClass ()
        {
        }
    }
}

I encountered following error message:

/Library/Frameworks/Mono.framework/Versions/2.6.4/lib/mono/2.0/Microsoft.Common.targets:
Error: You must specify DestinationFolder or DestinationFiles attribute.
at Microsoft.Build.Tasks.Copy.Execute () [0x00000] in <filename unknown>:0

Anyone having the same problem?

Somethig I tried:

My Environments:

Upvotes: 0

Views: 1256

Answers (1)

wataradio
wataradio

Reputation: 85

Turn off following option:

Preferences > Build > Compile projects using MSBuild / XBuild (this is an experimental feature and may not work for some projects)

I just remembered I turned on that option before by myself :) Thank you.

Upvotes: 1

Related Questions