Skip to content

Alexandr63/ContentFilesInNuget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ContentFilesInNuget

Test of unpack content files from nuget package.
Fonts containts in 'LibA'. For building 'LibA' used '.nuspec' and '.props' files. 'LibB' use 'LibA' as nuget package. For building 'LibB' not used '.nuspec' and '.props' files. 'LibC' use 'LibA' as nuget package. For building 'LibC' not used '.nuspec' and '.props' files. Project 'Consumer' use 'LibCA' as nuget package and check fonts files in out directory.

Steps

Create folder '\buildTransitive' in target project.
Add fonts in folder '\buildTransitive\fonts', set 'Build Action' = 'None', 'Copy to Output Directory' = 'Do not copy'.
Create files:
    \buildTransitive<project name>.nuspec
    \buildTransitive<project name>.props
Change project file:

  • Add references on '.props' and '.nuspec' files.
  • Add NuspecProperties with variables for nuspec file.

Note: use '\' instead of '/' in path microsoft/dotnet#1208.

About

Test of unpack content files fron nuget package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published