jennings / OATH.Net

A small library that implements the HOTP and TOTP algorithms for two-factor authentication. Compatible with the Google Authenticator app for iPhone and Android.
https://www.nuget.org/packages/OATH.Net/
28 stars 14 forks source link

Can't build with VS2013 #8

Open hkelley opened 9 years ago

hkelley commented 9 years ago

Whether I build from the v0.2.0 tag or from the trunk, I always get this build error (but the project file is there).

1>------ Rebuild All started: Project: OATH.Net, Configuration: Debug Any CPU ------ 1>C:_SDKs\OATH\OATH.Net\trunk\OATH.Net\OATH.Net.csproj(61,5): error : The system cannot find the file specified ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

hkelley commented 9 years ago

I don't know if it's related to VS2013 or not, but I can't add the package to another solution either.

PM> install-package OATH.Net Installing 'OATH.Net 0.2'. Successfully installed 'OATH.Net 0.2'. Adding 'OATH.Net 0.2' to OATHgen. Install failed. Rolling back... install-package : Input string was not in a correct format. At line:1 char:1

jennings commented 9 years ago

Sorry for the lack of reponse :sheep:

The first error is probably because I'm using my other project, SemVerHarvester, to get the Git commit number into the assembly. OATH.Net.csproj looks for git.exe directly in C:\Program Files (x86)\Git\bin, and if it's not there, it pukes.

Installing the version of Git from http://git-scm.com would probably resolve it.