M
Mythran
I keep having this BC2017 Compiler Error and have been able to duplicate it
on several machines...can someone help with a solution to this? I do know
of several ways to get this compiler error to go away until next compile,
and have a macro which will semi-fix this...but I need a permanent solution
(which may not exist)...
Steps to reproduce error:
1.) Create a VB.Net Web Application. (I created a virtual directory and then
created the .Net project under the path where the virtual directory points
to)
2.) Create a VB.Net Class Library in the same solution.
3.) Create a strong-name key file. (To create...VS.Net Command-Line:
sn.exe -k MyFile.snk)
4.) In AssemblyInfo.vb under the Class Library, add the attribute
AssemblyKeyFile...Ex: <Assembly: AssemblyKeyFile("X:\MyPath\MyFile.snk")>
5.) Add the project reference to the Class Library in the Web project.
6.) Compile and then test the web project (navigate to
http://localhost/projectnamehere).
7.) If #6 worked, go back into the web project or class library and add a
space, or make some other type of change inside one of the code files, then
recompile and repeat step #6...this is where I get the exception above.
Please let me know if you get the same error...and if you know a permanent
solution, let me know
To Temporarily Fix:
1.) Add a file to the web projects bin directory (File Monitoring going on
and it fixes it).
OR
2.) Change the mode of the Solution from Debug to Release then back to
Debug...don't have to compile again, just test.
OR
3.) Delete the Temporary ASP.Net Files contents....(once again, File
Monitoring)..
All three of the above force a recompile of the misl code.
Thanks in advance!
Mythran
on several machines...can someone help with a solution to this? I do know
of several ways to get this compiler error to go away until next compile,
and have a macro which will semi-fix this...but I need a permanent solution
(which may not exist)...
Steps to reproduce error:
1.) Create a VB.Net Web Application. (I created a virtual directory and then
created the .Net project under the path where the virtual directory points
to)
2.) Create a VB.Net Class Library in the same solution.
3.) Create a strong-name key file. (To create...VS.Net Command-Line:
sn.exe -k MyFile.snk)
4.) In AssemblyInfo.vb under the Class Library, add the attribute
AssemblyKeyFile...Ex: <Assembly: AssemblyKeyFile("X:\MyPath\MyFile.snk")>
5.) Add the project reference to the Class Library in the Web project.
6.) Compile and then test the web project (navigate to
http://localhost/projectnamehere).
7.) If #6 worked, go back into the web project or class library and add a
space, or make some other type of change inside one of the code files, then
recompile and repeat step #6...this is where I get the exception above.
Please let me know if you get the same error...and if you know a permanent
solution, let me know
To Temporarily Fix:
1.) Add a file to the web projects bin directory (File Monitoring going on
and it fixes it).
OR
2.) Change the mode of the Solution from Debug to Release then back to
Debug...don't have to compile again, just test.
OR
3.) Delete the Temporary ASP.Net Files contents....(once again, File
Monitoring)..
All three of the above force a recompile of the misl code.
Thanks in advance!
Mythran