For a C#.net 2008 desktop application that I was just assigned to work on a new workstation, i am getting only the following compile messages:
Warning 1 Use command line option '/keyfile' or appropriate project settings instead of 'AssemblyKeyFile'
Error 20 The command "C:\trac\Enroll.app1\bin\Debug\\Enroll.app1.exe Debug" exited with code 1. Enroll.ALtot.
I know the two lines are related since I have not signed the total application. The file in the 'AssemblyKeyFile' is no longer needed for this application since it is not used. Thus, can you tell me what I can do so the assembly key file is not used? If best, what can I do to get this application tio compile with no errors?
Mamta MPosted Jul 12, 2011, 1:08 AM
What you need is this: http://msdn.microsoft.com/en-us/library/xh3fc3x0%28v=vs.80%29.aspx.
Hope that helps.
Amit ChoudharyPosted Jul 12, 2011, 1:21 PM
dcPosted Jul 12, 2011, 8:12 AM
I tried uncheck the signing option and it not work. Do you have any other suggestions?
Note: The line that has the problem is contol in the postbuild part of the .net solutuion where there is a dos prompt replacement. Do you know if there are any restrictions on a file directory path name replacements? There there certain characters not allowed in the name and/or are there length restictions like how long the entire directory path can be?
Amit ChoudharyPosted Jul 12, 2011, 1:14 AM
Thanks.