Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Make Main package independent from Redist #115

Open
mytnyk opened this issue Oct 6, 2015 · 4 comments
Open

Make Main package independent from Redist #115

mytnyk opened this issue Oct 6, 2015 · 4 comments

Comments

@mytnyk
Copy link

mytnyk commented Oct 6, 2015

By default CoApp creates three packages: Main, Redist and Symbols. Main depends on Redist.
Is it possible to specify whether to create dependency on Redist package or not? Because it is not always necessary to have dll files. It can be enough just to have possibility to build the project. As far as I see all Redist does is copying binaries to target directory. Actually if you have many projects (1 exe and many dlls) that depends on the same nuget package in your solution then you need to execute copying only once for exe file. This could have perfect sense in case if your dlls have target directory different than main exe file. Currently I got nuget binaries copied to every directory with my dll.

Setup is as follows:

N - some nuget package (distrib package contains n.dll)
In solution, say, I have:
Exe project uses N and outputs to C:\Exe
Dll project uses N and outputs to C:\Exe\PlugIn\

After build I got n.dll copied to both directories: C:\Exe\ and C:\Exe\PlugIn\

@23W
Copy link

23W commented Oct 12, 2015

Last technical build does not use redist and symbols packages. It uses overlay mechanism. Any platform and build specific files are placed in separate hidden packages that will be installed in project at build step.
You can update CoApp to last version by PS command:

Update-CoAppTools -development -killpowershells

Please read #116

@9426224
Copy link

9426224 commented Dec 18, 2020

I download the latest version of CoApp,but it still can't generate one single package.

@cherullo
Copy link

cherullo commented Dec 18, 2020 via email

@9426224
Copy link

9426224 commented Dec 18, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants