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

Notification

Icon
Error

app.ico not being copied in C++/CLI DLL project
willdean
#1 Posted : Friday, December 6, 2013 11:37:05 AM(UTC)
Rank: Member

Groups: Registered
Joined: 1/31/2012(UTC)
Posts: 27
Location: England

Thanks: 7 times
Was thanked: 2 time(s) in 2 post(s)
Running 2.1 (though I don't think it's a new problem), with VS2013.

Create a C++ CLR class library project
The new project will include a default app.ico (the file is present and included in the project)
nCrunch will fail to build the project, because app.ico is missing in the nCrunch temp workspace

The VCXPROJ file includes the app.ico file like this:

<ItemGroup>
<Image Include="app.ico" />
</ItemGroup>

Is it possible that items of type 'Image' are not being copied by nCrunch?

I can send the whole project if you need it, though it's unaltered from creation in VS, so it shouldn't be too hard to repro.

Thanks,

Will

Remco
#2 Posted : Friday, December 6, 2013 12:22:46 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Hi Will -

Thanks for picking up on this one. NCrunch doesn't have the <Image> item in its auto configuration list. I've just made a note to add it in. You can work around this by adding the file to your 'Additional files to include' setting.

Cheers,

Remco
willdean
#3 Posted : Friday, December 6, 2013 1:37:55 PM(UTC)
Rank: Member

Groups: Registered
Joined: 1/31/2012(UTC)
Posts: 27
Location: England

Thanks: 7 times
Was thanked: 2 time(s) in 2 post(s)
Remco;4903 wrote:
Hi Will -

Thanks for picking up on this one. NCrunch doesn't have the <Image> item in its auto configuration list. I've just made a note to add it in. You can work around this by adding the file to your 'Additional files to include' setting.


Thanks! I worked around it by deleting the icon... It's only a test helper dll anyway.

Regards,

Will


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.024 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download