# Editor.ProjectPublisher.CanPublishFile

```csharp
static bool CanPublishFile(Asset a)
```

Return true if we're not opposed to publishing this asset

### Parameters

- `a` (`Asset`)

### Returns

`bool`

Declared in [Editor.ProjectPublisher](/api/Editor.ProjectPublisher).
Assembly: `Sandbox.Tools`.
