Hi, when I try and run a test list from the command prompt with the runner I get the following error:
ProjectCompile: Compile failed: error CS2021: File name 'D:\AdTestProject\bin\.dll' is too long or invalid
Any ideas?????
5 Answers, 1 is accepted
0
Hi Andrew,
Could you please send me a screen shot how exactly do you run the test (the commands) via the command prompt?
Hope to hear from you soon.
Regards,
Boyan Boev
Telerik
Could you please send me a screen shot how exactly do you run the test (the commands) via the command prompt?
Hope to hear from you soon.
Regards,
Boyan Boev
Telerik
0
Andrew
Top achievements
Rank 1
Veteran
Iron
answered on 12 Jan 2016, 08:43 PM
Here is the screen shot
0
Hi Andrew,
The command seems to be correct.
Could you please send us the test project so we can review it and reproduce the issue.
If it is larger than 20 MB or it contains sensitive data I will provide you another way to send it to us.
Thank you!
Regards,
Boyan Boev
Telerik
The command seems to be correct.
Could you please send us the test project so we can review it and reproduce the issue.
If it is larger than 20 MB or it contains sensitive data I will provide you another way to send it to us.
Thank you!
Regards,
Boyan Boev
Telerik
0
Patrick
Top achievements
Rank 1
answered on 18 Jul 2017, 03:34 PM
I know this is an old post, but please post the solution(if any) that was found to remedy this. We have a similar issue running our scripts, that is currently remedied by cleaning and recompiling the solution(sometimes several times), in order to get the same source code to run.
0
Hi Patrik,
We have not worked on this item, because we expected some feedback to process it further.
If your case is the case as the initial screen shot, it seems the project has broken Assembly name reference - it says that "\.dll" file is invalid, with missing name of the assembly, which means the assembly name of the project cannot be resolved. Could it be due to source control state of project (having different versions of the project setting file in different locations and overwriting them in source control, thus breaking either one or another user working with it) or different people using Visual Studio and Test Studio with same project (because both resolve assemblies differently), etc.
Unfortunately it will be very hard to implement a blind fix for a project that gets broken randomly. Could you please send us a copy of the project that causes the problem when the issue appears again at your end?
For example If you start a run and get this error, please make a copy of the project and send it to us with few details what exactly did you do before that and how you run the tests.
Thank you for your cooperation,
Best Regards,
Daniel Djambov
Progress Telerik
We have not worked on this item, because we expected some feedback to process it further.
If your case is the case as the initial screen shot, it seems the project has broken Assembly name reference - it says that "\.dll" file is invalid, with missing name of the assembly, which means the assembly name of the project cannot be resolved. Could it be due to source control state of project (having different versions of the project setting file in different locations and overwriting them in source control, thus breaking either one or another user working with it) or different people using Visual Studio and Test Studio with same project (because both resolve assemblies differently), etc.
Unfortunately it will be very hard to implement a blind fix for a project that gets broken randomly. Could you please send us a copy of the project that causes the problem when the issue appears again at your end?
For example If you start a run and get this error, please make a copy of the project and send it to us with few details what exactly did you do before that and how you run the tests.
Thank you for your cooperation,
Best Regards,
Daniel Djambov
Progress Telerik