Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect ReferenceOutputAssembly when packing a CSPROJ #68

Merged
merged 2 commits into from Oct 23, 2015

Conversation

deepakaravindr
Copy link
Contributor

[from @chandramouleswaran. PR and the text below. I have fixed the tests to use XElement and existing Util helper methods]

This PR addresses - NuGet/Home#1540

Basically, we do not want to include assemblies of project references which are only used to help resolving build dependencies.

For example: I might have a .proj file which does say VHD creation but I do not want its output to be a part of the package.

This can be done using ReferenceOutputAssembly being false which is a standard now. I have also added tests for the same.

@yishaigalatzer @emgarten @zhili1208

@deepakaravindr
Copy link
Contributor Author

I have manually tested the scenario. Plus, ran all the tests

@emgarten
Copy link
Member

:shipit:

1 similar comment
@zhili1208
Copy link
Contributor

:shipit:

chandramouleswaran and others added 2 commits October 23, 2015 15:14
construct the test msbuild project files.

1. Tested that the added tests passed
2. Tested manually that if a project reference has the element
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>, it is ignored
during 'nuget.exe pack -IncludeReferencedProjects'
@deepakaravindr deepakaravindr merged commit c3cee71 into dev Oct 23, 2015
@deepakaravindr deepakaravindr deleted the chandramouleswaran-dev branch January 7, 2016 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants