开发者

Howto design NuGet package for HTML Helper Extensions

I want to create a NuGet package to contain MVC3 Html helper extensions that I hav开发者_如何学编程e written. It would (or could) contain class, css, javascript and image files. What would be the best way to package this?

  • Can I make version that is a single compiled dll?
  • If I make a source code version available, what folder structure would be best?

Thanks, Steve


Check out the Nuget documentation for creating package via command line or GUI. It will generate the Nuspec file from your assembly.

As for folder structure, use the MVC structure already in place. ~/Content for images and css, ~/Scripts for javascript.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜