Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

NCrunch build fails when project contains an app.manifest
Balfa
#1 Posted : Wednesday, December 7, 2011 10:03:13 PM(UTC)
Rank: Member

Groups: Registered
Joined: 12/7/2011(UTC)
Posts: 14
Location: Dallas

Thanks: 2 times
Was thanked: 2 time(s) in 2 post(s)
Hi, I have an application that's failing to build in NCrunch.

I get the following error in the NCrunch Tests pane:

Code:
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/...ng_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...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:

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


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

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



Thanks for the excellent excellent excellent tool!
Remco
#2 Posted : Thursday, December 8, 2011 12:13:34 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 930 times
Was thanked: 1257 time(s) in 1170 post(s)
Nice one! Thanks for letting me know about these. I'll add them to the autoconfiguration list.
1 user thanked Remco for this useful post.
Balfa on 12/8/2011(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.029 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download