void BuildDllVersion()

in csharp/build.cake [158:175]


void BuildDllVersion(string version)
{
    var versionDashed = version.Replace('.', '-');
    SetDllVersion(versionDashed);

    var buildSettings = new DotNetCoreBuildSettings {
        Configuration = configuration,
        NoRestore = true,
		MSBuildSettings = new DotNetCoreMSBuildSettings()
            .WithProperty("Version", version)
            .WithProperty("VersionDashed", versionDashed)
    };

    if (!IsRunningOnWindows())
        buildSettings.Framework = "netstandard2.0";

    DotNetCoreBuild(prjPath(mainLibProjectName), buildSettings);
}