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

How to install and use it #7

Closed
ghost opened this issue Nov 4, 2017 · 2 comments
Closed

How to install and use it #7

ghost opened this issue Nov 4, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 4, 2017

I just upload the github CodeContracts.MSBuild, runs my fallcreatorupdate app with some code contract in it but the debugger just fails when reaching some false assert.
How did I don wrong. Is there some other stuff to install in VS 2017?
Thanks

@Igorbek
Copy link
Owner

Igorbek commented Nov 5, 2017

@YvesPflieger You need to add the nuget package to your project.

From package manager:

Install-Package CodeContracts.MSBuild

From .Net CLI:

dotnet add package CodeContracts.MSBuild

It needs to be done for all projects that use contracts. You should see that the package is referenced in your proj files (*.csproj or other).
This package only provides MSBuild bindings and no Visual Studio IDE support.

@Igorbek
Copy link
Owner

Igorbek commented Feb 6, 2018

The installation instructions are now in readme file.

@Igorbek Igorbek closed this as completed Feb 6, 2018
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

1 participant