nuspec contentFiles not added to a project

后端 未结 2 549
长发绾君心
长发绾君心 2021-01-25 04:41

I have a web project (mvc5) with a project.json inside.

Also, I have a nuget package. Inside this package (besides the dll reference) I have some Conten

2条回答
  •  情话喂你
    2021-01-25 05:40

    you could add a msbuild target to your package. in this target you can execute the nuget restore command...

    example:

    
    
        
        
        
        
          
          
        
    
    

    see: https://docs.microsoft.com/en-us/nuget/create-packages/creating-a-package#including-msbuild-props-and-targets-in-a-package

提交回复
热议问题