Build failed with 9.1
Build failed with 9.1
Hello,
since I installed Ranorex Studio 9.1 on my machine Windows 10 I cannot build succesfully.
The only information we found was in the Code analysis window:
"Cannot find FxCop - Make sure FxCop is installed"
What can I do?
Thank you in advance
since I installed Ranorex Studio 9.1 on my machine Windows 10 I cannot build succesfully.
The only information we found was in the Code analysis window:
"Cannot find FxCop - Make sure FxCop is installed"
What can I do?
Thank you in advance
Re: Build failed with 9.1
Hi,
Have you used FxCop previously? My guess is, that you installed it in the past (on another machine) and there are still left some references to FxCop in your solution? So you should either to remove FxCop references from the solution, or simply install FxCop on this new machine? FxCop is available as nuget package.
Have you used FxCop previously? My guess is, that you installed it in the past (on another machine) and there are still left some references to FxCop in your solution? So you should either to remove FxCop references from the solution, or simply install FxCop on this new machine? FxCop is available as nuget package.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Build failed with 9.1
No, I do'nt use FxCop.
My problem is that the build failed.
I only use the Cature&Replay option of Ranorex Studio. Where can I get more information, why the build failed. In the Output Window I cannot find an further information.
Or should I install FxCop for an successful build?
Thanks
My problem is that the build failed.
I only use the Cature&Replay option of Ranorex Studio. Where can I get more information, why the build failed. In the Output Window I cannot find an further information.
Or should I install FxCop for an successful build?
Thanks
Re: Build failed with 9.1
If you don't use FXCop, then the problem must be caused by something else? Build errors should be displayed in error window...
Do you see anything useful there?You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Build failed with 9.1
How do you know if the build failed? What does it say?
Re: Build failed with 9.1
I see only the attached file.
You do not have the required permissions to view the files attached to this post.
Re: Build failed with 9.1
And there is no useful information in Errors tab?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Build failed with 9.1
No.
Only same warnings 'Unbound variables'.
Only same warnings 'Unbound variables'.
Re: Build failed with 9.1
That’s weird. Unfortunately, without seeing your solution, it’s impossible to tell what’s wrong. I would suggest to completely uninstall and again install 9.1 (not simple reinstall over existing version).
BTW, have you tried to build an empty/newly created solution?
BTW, have you tried to build an empty/newly created solution?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Build failed with 9.1
The solution was to install .Net 4.6.2 SDK.
Thanks
Thanks
-
- Posts: 2
- Joined: Fri Jun 07, 2019 1:44 pm
Re: Build failed with 9.1
I'm also affected. I deleted the logs (in My Documents) and ran Rebuild Solution and this is all I got:
How do I increase the verbosity?
Code: Select all
2019-06-07 14:28:40.253| INFO|Ranorex.Studio|Start pr-building TestProj
2019-06-07 14:28:40.253| INFO|Ranorex.Studio|Start pr-building TestProj
2019-06-07 14:28:40.253| INFO|Ranorex.Studio|Finished pre-building TestProj, success=True
2019-06-07 14:28:40.343| INFO|Ranorex.Studio|Finished pre-building TestProj, success=True
2019-06-07 14:28:40.343| INFO|Ranorex.Studio|Start building TestProj
2019-06-07 14:28:41.836| INFO|Ranorex.Studio|Finished building TestProj, success=False
2019-06-07 14:28:41.836| INFO|Ranorex.Studio|Start building TestProj
2019-06-07 14:28:41.836| INFO|Ranorex.Studio|Finished building TestProj, success=False
-
- Posts: 2
- Joined: Fri Jun 07, 2019 1:44 pm
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Build failed with 9.1
Hi all,
You can increase the build output verbosity in the following way:
1. Go to "Tools"->"Options":
2. Then go to "Projects and solutions" and set the "Build verbosity" to "Diagnostic":
3. The output log will now be full of detailed information coming from MSBuild:
When searching the output, you will find this error:
C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1098,5): error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.6.2" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
Done executing task "GetReferenceAssemblyPaths" -- FAILED.
We are still trying to find out why some customers have this problem. However, installing the .Net 4.6.2 SDK has fixed the issue with all the customers that reported it.
Sincerely,
Tomaž
You can increase the build output verbosity in the following way:
1. Go to "Tools"->"Options":
2. Then go to "Projects and solutions" and set the "Build verbosity" to "Diagnostic":
3. The output log will now be full of detailed information coming from MSBuild:
When searching the output, you will find this error:
C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1098,5): error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.6.2" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
Done executing task "GetReferenceAssemblyPaths" -- FAILED.
We are still trying to find out why some customers have this problem. However, installing the .Net 4.6.2 SDK has fixed the issue with all the customers that reported it.
Sincerely,
Tomaž
-
- Posts: 5
- Joined: Tue Jun 09, 2020 3:56 pm
Re: Build failed with 9.1
Installing the .Net SDK also worked for me on this issue. Windows Server 2016