Visual Studio - SharePoint 2010 - Include Assembly > Quick Question

前端 未结 2 1111
名媛妹妹
名媛妹妹 2021-01-20 08:16

I have a quick question....building a VS 2010 SharePoint project and I am referencing a custom assembly. I can reference this assembly in my code and it works fine to write

2条回答
  •  旧时难觅i
    2021-01-20 08:58

    Not sure if this is what you're looking for, but you can use ilmerge.exe to bundle satellite managed assemblies into your executable, making it portable and more easily deployed. I use it all the time, it works great.

    You can set up a build event in VS2010 to do this automatically whenever you build, too, though it can be a bit slow (I have it set as a Release-only build event for this reason).

提交回复
热议问题