Meddington / OutlookPrivacyPlugin

A PGP encryption plugin for Outlook 2010, 2013 and 2016.
BSD 3-Clause "New" or "Revised" License
272 stars 59 forks source link

How to build with VS 2015 questions #135

Open dendisuhubdy opened 8 years ago

dendisuhubdy commented 8 years ago

Please advise on issue

Meddington commented 8 years ago

I use VS 2013 and have no problems. Please provide more information.

dendisuhubdy commented 8 years ago

Project Path Errors Warnings Messages Installer Installer\Installer.isproj 1 0 0

Installer Message Installer\Installer.isproj: The application which this project type is based on was not found. Please try this link for further information: http://go.microsoft.com/fwlink/?LinkID=299083&projecttype=6141683F-8A12-4E36-9623-2EB02B2C2303

dendisuhubdy commented 8 years ago

Restoring NuGet packages... To prevent NuGet from restoring packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages during build.' 1>------ Build started: Project: Org.BouncyCastle, Configuration: Debug Any CPU ------ 2>------ Build started: Project: MimeKitLite.Net40, Configuration: Debug Any CPU ------ 3>------ Build started: Project: Newtonsoft.Json.Net40, Configuration: Debug Any CPU ------ 4>------ Build started: Project: OutlookPrivacyPlugin.Security, Configuration: Debug Any CPU ------ 4> OutlookPrivacyPlugin.Security -> C:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\OutlookPrivacyPlugin.Security\bin\Debug\SetSecurity.dll 2> MimeKitLite.Net40 -> C:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\MimeKit\bin\Debug\lib\net40\MimeKitLite.dll 3>CSC : error CS1548: Cryptographic failure while signing assembly 'c:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\3rdParty\Newtonsoft.Json-7.0.1\Src\Newtonsoft.Json\obj\Debug\Net40\Newtonsoft.Json.dll' -- 'Error reading key file 'c:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\3rdParty\Newtonsoft.Json-7.0.1\Src\Newtonsoft.Json\oop.snk' -- The system cannot find the file specified. ' 1>CSC : error CS1548: Cryptographic failure while signing assembly 'c:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\3rdParty\bccrypto-net-05282015\crypto\obj\Debug\crypto.dll' -- 'Error reading key file 'c:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\3rdParty\bccrypto-net-05282015\crypto\oop.snk' -- The system cannot find the file specified. ' 1>C:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\3rdParty\bccrypto-net-05282015\crypto\src\asn1\cms\EnvelopedData.cs(97,20,97,68): warning CS0618: 'Org.BouncyCastle.Asn1.Cms.EnvelopedData.EnvelopedData(Org.BouncyCastle.Asn1.Asn1Sequence)' is obsolete: 'Use 'GetInstance' instead' 1>C:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\3rdParty\bccrypto-net-05282015\crypto\src\asn1\cms\IssuerAndSerialNumber.cs(22,20,22,76): warning CS0618: 'Org.BouncyCastle.Asn1.Cms.IssuerAndSerialNumber.IssuerAndSerialNumber(Org.BouncyCastle.Asn1.Asn1Sequence)' is obsolete: 'Use GetInstance() instead' 1>C:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\3rdParty\bccrypto-net-05282015\crypto\src\asn1\cms\OtherRecipientInfo.cs(57,20,57,73): warning CS0618: 'Org.BouncyCastle.Asn1.Cms.OtherRecipientInfo.OtherRecipientInfo(Org.BouncyCastle.Asn1.Asn1Sequence)' is obsolete: 'Use GetInstance() instead' 1>C:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\3rdParty\bccrypto-net-05282015\crypto\src\asn1\cms\SignerInfo.cs(27,24,27,58): warning CS0618: 'Org.BouncyCastle.Asn1.Cms.SignerInfo.SignerInfo(Org.BouncyCastle.Asn1.Asn1Sequence)' is obsolete: 'Use 'GetInstance' instead' 1>C:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\3rdParty\bccrypto-net-05282015\crypto\src\asn1\pkcs\PBES2Parameters.cs(18,20,18,70): warning CS0618: 'Org.BouncyCastle.Asn1.Pkcs.PbeS2Parameters.PbeS2Parameters(Org.BouncyCastle.Asn1.Asn1Sequence)' is obsolete: 'Use GetInstance() instead' 1>C:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\3rdParty\bccrypto-net-05282015\crypto\src\asn1\pkcs\RSAPrivateKeyStructure.cs(32,20,32,77): warning CS0618: 'Org.BouncyCastle.Asn1.Pkcs.RsaPrivateKeyStructure.RsaPrivateKeyStructure(Org.BouncyCastle.Asn1.Asn1Sequence)' is obsolete: 'Use 'GetInstance' method(s) instead' 1>C:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\3rdParty\bccrypto-net-05282015\crypto\src\asn1\x9\X9FieldElement.cs(25,20,25,75): warning CS0618: 'Org.BouncyCastle.Math.EC.FpFieldElement.FpFieldElement(Org.BouncyCastle.Math.BigInteger, Org.BouncyCastle.Math.BigInteger)' is obsolete: 'Use ECCurve.FromBigInteger to construct field elements' 1>C:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\3rdParty\bccrypto-net-05282015\crypto\src\math\ec\ECCurve.cs(128,20,128,44): warning CS0618: 'Org.BouncyCastle.Math.EC.ECCurve.CreatePoint(Org.BouncyCastle.Math.BigInteger, Org.BouncyCastle.Math.BigInteger, bool)' is obsolete: 'Per-point compression property will be removed' 1>C:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\3rdParty\bccrypto-net-05282015\crypto\src\math\ec\ECCurve.cs(209,20,209,99): warning CS0618: 'Org.BouncyCastle.Math.EC.ECCurve.ValidatePoint(Org.BouncyCastle.Math.BigInteger, Org.BouncyCastle.Math.BigInteger, bool)' is obsolete: 'Per-point compression property will be removed' 5>------ Build started: Project: Deja.Crypto, Configuration: Debug Any CPU ------ 5>CSC : error CS0006: Metadata file 'C:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\3rdParty\bccrypto-net-05282015\crypto\bin\Debug\crypto.dll' could not be found 6>------ Build started: Project: OutlookPrivacyPlugin, Configuration: Debug Any CPU ------ 7>------ Build started: Project: TestApp, Configuration: Debug Any CPU ------ 8>------ Build started: Project: Deja.Crypto.Test, Configuration: Debug Any CPU ------ 7>CSC : error CS0006: Metadata file 'C:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\3rdParty\bccrypto-net-05282015\crypto\bin\Debug\crypto.dll' could not be found 7>CSC : error CS0006: Metadata file 'C:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\Deja.Crypto\bin\Debug\Deja.Crypto.dll' could not be found 8>CSC : error CS0006: Metadata file 'C:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\3rdParty\bccrypto-net-05282015\crypto\bin\Debug\crypto.dll' could not be found 8>CSC : error CS0006: Metadata file 'C:\Users\dendisuhubdy\Documents\GitHub\outlookprivacyplugin\Deja.Crypto\bin\Debug\Deja.Crypto.dll' could not be found 6>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(2718,5): warning MSB3327: Unable to find code signing certificate in the current user’s Windows certificate store. To correct this, either disable signing of the ClickOnce manifest or install the certificate into the certificate store. 6>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(2718,5): error MSB3323: Unable to find manifest signing certificate in the certificate store. ========== Build: 2 succeeded, 6 failed, 0 up-to-date, 0 skipped ==========

Meddington commented 8 years ago

The project requires the free version of install shield you get with visual studio. No idea if it will work with the 2015 version. Not needed to build/run the project.

You also need to create the .NET signing keys as the error your seeing denotes. The keys are not checked in for hopefully obvious security reasons.