Question: I am using C# having come from a Java background - I have an exception but it does not tell me the line number - Just the method name.

Is that usual?? Is it down to Debug / Release builds??

Answer: 
This is down to debug symbols not being available - when you build your project make sure that you have "full" set in the debug settings (`Project properties` -> `Build` -> `Advanced` -> `Debug info`) and also make sure that the resulting pdb files are present alongside the assmebly in the same directory when you are running your app.
For .NET Core, .NET 5 and later, to have full exception line numbers in release builds, configure the project as follows:

```xml
<PropertyGroup>    
  <DebugSymbols>true</DebugSymbols>
  <DebugType>embedded</DebugType>

    <!-- Only enable the following if the line numbers mismatch -->
    <!--<Optimize>false</Optimize>-->

    <!--
      Additional properties which may impact how printed line numbers match the source code line numbers are listed here:
      https://learn.microsoft.com/en-us/dotnet/core/run-time-config/compilation
    -->
</PropertyGroup>

```

The above configuration will include debug symbols directly with the built files, which can be published as nugets.

An alternative to the above is to restore debug packages together with the main nuget packages, which is currently not yet supported: <https://github.com/NuGet/Home/issues/9667>