-
Notifications
You must be signed in to change notification settings - Fork 367
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
SHFB: Error BE0065: BUILD FAILED: #73
Comments
The error message doesn't look complete. There should be more after the targets filename stating what the problem is. More likely than not it couldn't be found. Does the named file exist on the system on which you are doing the build? It may not be evaluating the import correctly. |
This is the complete log from the build job: |
As mentioned above, check the given file path and make sure the targets file actually exists there. Does it? If not, you may need to copy or install something that's missing. |
You probably have an old project-file, and upgraded to a newer Visual Studio. Maybe the project file is interpreted differently by Visual Studio, MSBuild and SHFB? Check your project file for the following line:
For Visual Studio 2013 the $(VSToolsPath) normally is
In your project file you may find
Normally the $(MSBuildExtensionsPath32) points to
MSBuild Reserved and Well-Known Properties |
This is the way a Windows 8.1 Class Library project is created in VS2015. To reproduce, just use New Project -> Class Library (Windows 8.1) Not a problem with upgrade or something. |
I agree with Guson's comment. This is only happening for upgraded projects. One easy way to fix this is, copy web applications folder from v12.0 to v11.0. from |
@EWSoftware the problem here is that |
@coldacid: SHFB doesn't set either of those explicitly. |
Any idea where they'd be set then? It's annoying having to hand-edit project files just to get my documentation built and then restore them afterwards, every time. If it's possible to explicitly set the values within the SHFB project to pass into MSBuild as part of the project configuration, that would be a good workaround for this whole issue, too. |
Since SHFB isn't setting them they're most likely inherited (I don't know from where) or they're undefined. If undefined and conditional, they're probably assuming the default value which is perhaps incorrect. You can try adding them to the SHFB project (they can be added using the User Defined Properties category) but don't be surprised if they don't get inherited by the loaded project. |
Looks like dotnet/msbuild#52 explains why this happens. Unfortunately using User Defined Properties doesn't help, but that MSBuild issue gave me the hint for the proper workaround for people facing this problem. The project file block <PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">12.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup> should be changed so that the condition for |
The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets"
I just installed SHFB today and I am stuck on this error. Did I miss installing a tool or setting dependencies? I am working with a VS 2013 project and SHFB correctly recognized this.
The text was updated successfully, but these errors were encountered: