Skip to content

Failing on AppVeyor  #1078

Closed
Closed
@richardschneider

Description

@richardschneider

When building the documentation on AppVeyor, I get a warning. On my machine, there is no warning.

docfx metadata doc\docfx.json -f
Warning: Invalid cref value "!:System.String" found in triple-slash-comments for Decode defined in ../src/Base32.cs Line 66, ignored

The docfx.json has "xref": [ "msdn.4.5.2.zip" ]. And the zip file is in the repo.

Activity

vwxyzh

vwxyzh commented on Dec 29, 2016

@vwxyzh
Contributor

!:System.String that means Roslyn cannot find the string type, please make sure your environment can build code correctly.

richardschneider

richardschneider commented on Dec 29, 2016

@richardschneider
ContributorAuthor
vwxyzh

vwxyzh commented on Dec 30, 2016

@vwxyzh
Contributor

@qinezh any idea?
project is here

qinezh

qinezh commented on Dec 30, 2016

@qinezh
Contributor

From the description, it seems that there's something wrong within AppVeyor environment. Maybe you could try to modify some configuration in appveyor.yml, such as disable package cache, etc...

richardschneider

richardschneider commented on Dec 30, 2016

@richardschneider
ContributorAuthor

@qinezh I've just enabled package caching, after reporting the issue. All NuGet and choco packages and up to date. I also changed appyeyor.yml to use VS 2015. I'm using dotfx v2.9.3 from choco.

What config changes do you want me to make? I'm happy to try anything!

richardschneider

richardschneider commented on Dec 30, 2016

@richardschneider
ContributorAuthor

What are the requirements for docfx? Do I need a specific .Net framework? ...?

qinezh

qinezh commented on Dec 30, 2016

@qinezh
Contributor

.NET 452 is enough...

richardschneider

richardschneider commented on Dec 30, 2016

@richardschneider
ContributorAuthor

I changed the target framework version from 4.5 to 4.5.2 and still no love!

cameronelliott

cameronelliott commented on Jan 3, 2017

@cameronelliott

Richard, how did you resolve this?

richardschneider

richardschneider commented on Jan 3, 2017

@richardschneider
ContributorAuthor

No I haven't, I'm still getting invalid cref. I've tried numerous hacks with no luck so far.

I will take a look at what you did with LimeVideoSdk, tomorrow (I'm .UTC+1300) and see if it helps.

Your comment on #1097 is greatly appreciated.

6 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @richardschneider@vicancy@cameronelliott@vwxyzh@qinezh

        Issue actions

          Failing on AppVeyor · Issue #1078 · dotnet/docfx