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# ...
Status: VERIFIED FIXED
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
URL:
Depends on:
Blocks:
 
Reported: 2017-05-12 12:37 UTC by Sumanta Welekar
Modified: 2017-08-03 11:31 UTC (History)
7 users (show)

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


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


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 Sumanta Welekar 2017-05-12 12:37:01 UTC
Created attachment 22122 [details]
TypeProviderAssemblyAttribute

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

##Error
The type provider 'c:\users\sumanata.welekar\documents\visual studio 2013\Projects\App1\packages\
Xamarin.Android.FSharp.ResourceProvider.1.0.0.13\lib\Xamarin.Android.FSharp.ResourceProvider.Runtime.dll' 
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=4.4.0.0, 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

##Enviornment
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
https://gist.github.com/SumantaWelekar/bb67f31274f6507a50a04129f672c52e

##Screen-Cast
https://www.screencast.com/t/crzTJ525a

##Logs Attached
TypeProviderAssemblyAttribute
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   4.6.0.289 (9b1a9b2)
Xamarin.Android   7.4.0.15 (a93c6f4)
Xamarin.iOS   10.12.0.14 (bf350ba)
Gist: https://gist.github.com/nehaKh/e94fc0c72cda747c955e7425fc1eaf00