Skip to content

Invalid NuGet Version String: NETSDK1018 #17

@simplexidev

Description

@simplexidev

When CI builds are ran, they fail because apparently 1.0.0-20190603.01 is not a valid version string.

I don't know why this isn't valid. If anyone has any ideas, please let me know, because I'm really stumped with this one.

Note: This applies to the code-rewrite branch.

Command Ran:

dotnet build D:\a\1\s\sources\TCDFx.Core\TCDFx.Core.csproj -c Debug --force --no-dependencies --nologo --no-restore --version-suffix 20190603.01 

Output:

D:\a\_tool\dotnet\sdk\3.0.100-preview5-011568\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(157,5): message NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview [D:\a\1\s\sources\TCDFx.Core\TCDFx.Core.csproj] D:\a\_tool\dotnet\sdk\3.0.100-preview5-011568\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.GenerateAssemblyInfo.targets(160,5): error NETSDK1018: Invalid NuGet version string: '1.0.0-20190603.01'. [D:\a\1\s\sources\TCDFx.Core\TCDFx.Core.csproj] Build FAILED. D:\a\_tool\dotnet\sdk\3.0.100-preview5-011568\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.GenerateAssemblyInfo.targets(160,5): error NETSDK1018: Invalid NuGet version string: '1.0.0-20190603.01'. [D:\a\1\s\sources\TCDFx.Core\TCDFx.Core.csproj] 0 Warning(s) 1 Error(s) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions