Bug 16934 - Can not build project when a project file is missing (ie: warning icon on an image file)
Summary: Can not build project when a project file is missing (ie: warning icon on an ...
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 1.8.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Dominique Louis
URL:
Depends on:
Blocks:
 
Reported: 2013-12-22 03:50 UTC by softlion
Modified: 2014-03-27 06:40 UTC (History)
7 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description softlion 2013-12-22 03:50:19 UTC
When a project file is missing, but still referenced in the project, visual studio displays it with a warning icon.
My project file has the action "BundleResource".

When building the project using CTRL+F5 to deploy it to the simulator, no error is displayed and nothing happens.

You should either:
- display an error message
- buid the project, ignoring the missing file (preferred)
Comment 1 Marek Habersack 2014-01-02 06:20:06 UTC
The current beta of Xamarin.iOS for VS (1.10) shows a better error message. We mustn't ignore such references, however. The bundled resources must exist.
Comment 2 narayanp 2014-03-27 06:40:32 UTC
I have checked this issue with following builds:

All Windows
Xamarin.VisualStudio_Setup-1.99.396

When file is missing which is referenced in project and user build the project, it is giving build error 'Resource file name not found on disk.....'