Skip to content

obj\[Configuration]\NuGet\[Guid] folder included in output #55

@svenkle

Description

@svenkle

Posting this for review/discussion or to help others.

There is a little/strange issue when GlassMapper and Helix Publish Profile are used in conjunction. Each project that references GlassMapper has a obj folder with the .cs and .config files from GlassMapper in a format similar to obj\[Configuration]\Nuget\[Guid]. Unfortunately this folder is copied to the publish target by HPP and it really shouldn't be there. To work around this I've updated my NuGet references as shown below:

<PackageReference Update="Glass.Mapper.Sc.100" Version="5.8.173">
    <IncludeAssets>compile</IncludeAssets>
</PackageReference>

Reference for NuGet: https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions