Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Visual Studio for Mac 2019 #1366

Closed
jzlhll opened this issue Apr 15, 2019 · 14 comments · Fixed by #1562
Closed

Support Visual Studio for Mac 2019 #1366

jzlhll opened this issue Apr 15, 2019 · 14 comments · Fixed by #1562
Milestone

Comments

@jzlhll
Copy link

jzlhll commented Apr 15, 2019

It's visualstudio 2019 for mac. When import 2.4.1, get warning required MonoDevelop.Core7.3 found:MonoDevelop.Core 8.0.2;
and the visual studio is blocking...

@cwensley cwensley changed the title While import Extensions get warning Support Visual Studio for Mac 2019 Apr 22, 2019
@cwensley
Copy link
Member

Hey @jzlhll, thanks for reporting the issue. The extension has not yet been updated to support Visual Studio 2019 (or MonoDevelop 8.0). This will be done soon, along with the 2.5 release.

@turbo
Copy link

turbo commented May 26, 2019

Sorry to be annoying about this, but can this be knocked out sooner than later? Is there something we can do to move this along (i.e. compile it ourselves - are there instructions?).

@turbo
Copy link

turbo commented May 26, 2019

For users needing to downgrade, while not supported by MS, older VSMac downloads can be found in the benefits section of MSDN: https://my.visualstudio.com/Downloads?q=visual%20studio%202017&wt.mc_id=o~msft~vscom~older-downloads

@KenjutsuGH
Copy link

For users needing to downgrade, while not supported by MS, older VSMac downloads can be found in the benefits section of MSDN: https://my.visualstudio.com/Downloads?q=visual%20studio%202017&wt.mc_id=o~msft~vscom~older-downloads

Can you install both versions side by side?

@SwiTool
Copy link

SwiTool commented Oct 1, 2019

For users needing to downgrade, while not supported by MS, older VSMac downloads can be found in the benefits section of MSDN: https://my.visualstudio.com/Downloads?q=visual%20studio%202017&wt.mc_id=o~msft~vscom~older-downloads

Can you install both versions side by side?

No you can't because when you install 2017 it tells you there's already an up-to-date version installed already.
Be careful to change .NET Runtime in Preferences > Project > .NET Runtimes to the previous Mono or you won't be able to restore packages.

@iwillreku3206
Copy link

For me, the above link, when opened, says that it cannot find subscriptions for me (attached is a screenshot of the page)
image

cwensley added a commit to cwensley/Eto that referenced this issue Jan 28, 2020
- Addin and preview now works on Mac again!
- Use Roslyn on both platforms for .eto.cs compilation
- Fix using netstandard assemblies. Fixes picoe#1552
- Fix issue on Mac where the preview controls would get the wrong size after an error was shown
- Fix issue with unknown properties in designer. Fixes picoe#1087
Fixes picoe#1366
Fixes picoe#1368
cwensley added a commit to cwensley/Eto that referenced this issue Jan 28, 2020
- Addin and preview now works on Mac again!
- Use Roslyn on both platforms for .eto.cs compilation
- Fix using netstandard assemblies. Fixes picoe#1552
- Fix issue on Mac where the preview controls would get the wrong size after an error was shown
- Fix issue with unknown properties in designer. Fixes picoe#1087
Fixes picoe#1366
Fixes picoe#1368
@cwensley
Copy link
Member

cwensley commented Jan 28, 2020

Addin for the latest VS can be downloaded here.

I'd really appreciate if someone could give it a whirl!

@didimitrie
Copy link

Beware of the noob testing things (that's me 🙇). Disclaimers aside, here's what I found so far:

Steps:

  • installed the adding for VS2019 mac.
  • opened the samples solution
  • then this happens:

image

Building any of the tutorials also fails with /Users/Bender/Documents/dev/Eto/src/Eto.Mac/AppDelegate.cs(7,7): Error CS0246: The type or namespace name 'MonoMac' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (Eto.Mac64)

I'll be digging today a bit more, including setting up eto apps via the addin provided templates. Not sure this is the right place to log this, feel free to point me in the right direction.

@didimitrie
Copy link

Update: the missing monomac.csproj files errors were because I forgot to clone the submodule too.

Tutorials from sample dir build fine now!

@didimitrie
Copy link

One more issue i've stumbled on: when creating a new eto app, and selecting as well a .netcore target:

image

the project won't build and it throws this error:

/usr/local/share/dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(5,5): Error NETSDK1005: Assets file '/Users/Bender/Documents/dev/Skunkworks/AccountsManager/AccountsManager/AccountsManager/obj/project.assets.json' doesn't have a target for '.NETStandard,Version=v2.0'. Ensure that restore has run and that you have included 'netstandard2.0' in the TargetFrameworks for your project. (NETSDK1005) (AccountsManager)

Tried looking for a fix, but it's beyond me. Works fine if .net core is unchecked.

@cwensley
Copy link
Member

@didimitrie thanks for the testing! It is very appreciated.

As for the error you're encountering there, I think it's an issue with VS for Mac when you mix projects with <TargetFrameworks> and <TargetFramework> (note the 's'). If you change the <TargetFramework>netstandard2.0</TargetFramework> to <TargetFrameworks>netstandard2.0</TargetFrameworks> in AccountsManager.csproj, it should work. I think I'll update the templates so it only uses <TargetFrameworks> for everything to avoid this issue.

@sfkleach
Copy link

Addin for the latest VS can be downloaded here.

I'd really appreciate if someone could give it a whirl!

The artefact is already missing ;(

@didimitrie
Copy link

@sfkleach, seems like they're still there-ish, albeit a bit more digging through the azure pipelines is needed -> this seems to be the latest.

@cwensley
Copy link
Member

BTW, 2.5.0 was released so you can get the official release here.

Give it a go and please file new issues for anything that you find to be broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants