-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NullReferenceException during test discover process #63
Comments
Hi Sergey, thanks for the report! Here are a couple of questions for the sake of narrowing down the cause:
|
Hi Christian!
|
Hi Sergey, thanks for the example solution! I have built that solution (although using v140_xp as toolset) and might have found the cause for your problems: Please run the test executable from the command line (which is always a good idea in case GTA has issues - see our trouble shooting section ;-) ). You will probably get windows dialogs complaining about missing dlls (in my case, However, this does not explain why our code produces a |
Thank you alot, Christian! I'm sorry for my inattention... It's all because of my environment settings, I can run executable from Visual Studio because I use Envirement option and I just forgot about it. I reproduced NullReferenceException. I attached modified solution. The NullReferenceException reason: not all dll dependencies satisfied. So I just added opencv_core310d.dll to build output directory. If I put other dll that needed to start application all is ok. |
Hi Sergey, no problem :-) I will try reproduce the NRE with your new solution soon... |
… efforts are taken to parse SourceFileLocations (#63)
* fix path for loc files * fix path to lcl files * mark vsix proj at not component * add common dynamic projects to setversion * fix path * remove unnecessary swix res and add option to set isproductcomonent for setup * check if property is set to true in microbuild before setting it * rename microbuild variable for clarity
When I build my test project:
The text was updated successfully, but these errors were encountered: