copy-local Questions

3

Solved

is there a quick way to mark all the solution projects references as Copy local false? is there some tool that does that? it's pretty messy to mark about 200 projects manually
Brocket asked 1/12, 2014 at 19:48

6

Solved

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 T...
Herbartian asked 23/6, 2010 at 11:13

7

I am wondering if there are any heuristics for when to set copy-local=true for references? If referenced types are only used internally can I set copy-local to true but if referenced types are exp...
Motch asked 2/3, 2009 at 15:32

5

Solved

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. "...

1

Solved

I've raised a connect issue for that behavior. VS 2015 copies to output GAC references of a project reference regardless of copy local setting. VS 2010 doesn't do that with the same solution &...
Theolatheologian asked 18/9, 2015 at 8:48

1

Solved

TL;DR Is there any official documentation that describes in detail how the <private> / "Copy Local" option works with MSBuild? And what values are supposed to go into it? When you add a pr...

2

Solved

In WPF project, references only used in xaml is not copied to bin folder even with CopyLocal set to true, as complained in this post. With MVVM pattern, it is common that 3rd party controls are use...
Termination asked 29/4, 2012 at 23:53

2

Solved

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...
Camarena asked 2/10, 2014 at 14:43

2

Solved

As the screenshot shows, ClassLibrary1 relies on ClassLibrary2 and ClassLibrary2 relies on ClassLibrary3. And "Copy Local" is set to be "True". But when I compile ClassLibrary1, ClassLibrary3 won...

4

I have a Visual Studio project that relies on several DLL references. Here is a sample of those references in my csproj: <ItemGroup> <Reference Include="Class1.Project1"> <Specifi...
Mate asked 13/5, 2009 at 19:51

3

Solved

Visual studio by default copies all dlls' to each project's bin folder. This also includes system dlls' (with the exception of mscorlib.dll and System.dll), such as System.Xml.Linq, System.Componen...
Hatshepsut asked 6/7, 2010 at 10:22
1

© 2022 - 2024 — McMap. All rights reserved.