nikhilk/scriptsharp — Issue #150: Custom attributes
Author: Ventajou
Created: 2012-02-24 05:02:13+00:00
State: open

Hi,

I'm trying to create some custom attributes to use on some classes. I figured out that they have to be declared in a plain c# class library (not a Script# one) and the project builds well. But when I try to reference it in a Script# project, the ScriptCompiler task throws the following error:

Unable to resolve referenced type 'System.Attribute'. Make sure all needed assemblies have been explicitly referenced.

Is there anything I can do? Or anything you could fix?
Thanks!