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

Version without Code Contracts #1

Open
NickStrupat opened this issue Jan 25, 2017 · 4 comments
Open

Version without Code Contracts #1

NickStrupat opened this issue Jan 25, 2017 · 4 comments

Comments

@NickStrupat
Copy link

Hi!

Myself and many others have trouble installing Code Contracts, especially with VS2015 and likely the upcoming VS2017.

Would you be interested in releasing another version of your extensions without the dependency on Code Contracts?

@xperiandri
Copy link
Owner

I can make a release NuGet for you.
I already have a pre-release package on NuGet. Have you found it?

@NickStrupat
Copy link
Author

Yes, I've tried the NuGet package. Thanks, it is fine as far as I can tell. It's just the Code Contracts tools that I can't get to work on my machine.

I'll see if I can make the changes right now over my lunch break. I'll fork and do a pull-request :)

@NickStrupat
Copy link
Author

I was able to refactor out the Contract.Requires called into checks, and some of the Contract.Ensures (most of them remain in my current fork). I put up a package called NickStrupat.StringBuilderExtensions.NoCodeContracts. I'll use that for now since I'm in a bit of a rush, but I'd be happy to figure out what you'd like to do and defer to that since you started the project 🥇

@xperiandri
Copy link
Owner

@NickStrupat, I've found a package CodeContracts.MSBuild and now it builds well

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

No branches or pull requests

2 participants