Build/Test Issues

NCrunch build fails when project contains an app.manifest

Started by Balfa on 7,353 views

Hi, I have an application that's failing to build in NCrunch.

I get the following error in the NCrunch Tests pane:

NCrunch: If you are experiencing problems in getting this project to build, have a look at https://www.ncrunch.net/documentation/troubleshooting_project-build-issues

c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets (2580): Unable to read manifest 'Properties\app.manifest'. Could not find file 'C:\Users\balfa\AppData\Local\NCrunch\4956\30\SetupFramework\AssembledSetupApp\Properties\app.manifest'.


Based on helpful advice at https://www.ncrunch.net/documentation/troubleshooting_project-build-issues I've been able to fix the problem by adding it to the AdditionalFilesToInclude property, however, from reading http://forum.ncrunch.net/yaf_postst117_NCrunch-build-fails-when-WPF-project-has-a-SplashScreen-image.aspx it seems as though you appreciate information to help make NCrunch more robust, so here's the .csproj line that references the file:

<BaseApplicationManifest Include="Properties\app.manifest" />


Also, earlier in the .csproj file, there exists the following:

<PropertyGroup>
    ...
    <ManifestCertificateThumbprint>7DB1B67A557CA976096F99FC1904BEFD1A340D3E</ManifestCertificateThumbprint>
    <ManifestKeyFile>AssembledSetupApp_TemporaryKey.pfx</ManifestKeyFile>
    <GenerateManifests>true</GenerateManifests>
    <SignManifests>true</SignManifests>
    ...
</PropertyGroup>



Thanks for the excellent excellent excellent tool!
Nice one! Thanks for letting me know about these. I'll add them to the autoconfiguration list.

Post a reply

Log in to reply.