copy-local

Is “Copy Local” transitive for project references?

纵饮孤独 提交于 2019-11-27 18:46:08
Wrt. the proposed dupe: Since this here queston suggests the opposite of the linked question , I'd rather like to think it is not a dupe. First , I did read What is the best practice for “Copy Local” and with project references? (also this ) and I'll have to try this out anyway, but getting general feedback on this seems necessary as the docs on this stuff are horrible and I'm only on VS2010 and maybe they changed something in newer versions that'll be nice to know. Second , I'm only interested in project references for this question as I've read that assemblies from the GAC are handled

Is “Copy Local” transitive for project references?

橙三吉。 提交于 2019-11-27 04:20:10
问题 Wrt. the proposed dupe: Since this here queston suggests the opposite of the linked question, I'd rather like to think it is not a dupe. First , I did read What is the best practice for “Copy Local” and with project references? (also this) and I'll have to try this out anyway, but getting general feedback on this seems necessary as the docs on this stuff are horrible and I'm only on VS2010 and maybe they changed something in newer versions that'll be nice to know. Second , I'm only interested

Set “Copy Local” to False by default?

六月ゝ 毕业季﹏ 提交于 2019-11-26 19:42:33
问题 Can I set the default-option of "Copy Local" in Visual Studio to False? In most times, when I add a dll as dependency of a project, I want the Copy Local property set to False. Per default, it is True. Is there a way to change the default behaviour of Visual Studio? (2008) 回答1: No - Visual Studio uses an internal set of rules to determine what to set Copy Local to. From MSDN: If the reference is another project, called a project-to-project reference, then the value is true . If the assembly

Set content files to “copy local : always” in a nuget package

家住魔仙堡 提交于 2019-11-26 10:23:41
I generate a nuget package from a project with this command in the post-build event. the variable %conf% is set to the right configuration (debug or release) and %1 is the project name (e.g. "MyCompany.MyProject"). nuget pack -Prop Configuration=%conf% "%1.csproj" -exclude *.sql -IncludeReferencedProjects This package is for our own usage only, it will never be published on nuget. It ends in our private repository. In the project, there is a file that is set to generate action : content and copy local : always . (My visual studio is in french, so I'm not 100% sure of the traduction). Let's

Set content files to “copy local : always” in a nuget package

懵懂的女人 提交于 2019-11-26 02:08:18
问题 I generate a nuget package from a project with this command in the post-build event. the variable %conf% is set to the right configuration (debug or release) and %1 is the project name (e.g. \"MyCompany.MyProject\"). nuget pack -Prop Configuration=%conf% \"%1.csproj\" -exclude *.sql -IncludeReferencedProjects This package is for our own usage only, it will never be published on nuget. It ends in our private repository. In the project, there is a file that is set to generate action : content