mfractor / mfractor-feedback

Found a bug or have a feature request for MFractor? Submit it here!
3 stars 0 forks source link

Incorrect Build Action on generated ViewModels #102

Closed lachlanwgordon closed 5 years ago

lachlanwgordon commented 5 years ago

Hi Matt, When I generate a View/ViewModel the ViewModel has the Build Action "None" when it should be "Compile". I found this when trying to add the view model as the binding context on the view. See Screenshots below.

My settings for generating the view and the view model screen shot 2019-02-22 at 1 32 26 pm

The default build action of the view model screen shot 2019-02-22 at 1 32 47 pm

The error I get when trying to use the view model with the wrong build action screen shot 2019-02-22 at 1 45 08 pm

The generated view model screen shot 2019-02-22 at 1 45 20 pm

Let me know if you need any more info or help testing.

Cheers, Lachlan

Installation Information

--Platform Information--
Operating System: Mac
OS Version: 10.14.3
--MFractor Information--
Product Name: MFractor
Product Version: 3.7.8
Product Variant: Visual Studio For Mac
Product SKU: MFRACTOR-VS-MAC
Commit SHA: 7383209af583722ca8fa90c447536c939a932e9b
Revision: 3075
Branch: master
Date: 17/02/2019 9:06:32 PM (UTC)
Agent: Local
--IDE Information--
Mono Version: 5.18.0.248 (2018-08/a4956c837e1)
Runtime Version: 7.7.4.1
IDE Version: 7.7.4.1
IDE Product is: Visual Studio
Installed addins:
    'Brute Clean', 'MFractor', 'Color Helper Addin', '.Net Core Debugger', 'Razor Language Services', 'Web Editors', 'Web Project Support', 'ASP.NET Core Support', 'MonoDevelop Assembly Browser', 'Makefile generation', 'Azure Functions development', 'CSharp Language Binding', 'ChangeLog Add-in', 'ConnectedServices', 'Debugger support for MonoDevelop', 'Mono Soft Debugger Support', 'Mono Soft Debugger Support for ASP.NET', 'VsCode Debug Protocol support for MonoDevelop', 'Deployment Services Core', 'Deployment Services for Linux', 'Visual Designer Support', 'DocFood', 'Container Tools', '.NET Core Support', 'F# Language Binding', 'Gettext Translations Support', 'GTK# Visual Designer', 'MonoDevelop Hex Editor', 'ILAsm Language Binding', 'iOS development', 'Mac Development', 'MonoDevelop Mac Platform Support', 'Android development', 'IDE Extensions for developers of the Mono framework', 'Xamarin.Mac development', 'NuGet Package Management', 'NuGet Packaging', 'Performance Diagnostics of IDE', 'Refactoring Support', 'Regex Toolkit', 'MonoDevelop Source Editor', 'Test Runner', 'Text Templating', 'Unit Testing core support', 'NUnit support', 'Visual Studio for Mac Tools for Unity', 'VB.NET Language Binding', 'Version Control Support', 'Git support', 'Subversion core engine', 'Subversion support', 'Project Web References', 'Xamarin Ide Extensions', 'Xamarin Ide Extensions for Mac', 'XML Editor', 'Android Designer', 'Azure Mobile App Service', 'Azure Support', 'Xamarin Designer', 'Forms Project Support', 'Forms Previewer', 'Xamarin Ide Identity', 'Xamarin Ide Insights', 'Xamarin Inspector Support', 'Xamarin Live Player', 'Xamarin Test Cloud', 'Xamarin Test Cloud - NUnit', 'iOS Designer'
matthewrdev commented 5 years ago

Thanks for reporting this Lachlan. This has been fixed and will be available in the next release (3.7.9).

matthewrdev commented 5 years ago

Fixed and available in 3.7.9.