Bug 56283 - [VS 2013 F#] Getting 'TypeProviderAssemblyAttribute' error when we deploy F# OpenGl (Android) app in Release mode
Summary: [VS 2013 F#] Getting 'TypeProviderAssemblyAttribute' error when we deploy F# ...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: 4.6.0 (15.3)
Hardware: PC Windows
: High critical
Target Milestone: 15.3
Assignee: Bugzilla
Depends on:
Reported: 2017-05-12 12:37 UTC by Sumanta Welekar
Modified: 2017-08-03 11:31 UTC (History)
7 users (show)

Is this bug a regression?: No
Last known good build:

TypeProviderAssemblyAttribute (901.67 KB, application/octet-stream)
2017-05-12 12:37 UTC, Sumanta Welekar

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:

Description Sumanta Welekar 2017-05-12 12:37:01 UTC
Created attachment 22122 [details]

When we try to deploy F# OpenGL (Android) app in Release mode on simulator it gives below error

The type provider 'c:\users\sumanata.welekar\documents\visual studio 2013\Projects\App1\packages\
reported an error: Assembly attribute 'TypeProviderAssemblyAttribute' refers to a designer assembly 
'Xamarin.Android.FSharp.ResourceProvider' which cannot be loaded or doesn't exist. Could not load file or assembly 'FSharp.Core, Version=, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.	FSC

##Reproducibility 100%

##Step to reproduce:-
1. Open File >> New >> Project
2. Click on F# >> Android >> OpenGL (Android)
3. Set Solution Configuration to Release
4. Build and deploy on simulator

Actual Result:- Getting 'TypeProviderAssemblyAttribute' error

Expected result:- Application should get build and deploy to simulator

Microsoft Visual Studio Ultimate 2013 Version 12.0.40629.00 Update 5
Microsoft .NET Framework Version 4.6.01590
More version details in below gist link


##Logs Attached
Comment 1 Sumanta Welekar 2017-06-23 06:56:07 UTC
Please provide us the build version for this fixed bug so that we can verified and closed it.
Comment 4 Neeraj Deshmukh 2017-07-12 06:55:25 UTC
Verified on Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Xamarin (9b1a9b2)
Xamarin.Android (a93c6f4)
Xamarin.iOS (bf350ba)
Gist: https://gist.github.com/nehaKh/e94fc0c72cda747c955e7425fc1eaf00