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

Prepare solution for publication on NuGet #5

Merged
merged 5 commits into from
May 7, 2017
Merged

Prepare solution for publication on NuGet #5

merged 5 commits into from
May 7, 2017

Conversation

stakx
Copy link
Owner

@stakx stakx commented May 7, 2017

This encompasses the following steps:

  • Update project files to new VS2017 format.
  • Merge project stakx.WIC.Interop into stakx.WIC.
  • Get rid of project stakx.WIC.Interop.Tests.
  • Enable packing of output into a NuGet package.

stakx added 5 commits May 7, 2017 13:38
The new MSBuild-based project file format will allow us to easily
build a NuGet package without having to maintain a separate `.nuspec`
so let's upgrade.
Up until now, the rationale for having two separate projects was that
`stakx.WIC.Interop` contained only COM interop type declarations which
could be fully embedded into consumer assemblies using "Embed Interop
Types". Now that we're going to distribute this library as a NuGet
package, embedding interop types is probably no longer an essential
feature. Keeping this feature intact would require an `install.ps1`
script that adjusts the "Embed Interop Types" flag in the consumer
project, which is not very nice.

In conclusion, while combining the projects isn't nice from a techni-
cal point of view, it is probably more convenient, all things con-
sidered.
It turned out that unit testing COM interop type definitions is rather
difficult (or even pointless): there isn't much program logic worth
testing in `stakx.WIC` itself, so let's remove the unit test project.

It might be added back later on when we have some actual logic (i.e.
that dealing with processing image metadata).
@stakx stakx merged commit aa71ae9 into develop May 7, 2017
@stakx stakx deleted the issue-4 branch May 7, 2017 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant