Skip to content

Auto generated AssemblyFile location causes issues with symbols #146

@wasabii

Description

@wasabii

This is kind of a weird indirect issue, that takes some explanation.

When using GitFlowVersionTask in a project that gets packaged using NuGet into a symbols.nupkg file, and uploaded or pushed to a symbol server (such as SymbolSource.org), the GitFlowVersionTask causes an issue.

I get an error message like this:

Pushing NXKit 0.3.8 to the symbol server (http://nuget.gw.symbolsource.org/Public/NuGet)...
Failed to process request. 'Package submission failed: Source file c:\Users\jhaltom\AppData\Local\Temp\GitVersionTask\As
semblyInfo_NXKit_0as2qyub.0by.g.cs not found in package. Source file is declared in NXKit.pdb. . See http://www.symbolso
urce.org/Public/Home/Help for possible reasons. Fiddler may help diagnosing this error if your client discards attached
detailed information.'.

I suspect the issue is that the temporary file is generated in AppData\Local, instead of in obj/Release. I'm imagining the are parts of the MSBuild process which generate the .pdb file, but somehow excludes things.

Or something. I don't know. Either way, GitFlowVersionTask is the only thing causing this issue. If I remove it, everything else is fine, even the other autogenerated files in obj.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions