Bug 175 - MD fails to generate Makefiles for C#/.NET 4.0 projects
Summary: MD fails to generate Makefiles for C#/.NET 4.0 projects
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.6
Hardware: PC Linux
: --- major
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-08-04 04:02 UTC by Timo Dörr
Modified: 2011-09-24 07:48 UTC (History)
3 users (show)

Tags: makefile creation
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 or GitHub 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:
RESOLVED FIXED

Description Timo Dörr 2011-08-04 04:02:15 UTC
MD fails to generate Makefiles when activating Makefile usage on a project
using .NET/C# 4.0 Profile outputting following error:


Generating Makefiles for Solution Test2

Creating Makefile for Solution Test2

Creating Makefile for Project Test2

Creating Makefile for Project Test3

Makefiles could not be generated: . Cannot handle unknown runtime version
ClrVersion.'Net_4_0'.


Steps to reproduce:

1. Create new C# Hello World console solution
2. Add new project -> C# library
3. Double click newly added project, select Build->General and set target to
.net 4.0 profile
4. Select Makefile integration -> Enable makefile integration in this project
5. Click "Generate Makefile" in the popup dialog
6. Select "Simple Makefile" in the next popup

what happens: fails
what sould happens: makefiles should be generated successfully.
Comment 1 Tim Howard 2011-08-13 15:54:58 UTC
This worked on trunk for me. It was fixed by (aa7034b11a64086f8513).
Comment 2 Please Delete This Account 2011-09-23 20:13:35 UTC
I still have this exact same error on version 2.6 (Final) in Oneiric Beta 2.

1. Create new C# Hello World console solution
2. Select solution
3. Go to Project -> Generate Makefiles...
4. Choose Simple Makefiles or Autotools based makefile and then choose OK

For simple makefiles, what happens:
Makefiles could not be generated: . Cannot handle unknown runtime version ClrVersion.'Net_4_0'.

For autotools, what happens:
Autotools files could not be generated: . Cannot handle unknown runtime version ClrVersion.'Net_4_0'.
Comment 3 Please Delete This Account 2011-09-24 07:48:25 UTC
I have just downloaded and compiled 2.8 Beta 3 from trunk and can report that the issue is fixed in there. It seems that for some odd reason the fix wasn't included in the 2.6 final release that will be shipped coming months in every major distro.