Msbuild Fail Visual Studio For Mac

Msbuild Fail Visual Studio For Mac

Join GitHub today

The Code Analysis functionality in Visual Studio (2012 at least, I haven't tested other versions) outputs warnings in a format that the warnings plugin fails to detect. MSBuild 4.0 or Visual Studio 2010 may fail to compile a 32-bit application targeted for.Net Framework 3.5, 3.0 or 2.0 on x64 machine. Content provided by Microsoft. You are building an application targeted for x86 configuration on x64 machine with Visual Studio 2010. The project contains a resource file referencing a 32-bit assembly. Visual Studio for Mac. Value causes our build process to fail. Our build process runs msbuild with some arguments. Visual Studio 2017 Enterprise MSBuild.

GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Msbuild Fail Visual Studio For MacSign up 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

Comments

commented Jun 13, 2018

Build fails when using VS for Mac.
Use the following solution named:
eShopOnContainers-ServicesAndWebApps.sln

Build error:
yaml.scanner.ScannerError: while scanning a simple key
in '/Development/dotnet/eShopOnContainers/obj/Docker/docker-compose.vs.debug.g.yml', line 113, column 1
could not find expected ':'

That file is auto-generated by VS for Mac… this could be a bug in VS for Mac?

I reported it to the VS Tooling for Docker team and it is being researched.

Possible Bug in VS for Mac opened by Lisa Guthrie
Bug 633193: [VS for Mac] eShop fails to build on Mac - Internal VSTS from DevDiv team.

changed the titleBuild fails on Visual Studio for MacJun 15, 2018

commented Jun 16, 2018

Having the same issue here

commented Jun 20, 2018

Same here, following...

commented Jun 24, 2018

I am having to same issues on Mac VS both the stable version and I tried the beta channel with the same results.

Closed

commented Aug 9, 2018

Same here. Is there a workaround aside from building and pushing images manually?

commented Feb 27, 2019

Only workaround I can think of is a silly one, which is having 2 .sln files with mostly duplicate projects, one of them without the .dcproj projects.

(BTW, please use 👍on the main issue to indicate you also have it instead of adding a comment. It allows viewers to see a number in front of it, and hopefully prioritize it)

Microsoft Visual Studio For Mac

commented Apr 4, 2019
edited

Msbuild fail visual studio for mac unknown

I tested this on Visual Studio 2019 for Mac release (Version 8.0) and it worked out of the box with the default .sln file.
@CESARDELATORRE I will close this issue now. Feel free to reopen if this is still an issue.

Visual Studio Msbuild Path

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment