From: SourceForge.net <no...@so...> - 2012-03-20 18:37:30
|
Bugs item #3509373, was opened at 2012-03-20 06:26 Message generated for change (Comment added) made by jimbojones2000 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=3509373&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: 0.9.10.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Bernhard Ege (galmok) Assigned to: Nobody/Anonymous (nobody) Summary: Converting to VS2010 errors Initial Comment: I was trying NPlot to see if we can use it, but upon loading it into VS2010 (after installing .NET 1.1 including SDK and MSBee), the build errors with these errors: Warning 3 Use command line option '/keyfile' or appropriate project settings instead of 'AssemblyKeyFile' C:\Users\xxx\Documents\Visual Studio 2010\Projects\nplot-0.9.10.0\src\AssemblyInfo.cs 46 12 NPlot Warning 1 The parent file, '..\src\Windows.PlotSurface2D.cs', for file 'resources\Windows.PlotSurface2D.resx' cannot be found in the project file. NPlot Error 2 Cryptographic failure while signing assembly 'C:\Users\xxx\Documents\Visual Studio 2010\Projects\nplot-0.9.10.0\obj\Debug\NPlot.dll' -- 'Error reading key file 'NPlot-key.snk' -- The system cannot find the file specified. ' NPlot Warning 4 'NPlot.Windows.PlotSurface2D.Padding' hides inherited member 'System.Windows.Forms.Control.Padding'. Use the new keyword if hiding was intended. C:\Users\xxx\Documents\Visual Studio 2010\Projects\nplot-0.9.10.0\src\Windows.PlotSurface2D.cs 447 14 NPlot I am not sure how to fix any of these errors. :-/ ---------------------------------------------------------------------- Comment By: Jim Graham (jimbojones2000) Date: 2012-03-20 11:37 Message: You can retarget NPlot to .NET 4 (this should have been an option when loading the solution file into VS2010). After that, do what anmar suggests to remove the .snk file from src/AssemblyInfo.cs IF you check out the source code from SVN, the other two errors don't arise. -Jim ---------------------------------------------------------------------- Comment By: Angel Marin (anmar) Date: 2012-03-20 11:27 Message: It's complaining about the sign key (not included in the source distribution). You can either generate one with sn.exe or just remove the line that references NPlot-key.snk on AssemblyInfo.cs. ---------------------------------------------------------------------- Comment By: Bernhard Ege (galmok) Date: 2012-03-20 11:21 Message: I am not really interested in making VS2010 compatible with .NET 1.1. I would however like to try out NPlot in VS2010. If NPlot _requires_ .NET 1.1, then I guess VS2010 is out of the question. If not, how do I make NPlot compatible with VS2010? ---------------------------------------------------------------------- Comment By: Dennis Hayes (sccatman) Date: 2012-03-20 10:11 Message: VS2010 does not support .net 1.1 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=3509373&group_id=161868 |