Crunch
About
Pricing
Documentation
News
Support
Download
Customer Login
Welcome Guest! To enable all features please
Login
or
Register
.
Forum
Active Topics
Search
Login
Register
Notification
Error
OK
NCrunch Forum
»
General Support
»
Build/Test Issues
»
Avalonia Build Failure -- InitializeComponent
Avalonia Build Failure -- InitializeComponent
Options
Previous Topic
Next Topic
kpspence
#1
Posted :
Thursday, September 7, 2023 1:59:18 AM(UTC)
Rank: Newbie
Groups: Registered
Joined: 11/18/2022(UTC)
Posts: 5
Location: United States of America
Was thanked: 2 time(s) in 2 post(s)
I cannot figure out why this project builds and runs fine in visual studio but fails to build in ncrunch. Below are the only logs:
NCrunch: If you are experiencing problems in getting this project to build, have a look at
http://www.ncrunch.net/d...ng_project-build-issues
Views\MainView.axaml.cs (9, 9): The name 'InitializeComponent' does not exist in the current context
Back to top
User Profile
View All Posts by User
View Thanks
Remco
#2
Posted :
Thursday, September 7, 2023 7:31:24 AM(UTC)
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,144
Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi, thanks for posting.
We haven't put in place any integration with Avalonia. My best guess would be that this is being caused by a malfunctioning build step or a file that isn't being picked up by NCrunch.
Could you try
compatibility mode
and let me know if this makes any difference for you?
Back to top
User Profile
View All Posts by User
View Thanks
kpspence
#3
Posted :
Thursday, September 7, 2023 1:17:08 PM(UTC)
Rank: Newbie
Groups: Registered
Joined: 11/18/2022(UTC)
Posts: 5
Location: United States of America
Was thanked: 2 time(s) in 2 post(s)
Unfortunately, the compatibility mode settings did not make any difference.
However, I did find that the root cause is that the .axaml files are not being copied to the ncrunch build folder. I manually added **.axaml files it works.
Back to top
1 user thanked kpspence for this useful post.
Remco
on 9/7/2023(UTC)
User Profile
View All Posts by User
View Thanks
Users browsing this topic
Guest
NCrunch Forum
»
General Support
»
Build/Test Issues
»
Avalonia Build Failure -- InitializeComponent
Forum Jump
General Support
- Setup Problems
- Build/Test Issues
- Daily Usage Issues
Crunch Discussion
- General Feedback
- Feature Suggestions
General Discussion
- General Discussion
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.
Watch this topic
Email this topic
Print this topic
» Normal
Threaded
YAF
|
YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.025 seconds.
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download