# DefinitionsPath

Property in [Project](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.project)

{% hint style="warning" %}
This property is obsolete and may be removed from a future version of Yarn Spinner: Use DefinitionsFilesPattern.
{% endhint %}

## Summary

Gets the path to the Definitions file, relative to this project's location.

```csharp
public string? DefinitionsPath { get; }
```

## See Also

* [Project.DefinitionsFiles](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.project/yarn.compiler.project.definitionsfiles): Gets the absolute paths to the project's Definitions files.
